GlassFish V3 Embedded Mode : How to run applications that use Security
Embedded GlassFish v3 is a delivery vehicle of GFv3 so that applications and tools can use GFv3 just as a library, inside their JVM. More details on this can be found on the separate project page that has been created for Embedded GlassFish.
One would thus expect that even secure applications which use security annotations on an EJB or security-constraints in a web application to work on the Embedded Server. My team member Nithya has created two posts which show