File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Resource in DTD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Resource in DTD" Watch "Resource in DTD" New topic
Author

Resource in DTD

Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17260
    
    6

I keep getting confused as to what is the difference between resource-env-ref, resource-ref, and env-entry.
If I think logically I figure one must be a reference to an Environment variable already in the JNDI tree, one must put one into the JNDI Tree, and one must be an object in the JNDI tree, not in the environment side of it. But even if I am right, which one relates to which?
Thanks
Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17260
    
    6

Any Help?
Thanks
Mark
Axel Janssen
Ranch Hand

Joined: Jan 08, 2001
Posts: 2164
Here some text from http://developer.java.sun.com/developer/technicalArticles/Servlets/servletapi2.3/

The Servlet API 2.3 is slated to become a core part of Java 2 Platform, Enterprise Edition 1.3 (J2EE 1.3). The previous version, Servlet API 2.2, was part of J2EE 1.2. The only noticeable difference is the addition of a few relatively obscure J2EE-related deployment descriptor tags in the web.xml DTD: <resource-env-ref> to support "administered objects," such as those required by the Java Messaging System (JMS); <res-ref-sharing-scope> to allow either shared or exclusive access to a resource reference; and <run-as> to specify the security identity of a caller to an EJB. Most servlet authors need not concern themselves with those J2EE tags; you can get a full description from the J2EE 1.3 specification.

But don't ask me now what administered objects are about.
Axel
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
relatively obscure.......
- satya


Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17260
    
    6

But don't ask me now what administered objects are about.

Now why would I do that.
These sound like things you put into the JNDI tree to support EJB objects. I have done that.
Mark
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Resource in DTD