N A M I N G  
A description of the function the jboss.xml descriptor plays in each ENC element mapping 
follows. 
1. 
The default value for the location of an EJB home is simply the ejb name element 
value. To specify a difference binding you provide a jndi name element for the 
bean. Here the ENCBean home interface is specified as being bound under the 
JNDI name  enc/ENCBeanHome . 
2. 
An env entry value is completely described by the ejb jar.xml descriptor and so 
there is no corresponding jboss.xml descriptor element. 
3. 
An ejb ref to an EJB that is not located in the deployment unit of the referencing 
EJB must specify the JNDI name for the external EJB home interface. Here the 
home interface is defined to be located at 
 jnp://banshee:1099/ENCTests/ejbs/RemoteENCBean . 
4. 
The JDBC DataSource resource ref must be mapped to the deployment location of 
the resource factory using the jndi name element in the jboss.xml descriptor. Here 
the deployment location is defined to be  java:/DefaultDS . 
5. 
The JavaMail Session resource ref must be mapped to the deployment location of 
the resource factory using the jndi name element in the jboss.xml descriptor. Here 
the deployment location is defined to be  DefaultMail . 
6. 
The JMS QueueConnectionFactory resource ref must be mapped to the 
deployment location of the resource factory using the jndi name element in the 
jboss.xml descriptor. Here the deployment location is defined to be 
 ConnectionFactory . 
7. 
The URL resource ref must have the URL string specified using the res url 
element in the jboss.xml descriptor. Here the URL string is defined to be 
 http://www.jboss.org/ . 
8. 
A resource env ref mapped to the deployment location of the resource using the 
jndi name element in the jboss.xml descriptor. Here the deployment location of the 
JMS Queue is defined to be  queue/testQueue . 
39






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

best web hosting

 

Our partners: PHP: Hypertext Preprocessor Cheap Web Hosting JSP Web Hosting Ontario Web Hosting  Jsp Web Hosting

Cheapest Web Hosting Java Hosting Cheapest Hosting

Visionwebhosting.net Business web hosting division of Vision Web Hosting Inc.. All rights reserved