JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle GlassFish Server 3.1 Embedded Server Guide
search filter icon
search icon

Document Information

Preface

Oracle GlassFish Server 3.1 Embedded Server Guide

Introduction to Embedded GlassFish Server

Embedded GlassFish Server File System

Installation Root Directory

Instance Root Directory

The domain.xml File

Including the GlassFish Server Embedded Server API in Applications

Setting the Class Path

Creating, Starting, and Stopping Embedded GlassFish Server

Creating and Configuring an Embedded GlassFish Server

Running an Embedded GlassFish Server

Setting the Port of an Embedded GlassFish Server From an Application

Starting an Embedded GlassFish Server From an Application

Stopping an Embedded GlassFish Server From an Application

Deploying and Undeploying an Application in an Embedded GlassFish Server

To Deploy an Application From an Archive File or a Directory

Undeploying an Application

Creating a Scattered Archive

Creating a Scattered Enterprise Archive

Running asadmin Commands Using the GlassFish Server Embedded Server API

Sample Applications

Using the EJB 3.1 Embeddable API with Embedded GlassFish Server

To Use the EJB 3.1 Embeddable API with Embedded GlassFish Server

EJB 3.1 Embeddable API Properties

Default Java Persistence Data Source for Embedded GlassFish Server

Index

Default Java Persistence Data Source for Embedded GlassFish Server

The jdbc/__default Java DB database is preconfigured with Embedded GlassFish Server. It is used when an application is deployed in Embedded GlassFish Server that uses Java Persistence but doesn't specify a data source. Embedded GlassFish Server uses the embedded Java DB database created in a temporary domain that is destroyed when Embedded GlassFish Server is stopped.

By default, weaving is enabled when the GlassFish Server Embedded Server API is used. To disable weaving, set the org.glassfish.persistence.embedded.weaving.enabled property to false.