dev@glassfish.java.net

Re: Headsup : change in v3 file structure

From: Jerome Dochez <Jerome.Dochez_at_Sun.COM>
Date: Tue, 15 Jan 2008 11:31:44 -0800

On Jan 15, 2008, at 2:51 AM, Sahoo wrote:

> Jerome,
>
> Does shared class loader have visibility to Java EE and GlassFish
> public APIs? Else how will this work when a library jar, as it most
> often does, depends on Java EE APIs or GlassFish public APIs?

no so far they don't. only applications have visibility to the java ee
apis. This could change of course if we feel the need. As for the
glassfish public APIs, so far I want to encourage people to make their
libraries HK2 modules so they just need to import them.


>
>
> Thanks,
> Sahoo
>
> Jerome Dochez wrote:
>> Hi All
>>
>> All modules and jar files in V3 have moved from lib to modules
>> directory. Soon any files located in lib will be automatically
>> added to the shared class loader. This change is for compatibility
>> reasons, we have a lot of documentation out there, blogs, forums
>> entries that talk about placing a jar file inside the glassfish lib
>> directory and it would be picked up automatically.
>>
>> In v3, with modularization, things are different of course, we
>> could not take the current lib content and place it on the shared
>> class path. Instead we moved all new modules and jars to a new
>> directory called modules and we are leaving the lib directory empty.
>>
>> As users will place jar files in the lib directories, we will
>> retain the old behaviour of adding such jars to the shared class
>> path.
>>
>> to start V3, you need to do now one of the two thing :
>> java -jar modules/glassfish-10.0-SNAPSHOT.jar
>> asadmin start-domain.
>>
>> I have updated the wiki with the relevant information.
>>
>> Contact me for any issues/concerns.
>>
>> thx, jerome
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>