The Java EE 5 Tutorial

Running the confirmer Client Using Ant

By default, the client sends a message to, a fictional email address. To change the email address, set the app-client.args property in tut-install/examples/ejb/confirmer/nbproject/ to the email address to which you’d like the test message sent. For example:

To retrieve the client JAR and run the client, enter the following command in a terminal:

ant run

You should see the following line when the client has successfully sent the test message:

[exec] Message sent to

If you changed the target email address, the test message should arrive in the user’s inbox in a few moments.