Hi!

Scott M Stark wrote:
> Ok, I finally got the whole petstore application working. There are several changes
> over Tom's current petstore-1.1.1 patch with regard to tomcat server.xml and jboss
> specific config files. One big change was that I had to specify the ejb resource
> ref names using a jboss.xml for each ejb-jar.xml set of beans. The reason being
> that JNDI envrionment of an ejb is a container private environment and it
> cannot be setup globally using the jboss-web.xml file in the web app war as
> was being done.

To be precise, each J2EE component has its own "comp/env" namespace (and
this is clearly stated in the spec), and the web app is one component,
and each EJB-bean is one component. This is the fundamental reason for
the above.

regards,
  Rickard

-- 
Rickard Öberg

Email: [EMAIL PROTECTED]

Reply via email to