Java Tutorial - Java Scipt : Changing the jboss.xml File

Java Tutorial - Java Scipt :

Changing the jboss.xml File


Because this is not an entity bean, we do not need to modify the jbosscmpjdbc. xml file. The final changes we need to make for deploying our session bean are made to the jboss.xml file. The change is the four following lines:

<session>
<ejb-name>UserSession</ejb-name>
<jndi-name>ejb/UserSession</jndi-name>
</session>

These lines should be added immediately after the </entity> tag that we put into the file earlier.