Like this article? We recommend
Running the Code
The easiest way to run the code is to open a DOS console in the directory containing the Ant build file (called build.xml). Then, open another DOS console in the JBoss5 installation folder. Finally, open one DOS console also in the JBoss5 installation folder. The latter two DOS consoles are used to start and stop JBoss5.
To view the Ant build targets, type:
ant –p
and you should see something like Listing 9:
Listing 9 Viewing the Ant Targets
Buildfile: build.xml Main targets: Other targets: clean clean.db compile ejbjar prepare run.client Default target: ejbjar
That concludes our whistlestop tour of JBoss5 and EJB3.