arch@glassfish.java.net

Re: [arch] Some follow-up proposals and questions after the app client container review

From: Fabian Ritzmann <Fabian.Ritzmann_at_Sun.COM>
Date: Mon, 23 Feb 2009 13:44:41 +0200

On 22. Feb 2009, at 20:31, Bill Shannon wrote:
> Tim Quinn wrote:
>> One-JAR http://one-jar.sourceforge.net/index.php?page=introduction&file=intro
>> and http://www.ibm.com/developerworks/java/library/j-onejar/
>> constructs, before the user's code starts, an in-memory mapping
>> from each class and resource name in all bundled JARs to the byte[]
>> for the class or resource. One-JAR's custom class loader retrieves
>> the pre-loaded byte code from the map.
>> Seems OK for relatively small apps with relatively small supporting
>> libraries, but could be a memory hog and suffer slow start-up for
>> larger programs or libraries. I haven't found any performance
>> information on One-JAR on-line.
>
> That looks like the one I was thinking of.

Uberjar was the first project in that realm and has a reputation of
being slow [1]:
http://classworlds.codehaus.org/uberjar.html

Fabian

[1] I don't know if that is a fact or just rumor.

-- 
Fabian Ritzmann
Sun Microsystems, Inc.
Stella Business Park             Phone +358-9-525 562 96
Lars Sonckin kaari 12            Fax   +358-9-525 562 52
02600 Espoo                      Email Fabian.Ritzmann_at_Sun.COM
Finland