directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noel J. Bergman" <n...@devtech.com>
Subject Tomcat uses JNDI to load resources, including JSP pages
Date Sun, 04 Jan 2004 18:49:50 GMT
Guys,

See:
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=geronimo-dev@incubator.a
pache.org&msgNo=5874

Craig provided a nice explanation of how tomcat loads resources.  Highlight:

  Basically, Tomcat models the static resources of a web application
  as a JNDI DirContext, with nested DirContext objects for nested
  "directories" in the WAR.  [Two] implementations are included --
  one for running webapps out of [a directory and one for running
  from a WAR.]  All the access details [are] hidden inside these
  implementations.

I did not realize, but am seriously pleased to know, that tomcat worked that
way.  This is really wonderful news.  Any data source for which we can write
a JNDI provider is capable of hosting web resources.  That could include:

  - a Subversion repository, via WebDAV
  - an LDAP database
  - an RDBMS
  - a CVS repository

Anyone getting excited about the possibilities, yet?

	--- Noel


Mime
View raw message