To build and run the client application using the Ant tool, follow these steps. The secured service must be deployed onto the Enterprise Server before you can successfully compile the client application. For more information on deploying the service, read Building and Deploying helloservice with Basic Authentication Using Ant.
Build the client by changing to the project directory and entering the following at the terminal window or command prompt:
This command calls the default target, which builds and packages the application into a JAR file.
Run the client by entering the following at the terminal window or command prompt:
A Login for User dialog displays.
Enter a user name and password that correspond to a user set up on the Enterprise Server with a group of TutorialUser. Click OK.