2.2. The ejb-jar.xml file

This file is valid for both JOnAS and JBoss. It is used by the EJB server to identify which classes are the home and remote interfaces and the implementation of each bean. It is also used to describe the interactions between the different beans. Note that there is a slight difference between JOnAS and JBoss regarding inter-EJB references (see Section 2.5).