Java Reference
In-Depth Information
• The maven-ejb-plugin configuration defines that EJB 3.2 version was used,
and enables generation of the EJB client (disabled by default) package for EJB
client applications
Also, check the src/main/resources/META-INF/ejb-jar.xml file. It might
contain the configuration from EJB 2.1. Instead, use the following code:
<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/
XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/
javaee"
version="3.2">
<display-name>ticket-agency-ejb</display-name>
<ejb-client-jar>ticket-agency-ejbClient.jar</ejb-client-jar>
</ejb-jar>
At this point, you will be able to compile your project; so, we will start adding classes, but
we will return to the pom.xml file when it's time to deploy your artifact.
Search WWH ::




Custom Search