The Java EE 5 Tutorial

Deploying the converter Java EE Application

Now that the Java EE application contains the components, it is ready for deployment. You can deploy the application using either NetBeans IDE or Ant.

Deploying the converter Example Using NetBeans IDE

    Follow these instructions to deploy the converter example to your Application Server instance using NetBeans IDE.

  1. In NetBeans IDE, make sure the converter application is open.

  2. In the Projects tab, right-click the converter project and select Undeploy and Deploy. You will see the output in the Output tab.

Deploying the converter Example Using Ant

To deploy converter.ear using Ant, run the deploy task.

ant deploy

converter.ear will be deployed to the Application Server.