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

Document Information


Part I Development Tasks and Tools

1.  Setting Up a Development Environment

Installing and Preparing the Server for Development

High Availability Features

Development Tools

The asadmin Command

The Administration Console

The Migration Tool

The NetBeans IDE

The Eclipse IDE

Debugging Tools

Profiling Tools

Sample Applications

2.  Class Loaders

3.  Debugging Applications

Part II Developing Applications and Application Components

4.  Securing Applications

5.  Developing Web Services

6.  Using the Java Persistence API

7.  Developing Web Applications

8.  Using Enterprise JavaBeans Technology

9.  Using Container-Managed Persistence

10.  Developing Java Clients

11.  Developing Connectors

12.  Developing Lifecycle Listeners

13.  Developing OSGi-enabled Java EE Applications

Part III Using Services and APIs

14.  Using the JDBC API for Database Access

15.  Using the Transaction Service

16.  Using the Java Naming and Directory Interface

17.  Using the Java Message Service

18.  Using the JavaMail API


Development Tools

The following general tools are provided with the GlassFish Server:

The following development tools are provided with the GlassFish Server or downloadable from Oracle:

The following third-party tools might also be useful:

The asadmin Command

The asadmin command allows you to configure a local or remote server and perform both administrative and development tasks at the command line. For general information about asadmin, see the Oracle GlassFish Server 3.1-3.1.1 Reference Manual.

The asadmin command is located in the as-install/bin directory. Type asadmin help for a list of subcommands.

The Administration Console

The Administration Console lets you configure the server and perform both administrative and development tasks using a web browser. For general information about the Administration Console, click the Help button in the Administration Console. This displays the GlassFish Server online help.

To access the Administration Console, type http://host:4848 in your browser. The host is the name of the machine on which the GlassFish Server is running. By default, the host is localhost. For example:


The Migration Tool

The Migration Tool converts and reassembles Java EE applications and modules developed on other application servers. This tool also generates a report listing how many files are successfully and unsuccessfully migrated, with reasons for migration failure. For more information and to download the Migration Tool, see

The NetBeans IDE

The NetBeans IDE allows you to create, assemble, and debug code from a single, easy-to-use interface. The GlassFish edition of the GlassFish Server is bundled with the NetBeans 6.1 IDE. To download the NetBeans IDE, see This site also provides documentation on how to use the NetBeans IDE with the bundled GlassFish edition of the GlassFish Server.

You can also use the GlassFish Server with the Java Studio Enterprise software, which is built on the NetBeans IDE. For more information, see

The Eclipse IDE

A plug-in for the Eclipse IDE is available at This site also provides documentation on how to register the GlassFish Server and use GlassFish Server deployment descriptors.

Debugging Tools

You can use several debugging tools with the GlassFish Server. For more information, see Chapter 3, Debugging Applications.

Profiling Tools

You can use several profilers with the GlassFish Server. For more information, see Profiling Tools.