You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Florian Ebeling <fe...@yahoo.de> on 2003/11/19 12:59:07 UTC

Relationship between server.xml/Resource and web.xml/resource-ref.

Hi,

I have read the whole documentation and the web.xml DTD, but I am still
somewhat confused concerning this question. I try to figure out the
exact relation between JNDI resources declared within the server.xml and
the web.xml.

Is it completely up to the developers/deployers wether the necessary
resources get declared in the server or in the application? Is it just
for convenience, so that deployer doesn't have to unpack the WAR? Or --
like someone stated on this list (to my confusion) -- that the
server.xml Resource element and the web.xml resource-ref have a relation
that is similar to that of an implementation class instance and an
interface?

Or are some things possible with server.xml/Resource (plus
ResourceParams) that are not possible with only modifying the DD? Can
anyone clarify this?

TIA,
-Florian


-- 
Florian Ebeling, Dipl.-Ing.
florian.ebeling@it-fws.de
Tel. +49 172 926 76 26



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org