Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Packages and resources


  • From: Andrea.Vicentini@xxxxxxxxxxx (Andrea Vicentini)
  • Subject: Packages and resources
  • Date: Tue, 29 Feb 2000 08:31:17 +0100



  Hi all!
1) a base-theorethical question about packages: in my application, I have a few
high-level packages, with name "com.<company>.<project>." + "foundation",
"model", "logic", "application", and so on.
When does it make sense to create sub-packages under this
"first-level-package"? Is there any rule of thumb?
For example, does it make sense to create an "exceptions" package under
"foundation" to hold the 2 or 3 exception classes of the foundation?

2) regarding packages: I would like to create packages containing (for example)
configuration files. Is it then possible to access those resources in a
comfortable way? Is there any getResource() method with this meaning?
I've tried with the ClassLoader.getResource method, but my ClassLoader is null
(I'm not using applets). I'm using a JDK1.1.

  Thanks in advance.


BRAIN Development GmbH
Andrea Vicentini
System Engineer e-Business

Phone:    +49 (7151) / 602-332
Fax:      +49 (7151) / 602-372
Internet: http://www.brainag.com
e-mail:        andrea.vicentini@xxxxxxxxxxx
     a_vicentini@xxxxxxxxxxx



---
To unsubscribe, mail advanced-java-unsubscribe@xxxxxxxxxxxxxxxx
To get help, mail advanced-java-help@xxxxxxxxxxxxxxxx