|
FAQ
History |
|
Search
Feedback |
Deploying Web Modules
Before a Web application can be accessed, it must be deployed as a Web module in the application server. For example, to deploy the hello1 Web module in the IDE:
- Start the Sun ONE Application Server 7.
- Verify that the Sun ONE Application Server 7 has been installed.
- In the Runtime pane of the Explorer, choose the node Server Registry
Installed Servers.
- Verify that the Sun ONE Application Server 7 is listed below Installed Servers. If it is not listed:
- Install the Sun ONE Application Server Plugin as described in Sun
ONE Studio 4, Enterprise Edition for Java
with Application Server 7 Tutorial.
- Right-click Sun ONE Application Server 7 in the Installed Servers list and choose Add Admin Server.
- Type the host and port (4848) of the application server's admin server.
- Type the user name and password you provided when you installed the application server and click OK.
- Right-click the admin server just created and choose Create a Server Instance.
- Type the host and port (80) of the application server and click OK.
- Verify that the Sun ONE Application Server 7 is the default server.
- In the Runtime pane of the Explorer, expand the nodes Server Registry
Default Servers.
- Verify that beneath Default Servers there is a node for Web Tier Applications:
server1(host:port). If this node is not displayed:
- Right-click Web Tier Applications and choose Set Default Server.
- Select the server instance you created in step 2. and click OK.
- In the IDE, mount the filesystem
<INSTALL>/j2eetutorial/examples/web/hello1.- Expand the
hello1node.- Right-click the
WEB-INFdirectory and choose Deploy.
|
FAQ
History |
|
Search
Feedback |
All of the material in The J2EE Tutorial for the Sun ONE Platform is copyright-protected and may not be published in other works without express written permission from Sun Microsystems.