The Java EE 6 Tutorial, Volume I

Sun GlassFish Enterprise Server v3

Sun GlassFish Enterprise Server v3 is a compliant implementation of the Java EE 6 platform. In addition to supporting all the APIs described in the previous sections, the Enterprise Server includes a number of Java EE tools that are not part of the Java EE 6 platform but are provided as a convenience to the developer.

This section briefly summarizes the tools that make up the Enterprise Server. Instructions for starting and stopping the Enterprise Server, starting the Admin Console, and starting and stopping the Java DB database server are in Chapter 2, Using the Tutorial Examples.


The Enterprise Server contains the tools listed in Table 1–1. Basic usage information for many of the tools appears throughout the tutorial. For detailed information, see the online help in the GUI tools.

Table 1–1 Enterprise Server Tools



Admin Console

A web-based GUI Enterprise Server administration utility. Used to stop the Enterprise Server and manage users, resources, and applications. 


A command-line Enterprise Serveradministration utility. Used to start and stop the Enterprise Server and manage users, resources, and applications. 


A command-line tool that launches the application client container and invokes the client application packaged in the application client JAR file. 


A command-line tool to extract schema information from a database, producing a schema file that the Enterprise Server can use for container-managed persistence. 


A command-line tool to package the application client container libraries and JAR files. 

Java DB database

A copy of the Java DB database server. 


A command-line tool to transform, or bind, a source XML schema to a set of JAXB content classes in the Java programming language. 


A command-line tool to create a schema file for each namespace referenced in your Java classes. 


A command-line tool to generate JAX-WS portable artifacts for a given WSDL file. After generation, these artifacts can be packaged in a WAR file with the WSDL and schema documents along with the endpoint implementation and then deployed. 


A command-line tool to read a web service endpoint class and generate all the required JAX-WS portable artifacts for web service deployment and invocation.