Embedded Oracle GlassFish Server enables you to use GlassFish Server as a library. Embedded GlassFish Server also enables you to run GlassFish Server inside any Virtual Machine for the JavaTM platform (Java Virtual Machine or JVMTMmachine).
No installation or configuration of embedded GlassFish Server is required. The ability to run GlassFish Server inside applications without installation or configuration simplifies the process of bundling GlassFish Server with applications.
Embedded GlassFish Server does not run on the Java Platform, Micro Edition (Java ME platform).
You can use embedded GlassFish Server in the following ways:
Embedded GlassFish Server provides a plug-in for Apache Maven. This plug-in simplifies the testing of applications by enabling you to build an application and run it with GlassFish Server on a single system. Testing and debugging are simplified because the need for an installed and configured GlassFish Server is eliminated. Therefore, you can run unit tests automatically in every build.
Using Embedded GlassFish Server does not involve any use of OSGi technology.