Java Reference
In-Depth Information
Deployment Descriptor. NetBeans will then add an empty ejb-jar.xml file to the project.
When you rebuild the project, the META-INF/ejb-jar.xml file will be automatically added
to the EJB-JAR module.
Maven
When using Maven to create an EJB-JAR module, use <packaging>e-
jb</packaging> as the POM packaging type. To customize the configuration of the
EJB-JAR module, use the maven-ejb-plugin to set options to change how Maven cre-
ates the JAR. The following listing shows a minimal POM file that will create an EJB-JAR
module.
Listing 13.3. POM file to build an EJB-JAR
Search WWH ::




Custom Search