Deploying an Enterprise Application
See Also
Unless your EJB modules and web application modules are designed to be deployed as stand-alone modules,
you should always deploy them by deploying the enterprise application
that contains them. If you run the Run or Undeploy and Deploy commands on an individual
module that is part of an enterprise application, the IDE only deploys that
module itself. Any changes you have made in the other modules in the project are
not propagated to the server.
To deploy an enterprise application:
- In the Projects window, right-click the enterprise application project and
choose one of the following:
- Run. Starts the target application server and domain,
deploys the enterprise application to the target application server and domain,
and displays it in the IDE's default browser.
- Undeploy and Deploy. If already deployed,
stops the application and all application sessions and processes and undeploys the enterprise application.
The enterprise application is then deployed to the target application server and domain.
To undeploy an enterprise application
(Sun Java System Application Server/GlassFish):
- In the Services window, expand the Servers node and the Sun Java System Application
Server/GlassFish node.
- Expand the Applications node and the Enterprise Applications node.
- Right-click the enterprise applications node and choose Undeploy.
- You cannot start and stop a remote installation of a server from within the IDE.
- See Also
- About Enterprise Applications
- Building an Enterprise Application
- Verifying an Enterprise Application
- Redeploying an Application to a Different Server
Legal Notices