-
1. Re: ejb-env-ref and a deployer (person)
starksm64 Jan 31, 2005 4:11 PM (in response to tim5901)Its done through the jboss.xml descriptor.
-
2. Re: ejb-env-ref and a deployer (person)
tim5901 Jan 31, 2005 4:33 PM (in response to tim5901)I'm sorry, but I am really stupid.
Where is the jboss.xml descriptor located? Do you mean the one in the ejb jar under the META-INF directory? Or do I create one in the actual deploy directory? Or do I create one in the conf where the standardjboss.xml is located? -
3. Re: ejb-env-ref and a deployer (person)
starksm64 Feb 1, 2005 2:28 PM (in response to tim5901)Start with the getting started guides.
-
4. Re: ejb-env-ref and a deployer (person)
tim5901 Feb 2, 2005 1:32 PM (in response to tim5901)I went through the Getting Started guide by Luke Taylor, pulled down the demos and went through them.
So from that I am assuming that the only place the jboss.xml goes is in the META-INF of the ejb.
Therefore my original assumption must be wrong. I assumed that the purpose of the ejb-ref tags was to allow a system administrator to place the actual interface link someplace in the JNDI directory with some name and have that link to the logical name specified in the ejb-jar.xml.
In actuallity the ejb-ref is used so that the component does not have to worry about where the container implementation actually binds the interface in the JNDI directory.
So in the end there is no way for the system administrator to tell the container where to bind the interface other than to unpack the jar and change the jboss.xml <jndi-name> tag.
Is that correct?