[jboss-as7-dev] Loading resources through JBWeb context API

Remy Maucherat rmaucher at redhat.com
Wed Nov 2 15:44:52 EDT 2011


On Wed, 2011-11-02 at 13:12 -0500, Jason T. Greene wrote:
> Oh duh I see what you mean. You want to be able to load resources 
> *without* changing that call.
> 
> In that case you can just plug in your own DirContext impl.

Ah ok, so if it's only about the resources from the servlet context and
not the whole servlet context impl, then it must still be about the
supposed need to have real static files for the juddi webapp.

Indeed, static resources are served from DirContext which can come from
files or VFS. It is also possible to take advantage of the overlays from
Servlet 3 (which are exposed).

But rather than do one of these, would it be possible to be reasonable
and drop that webapp ? ;)

-- 
Remy Maucherat <rmaucher at redhat.com>
Red Hat Inc



More information about the jboss-as7-dev mailing list