Why use this deployment scenario?
- This scenario is the preferred scenario for development of stand alone web applications.
- It eliminates the need to run both server1 and the portal, which reduces the resources used.
- It allows for auto deployment.
- It allows you to test your models quickly running from Eclipse or RAD.
Description of the scenario
- The development WAR is deployed to a local WebSphere Application server.
- There is no configuration for a portlet application.
- Create a new project.
- On the Project Name page of the wizard, enter a name for your project. Click Next.
- On the Add Feature Sets page of the wizard, check off the feature sets you want in your project. Click Next.
- On the Java Settings page of the wizard, accept the defaults. Click Next.
- On the Deployment Configuration screen, click the Add button for the Application Server Deployment Configuration.
- Enter a name for the configuration. Make it descriptive since you will be able to reuse this configuration for other projects.
- Enter a description for this configuration. Provide information about this configuration for future reference.
- Select the server type, either WebSphere Application server 5.x or WebSphere Application server 6.x
- Installed Applications directory will default to C:\ibm\WebSphere\profiles\wp_profile\installedApps\ for WebSphere Portal 6.x and C:\Program Files\WebSphere\AppServer\installedApps\ for WebSphere Portal 5.x. If you remove the string and click the choose button, the file browser should open to your installedApps directory if you installed WebSphere with defaults. From here, expand the installedApps directory and select the cell name. Click Ok in the file browser.
- Leave the host setting with the default of localhost. Since your server is on your local machine there isn't any reason to change this default.
- Enter a new port number only if you know it is different from the default.
- Auto Deploy can be left checked.
- Select server1 for the "WAS server for deployment" select.
- Enter values for admin user and admin password.
- Click the test server connection button to confirm that you have used the correct username and password. Click ok when the results are displayed.
- Click finish. The project will be created and ask if you want to deploy now. Click yes. This will build the dev WAR and deploy it.