Frequently Asked Questions

Previous Contents

3 Frequently Asked Questions

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

This chapter contains the following:

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 GlassFish Server Open Source Edition Administration Guide.

Application FAQs

How Do I Debug Applications?

See "Debugging Applications" in GlassFish Server Open Source Edition Application Development Guide.

How Do I Change Application Permissions?

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

What Are the Restrictions and Optimizations for Session Beans?

See "Session Bean Restrictions and Optimizations" in Eclipse 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?

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 Eclipse GlassFish Server Add-On Component Development Guide.

How Do I Extend the Administration Console?

See "Extending the Administration Console" in Eclipse 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 GlassFish Server Open Source Edition 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 Eclipse 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 Eclipse 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 GlassFish Server Open Source Edition 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
  1. Click Preferences.

  2. Click the Updates tab.

  3. Deselect Automatically Check for Updates and click OK.


Previous Contents
Eclipse Foundation Logo  Copyright © 2019, Oracle and/or its affiliates. All rights reserved.