This content has been marked as final.
Show 1 reply
-
1. Re: jboss-web.xml
peterj Sep 29, 2006 11:17 AM (in response to gokulgb)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>