Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The jndi-name element is used to bind the CustomerEJB to the name CustomerHomeRemote in JNDI.

Running maven will also build the a war file and put it in the <cmp_home>/target folder. The war created by the maven build contains a JBoss specific Web application deployment descriptor, the jboss-web.xml file in the WEB-INF directory of the WAR is shown in the following example:

Code Block
xml
xml
borderStylesolid
titleJBoss deployment descriptor - jboss.xml

<?xml version="1.0" encoding="UTF-8"?>
<jboss-web>
    <ejb-ref>
        <ejb-ref-name>ejb/CustomerHome</ejb-ref-name>
        <jndi-name>CustomerHomeRemote</jndi-name>
    </ejb-ref>
</jboss-web>

Back to Top

The Geronimo environment
Anchor
Geronimo
Geronimo

...