blogger templates blogger widgets
This is part of a list of blog posts.
To browse the contents go to

Difference between env-entry, resource-ref and resource-env-ref

I couldn't honestly find a better explanation from anywhere other than the Tomcat's documentation.

env-entry - Environment entry, a single-value parameter that can be used to configure how the application will operate. An example here

resource-ref - Resource reference, which is typically to an object factory for resources such as a JDBC DataSource, a JavaMail Session, or custom object factories configured into Tomcat. An example here

resource-env-ref - Resource environment reference, a new variation of resource-ref added in Servlet 2.4 that is simpler to configure for resources that do not require authentication information. An example here and here.

Continue reading: JNDI and Context.xml

No comments:

Post a Comment