To build and package the confirmer example, do the following:
In a terminal window, go to tut-install/examples/ejb/confirmer.
Enter the following command:
This compiles the source code and creates an EAR file, confirmer.ear, in the dist directory.
To deploy confirmer.ear, type the following command in a terminal window: