cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Aston" <>
Subject Sharing components between Cocoon and servlets
Date Thu, 23 Jan 2003 12:27:10 GMT

I am looking to get some more documentation together on integrating servlets
and Cocoon and would like to know if anyone has got any production
experience of sharing contexts and thus components.  I want to have a
servlet running in the same web app context as Cocoon and have access to the
same resources (e.g. db connection pool) as Cocoon.  I have considered a
couple fo ways of implementing thus such as creating a new set of objects
that reference the same component xconf or using a parent component manager.
I have also noted a couple of threads on the lists that talk about using
request actions to pass session data to servlets.  The only thing about this
is that it means the servlet is called via the sitemap and I am not
concerned about this happening.

If anyone has any views or experience on how they think this is best done
then let me know and in return for saving me some investigation time I will
add details to the docs.

Thanks very much


View raw message