N A M I N G
ENC elements while Listing 4 4 provides shows the corrresponding jboss.xml descriptor
which defines deployment environment mappings.
Listing 4 3, A sample ejb jar.xml descriptor illustrating the ENC elements
ENC Tests
A session bean on looks up stuff in the ENC
#1 ENCBean
org.jboss.test.naming.ejb.TestENCBean
org.jboss.test.naming.interfaces.TestENCHome
org.jboss.test.naming.interfaces.TestENC
Stateless
Container
#2
A boolean flag
hasFullENC
java.lang.Boolean
true
#3
An external EJB reference
ejb/RemoteBean
Session
org.jboss.test.naming.interfaces.TestENCHome2
org.jboss.test.naming.interfaces.TestENC
#4
The default DS
jdbc/DefaultDS
javax.sql.DataSource
Container
#5
Default Mail
mail/DefaultMail
javax.mail.Session
Container
#6
Default QueueFactory
jms/QueFactory
javax.jms.QueueConnectionFactory
Container
#7
The JBoss Web Site HomePage
url/JBossHomePage
37
footer
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