...
In order to build the loan application a Maven script has been provided. Download the Loan application from the following URL:
http://opensource2.atlassian.com/confluence/oss/download/attachments/1148/loan-bmp.zip
After extracting the zip file, a loan-bmp directory will be created. From now on, this directory will be referred as <bmp_home>. In that directory open the project.properties file. Edit the maven.jboss.home property to match your environment.
maven.jboss.home=<jboss_home>
From a command prompt or shell go to the <bmp_home> directory and run the following command:
maven ejb:ejb
This will build the jar file and put it in the <bmp_home>/apps/target folder. The jar created by the Maven build contains a JBoss specific deployment descriptor, the jboss.xml file in located the META-INF directory of the JAR is shown in the following example:
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<?xml version="1.0"?>
<jboss>
<enterprise-beans>
<entity>
<ejb-name>CustomerEJB</ejb-name>
<jndi-name>CustomerHomeRemote</jndi-name>
</entity>
</enterprise-beans>
</jboss> |
The Geronimo environment
Anchor | ||||
---|---|---|---|---|
|
...