users@glassfish.java.net

Re: Embedded EJBContainer and Embedded Glassfish

From: Sahoo <sanjeeb.sahoo_at_oracle.com>
Date: Tue, 17 May 2011 06:36:37 +0530

On Tuesday 17 May 2011 06:21 AM, Laird Nelson wrote:
>
> Embedded Glassfish gives you the whole Glassfish server running in a
> single classloader.
You should not make this assumption about class loaders. There are
various flavours of embedded glassfish and not all meet the above
criteria. e.g., one can embed glassfish in their program that looks and
behaves exactly like standalone glassfish with many class loaders. So,
overall, embedded glassfish gives a programmer the ability to embed
GlassFish inside their existing JVM and access its services via an API.

Sahoo