Profiling an EJB Module or Enterprise Application

See Also

There are two ways to profile an EJB module:

If your EJB module is part of an enterprise application, you should always profile it by running the profile command on the enterprise application project. Since the IDE does not know which enterprise applications an EJB module project belongs to, running the Profile command on an EJB module project deploys it as a stand-alone module.

If you are deploying your EJB module or enterprise application to a local installation of the GlassFish server, you can profile your project by choosing Profile Main Project from the main menu or choosing Profile from the pop-up menu in the Projects window.

If you are deploying your EJB module or enterprise application to a remote server, you need to attach the IDE to the remote server and profile the application in Attach mode. The Attach Wizard can help you configure the remote server to accept attachment.

To profile a stand-alone EJB module:

  1. In the Projects window, right-click the EJB module project and choose Profile.
  2. Select a profiling task and click Run.

When you profile a stand-alone EJB module, the IDE does the following:

To profile an enterprise application:

  1. In the Projects window, right-click the enterprise application project and choose Profile.
  2. Select a profiling task and click Run.

When you profile an enterprise application, the IDE does the following:

See Also
Profiling Tasks: Quick Reference
Setting Profiling Filters
Profiling a Remote Application
Profiling Windows
Selecting a Profiling Task

Legal Notices