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