Hi Alexis
On 10 November 2010 23:43, Alexis Moussine-Pouchkine <
alexis.moussine-pouchkine_at_oracle.com> wrote:
>
> On 10 nov. 2010, at 20:26, forums_at_java.net wrote:
> > 3. How does glassfish know which container, services ... it must active
> > / start?
>
> It's smart! :)
> It depends on the artifacts you deploy. A WAR file will require the web
> container for instance, for JARs it decides based on deployment descriptors
> whether it's an EJB, a library or an ACC archive. Sniffers are responsible
> for this logic.
> There is also the special case of OSGi bundles that can be deployed using
> "asadmin deploy --type osgi" to explicitly target the OSGi runtime.
> In any case, GlassFish is auto-adaptative and there is no need to cut a
> "profile" upfront with a specific set of features.
>
GlassFish is so cool :)
Is there any good document / tutorials on using OSGi for my Java-EE
applications in GlassFish ?
thanks
Richard.