db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Van Couvering <David.Vancouver...@Sun.COM>
Subject Re: Too many jar files
Date Wed, 30 Mar 2005 22:52:37 GMT
OK, I thought that may be the case.  I didn't mention it because I 
thought we were worried about memory footprint, not on-disk footprint, 
but I guess in smaller devices both are important.

Do we have any clear requirements about the maximum footprint of Derby?  
What are the other constraints we should be aware of so we don't cause 
problems for the small device target of Derby?  How strict are these 
constraints -- will features/fixes that have a big impact on the overall 
footprint of Derby generally be vetoed?  I guess this is one of the 
motivations for the highly modular architecture and the ability to load 
only specific modules at runtime...



myrna wrote:

> David Van Couvering wrote:
>> Hi, Myrna.  I scanned through the docs you mention, but I can't find 
>> anything that says each locale requires its classes to be in a 
>> separate jar file.  It *does* talk about having lots of smaller 
>> resource bundles, and how you have a group of resource bundles that 
>> follow a naming pattern so that they are loaded based on the current 
>> locale.  But all these resource bundles, as far as I can see, can all 
>> go into a single JAR file.   Knowing what I do about Java and 
>> classloading, I can't see what difference it could make.  But it's 
>> more than likely I am missing something :)
>> Another data point for me is: I have worked with a lot of other 
>> internationalized Java products, and these folks all seem to have 
>> their resource bundles embedded in their main jar files, regardless 
>> of how many locales they support.  I also did a general Google for 
>> this topic, and couldn't find anything about having to have a 
>> separate jar file for each locale.
>> Can you point me to the place where it says specifically that each 
>> locale needs its own jar file?
>> Thanks!
>> David
> Ah, now I see what you're saying - just lob all locale files (they're 
> not classes) together into 1 jar. I am not sure about this, but I 
> would think that it was done to minimize footprint/size of jar - if 
> you know you'll be working in Italian only you wouldn't care about 
> having any other locale files sitting around.
> But maybe someone else can explain for sure.
> Myrna

View raw message