This topic describes common tasks you can perform with applications and
resources on the Sun Java System Application Server/GlassFish.
For more detailed information, click the links in the right column.
To perform this task |
Follow these steps |
Register the Java System Application Server/GlassFish with the IDE. |
- Choose Tools > Servers.
- Click Add Server to start the Add Server wizard.
- Choose the server type, give the server instance a name and click Next.
- Define the server instance properties and click Finish.
For more information, see Registering the Sun Java System Application Server/GlassFish.
|
Start or stop the server. |
- In the Services window, right-click the Sun Java System Application Server/GlassFish
node and choose Start / Stop Server.
Alternatively, click the Start the Server button in the server log tab in the Output window.
- You cannot start and stop a remote installation of a server from within the IDE.
|
Create a JDBC connection pool. |
- Choose File > New (Ctrl-N) to open the New File wizard.
- Choose the EJB module from the Project drop-down list.
- Select JDBC Connection Pool from the GlassFish category and click Next.
- Choose a connection and enter details for the connection pool.
- Click Finish.
For more information, see Setting Up a Connection Pool on the Sun Java System Application Server.
|
Add a JDBC resource. |
- Choose File > New (Ctrl-N) to open the New File wizard.
- Choose the EJB module from the Project drop-down list.
- Select JDBC Resource from the GlassFish category and click Next.
- Select to use an existing connection pool or create a new one.
- Enter a JNDI name and any other details.
- Click Finish.
For more information, see Setting Up a JDBC Resource on the Sun Java System Application Server/GlassFish.
|
Add a JMS resource. |
- Choose File > New (Ctrl-N) to open the New File wizard.
- Choose the EJB module from the Project drop-down list.
- Select JMS Resource from the GlassFish category and click Next.
- Enter a JNDI name for the resource and any other details.
- Choose a resource type and click Next.
- Enter any resource properties.
- Click Finish.
For more information, see Setting Up a JMS Resource on the Sun Java System Application Server/GlassFish.
|
Add a JavaMail Session resource. |
- Choose File > New (Ctrl-N) to open the New File wizard.
- Choose the EJB module from the Project drop-down list.
- Select JavaMail Session from the GlassFish category and click Next.
- Enter a JNDI name and the server and user details.
- Click Finish.
For more information, see Setting Up a JavaMail Session Resource on the Sun Java System Application Server/GlassFish.
|
Undeploy an application. |
- Expand the Sun Java System Application Server/GlassFish instance node and the Applications node in the Services window.
- Expand the node which contains the type of application to undeploy.
- Right-click the application and choose Undeploy.
For more information on undeploying an application and other pop-up menu items, see Removing an Application From a Server.
|
Download and install server updates. |
- In the Services window, right-click the Sun Java System Application Server/GlassFish
node and choose View Update Center to open the GlassFish Update Center window.
- Select the desired update from the available software and server updates.
- Click Install.
|