Friday, June 15, 2012

J2EE Tutorial-13(Deploying the J2EE Application)

Now that the J2EE application contains the components, it is ready for deployment.

  1. Select the ConverterApp application.

  2. Select ToolsDeploy.

  3. In the Introduction dialog box, confirm that ConverterApp is shown for the Object To Deploy and that localhost is shown for the Target Server.

  4. Select the checkbox labeled Return Client Jar.

  5. In the text field that appears, enter the full path name for the file ConverterAppClient.jar so that it will reside in the j2eetutorial/examples/src/ejb/converter subdirectory. TheConverterAppClient.jar file contains the stub classes that enable remote access to ConverterEJB.

  6. Click Next.

  7. In the JNDI Names dialog box, verify the names you entered in the previous section.

  8. Click Next.

  9. In the WAR Context Root dialog box, enter converter in the Context Root field. When you run the Web client, the converter context root will be part of the URL.

  10. Click Next.

  11. In the Review dialog box, click Finish.

  12. In the Deployment Progress dialog box, click OK when the deployment completes.

No comments:

Post a Comment