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:
- In the Navigator, select
Project_Name.
- Choose File | New to open the
New Gallery dialog.
- In the Categories tree, expand Business
Tier and click Enterprise JavaBeans (EJB).
- In the Items list, double-click EJB
Deployment Descriptor for JBoss (jboss.xml).
- 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