J2EE application life-cycle and deployment capabilities are provided by product-specific support modules. Server modules support the following standard targets: deploy, undeploy, fdeploy, fundeploy, start, stop and jspc.
Because server modules share the same target names, you can easily switch between them allowing build files that look like this:
...
<property name="appserver" value="jboss3"/>
...
<import file="${jam.home}/appserver-${appserver}.xml"/>
... You can then deploy and test your application on any of JAM's supported servers:
ant -Dappserver=resin2 deploy ... ant -Dappserver=tomcat5 deploy
JBoss 3.x has been the application most intensely used in developing JAM. All of the application server modules support webapp development, some also support EJB development.