Chapter 6. Using Host Publisher Studio to develop J2EE applications 199
Figure 6-67 Transfer to Server
6.5.4 Deploying the application on WebSphere Application Server
Web Administrative Console (WebSphere Application Server Advanced Single Server
Edition) or the Java Administrative Console (WebSphere Application Server Advanced
Edition) can deploy an application to the WebSphere Application Server. This section explains
how to install an application into the WebSphere Application Server environment. This
includes placing the files comprising an application onto the physical system containing the
WebSphere Application Server product and updating the application server configuration with
information about the application.
Installing applications on WebSphere Application Server Advanced
Edition
Installing applications (or standalone modules) into the application server runtime involves the
following tasks:
1. Configure the application settings in the administrative console by performing an
application installation task (requires the administrative server to be running).
Install enterprise applications and modules with the Java administrative console.
2. Place the application files in a directory location, usually relative to the IBM WebSphere
Application Server product_installation_root.
Place the files in the location of your choice. Specify the location when you are performing
the application installation task.
a. Using WebSphere Application Server Advanced Edition on Windows, bring up the
WebSphere Advanced Administrative Console. Click Console-> Wizards-> Install
Enterprise Application. See Figure 6-68.
200 iSeries Access for Web V5R2 and WebSphere Host Publisher V4.0
Figure 6-68 Install Enterprise Application
b. Select the EAR file. See Figure 6-69.
Figure 6-69 Select EAR file
c. Click Next until the Selecting Virtual Hosts for Web Module panel opens and select
your Virtual Host. The default is default_host.
d. In the next panel (Figure 6-70), click Select Server to select the Host Publisher Server.
Chapter 6. Using Host Publisher Studio to develop J2EE applications 201
Figure 6-70 Select Application Server
e. Click Next and Finish to deploy the EAR file to the WebSphere Application Server.
3. Set the classpaths as needed in addition to those set during application assembly.
4. When you reach the Select Application Server window (Figure 6-71), select
HostPubServer as the application server on which you want to install the modules
contained in your application.
202 iSeries Access for Web V5R2 and WebSphere Host Publisher V4.0
Figure 6-71 New Enterprise Application
5. Start the Enterprise Application as shown in Figure 6-72. Web Server Plug-in is set, by
default, to automatic regen.
Figure 6-72 Starting the Enterprise Application
Chapter 6. Using Host Publisher Studio to develop J2EE applications 203
Installing applications on WebSphere Application Server Advanced
Single Server Edition
Installing applications (or standalone modules) into the application server runtime involves the
following tasks:
1. Configure the application settings in the administrative console, by performing an
application installation task (requires the administrative server to be running).
Install enterprise applications and modules with the Web Administrative Console.
2. Place the application files in a directory location, usually relative to the IBM WebSphere
Application Server product_installation_root.
Place the files in the location of your choice. Specify the location when you are performing
the application installation task.
a. Use a Web browser to start the Web Administrative Console
(http://systemname/admin). Navigate to Nodes-> SystemName-> Enterprise
Application and click the Install button. See Figure 6-73.
Figure 6-73 Installing Enterprise Application
b. Select the EAR file and click Next. See Figure 6-74.

Get iSeries Access for Web V5R2 and WebSphere Host Publisher V4.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.