6/6

# 3 Frequently Asked Questions

This chapter lists a few of the Frequently Asked Questions (FAQs) related to Oracle GlassFish Server 3.1.2. For the latest FAQs, see the GlassFish wiki at `http://wikis.sun.com/display/GlassFish/GlassFishFAQIndex`.

This chapter contains the following:

- Administration FAQs

- Application FAQs

- Eclipse FAQs

- Extensibility FAQs

- Java Persistence FAQs

- Update Tool FAQs

## Administration FAQs

### Which `asadmin` Commands are Supported?

Use `asadmin` `list-commands` to determine which commands are supported and available for use. For related information, see "Subcommands for the asadmin Utility" in Oracle GlassFish Server Administration Guide.

## Application FAQs

### How Do I Debug Applications?

See "Debugging Applications" in Oracle GlassFish Server Application Development Guide.

### How Do I Change Application Permissions?

See "Changing Permissions for an Application" in Oracle GlassFish Server Application Development Guide.

### What Are the Restrictions and Optimizations for Session Beans?

See "Session Bean Restrictions and Optimizations" in Oracle GlassFish Server Application Development Guide.

## Eclipse FAQs

### Where Can I Find More Information About Eclipse and GlassFish Server Integration?

Eclipse is a development environment that provides a framework, tools, and runtime for deploying and managing software. The GlassFish plugin for Eclipse provides important changes to better support GlassFish Server and to provide optimal redeployment of web applications. For more information, see the GlassFish Plugins page: `http://glassfishplugins.java.net`.

## Extensibility FAQs

### How Do I Develop Add-On Components?

See the Oracle GlassFish Server Add-On Component Development Guide for complete details.

### How Do I Add Containers?

GlassFish Server has a highly modular architecture that enables you to add new types of containers that handle many application types, not just Java EE. GlassFish Server defines a service provider interface (SPI), which container developers implement. The GlassFish Server framework then invokes the container's implementation of the SPI to detect, deploy, and manage applications of the new type.

For more information, see "Adding Container Capabilities" in Oracle GlassFish Server Add-On Component Development Guide.

### How Do I Extend the Administration Console?

See "Extending the Administration Console" in Oracle GlassFish Server Add-On Component Development Guide.

## Java Persistence FAQs

### What Are the Restrictions and Optimizations for the Java Persistence API?

See "Restrictions and Optimizations" in Oracle GlassFish Server Application Development Guide.

## Update Tool FAQs

### How Do I Use Update Tool to Extend My GlassFish Server Installation?

Enterprise Server provides an administrative tool called Update Tool that enables you to install updates and add-on components to your existing Enterprise Server installation.

Update Tool can be accessed as a standalone graphical tool from the command line (using the `updatetool` command from as-install-parent`/bin`), or as a browser-based graphical tool from the Administration Console (using the Update Tool node). For more information about Update Tool, see "Update Tool" in Oracle GlassFish Server Administration Guide.

Note:

To update or remove installed components, you must use the standalone graphical Update Tool, not the Administration Console Update Tool.

A command-line interface is also available for Update Tool. This interface uses the `pkg` command and enables you to perform most of the tasks provided by the standalone graphical version. For more information about the `pkg` command, see "Extending and Updating GlassFish Server" in Oracle GlassFish Server Administration Guide.

Note:

Update Tool differs from Upgrade Tool, which is used to migrate the configuration and deployed applications from an earlier version of GlassFish Server to the current version. For more information about Upgrade Tool and upgrading, see the Oracle GlassFish Server Upgrade Guide.

### How Do I Turn Off the Notifier?

Update Tool provides automatic notifications of available updates after installation. These notifications can be turned off if desired.

#### To Turn Off the Notifier

1. Launch the standalone graphical tool using the `updatetool` command:

       as-install-parent/bin/updatetool

2. Click Preferences.

3. Click the Updates tab.

4. Deselect Automatically Check for Updates and click OK.