[jboss-user] [JBoss Getting Started Documentation] - Re: jboss-web.xml
PeterJ
do-not-reply at jboss.com
Fri Sep 29 11:17:52 EDT 2006
Maybe this will help. Here is a excerpt from one of my WEB-INF/web.xml files:
<ejb-ref>
| <ejb-ref-name>ProductSessionRemote</ejb-ref-name>
| <ejb-ref-type>Session</ejb-ref-type>
| <home>com.unisys.orp.product.ejb.ProductSessionRemoteHome</home>
| <remote>com.unisys.orp.product.ejb.ProductSessionRemote</remote>
| <ejb-link>ProductSessionRemote</ejb-link>
| </ejb-ref>
| <ejb-ref>
| <ejb-ref-name>OrderSessionRemote</ejb-ref-name>
| <ejb-ref-type>Session</ejb-ref-type>
| <home>com.unisys.orp.product.ejb.OrderSessionRemoteHome</home>
| <remote>com.unisys.orp.product.ejb.OrderSessionRemote</remote>
| <ejb-link>OrderSessionRemote</ejb-link>
| </ejb-ref>
| <ejb-ref>
| <ejb-ref-name>CalculatorRemote</ejb-ref-name>
| <ejb-ref-type>Session</ejb-ref-type>
| <home>com.unisys.orp.rpn.ejb.CalculatorEJBRemoteHome</home>
| <remote>com.unisys.orp.rpn.ejb.CalculatorEJBRemote</remote>
| <ejb-link>CalculatorRemote</ejb-link>
| </ejb-ref>
And here is the WEB-INF/jboss-web.xml file that goes with it:
<?xml version='1.0' encoding='UTF-8' ?>
| <!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
| <jboss-web>
| <ejb-ref>
| <ejb-ref-name>ProductSessionRemote</ejb-ref-name>
| <jndi-name>ProductSessionRemote</jndi-name>
| </ejb-ref>
| <ejb-ref>
| <ejb-ref-name>OrderSessionRemote</ejb-ref-name>
| <jndi-name>OrderSessionRemote</jndi-name>
| </ejb-ref>
| <ejb-ref>
| <ejb-ref-name>CalculatorRemote</ejb-ref-name>
| <jndi-name>CalculatorRemote</jndi-name>
| </ejb-ref>
| </jboss-web>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975171#3975171
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975171
More information about the jboss-user
mailing list