directory-dev mailing list archives

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


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

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

View raw message