Creating a jboss.xml File

Create a jboss.xml file to support JBoss-specific configuration options for the EJBs. For example, you can modify the JNDI name of your EJB resources or include custom containers in jboss.xml.

This file will be stored in the META-INF directory in your EJB JAR. For example:

C:\<ejbjarname>\src\META-INF

To create a jboss.xml file for a project:

  1. In the Navigator, select project_icon Project_Name.
  2. Choose File | New to open the New Gallery dialog.
  3. In the Categories tree, expand Business Tier and click Enterprise JavaBeans (EJB).
  4. In the Items list, double-click EJB Deployment Descriptor for JBoss (jboss.xml).
  5. The newly created file opens in the Code Editor. Edit this file to add the JBoss-specific configuration settings as appropriate.

See also: JBoss 3.0 Documentation for more information on creating this file:
http://www.jboss.org/online-manual/HTML/index.html


Related topics

About J2EE Applications and How They Are Packaged and Deployed
Understanding the n-Tiered Business Components Architecture
Deploying an EJB JAR to JBoss