D
Darryl L. Pierce
I have an application that has embedded within it Tomcat 5.0.28. The two
portions are logically separated, but share some common objects. The
embedded Tomcat system is used for configuring the application.
I use xDoclets to generate Spring XML context files for the application
and the servlet running under Tomcat separately. But, as I mentioned
earlier, I want to share a few objects between the two. And they have to
be the same instance of each object; i.e., the instance accessed by
Tomcat needs to be the same instance accessed by the main application.
Any ideas on how to do this?
portions are logically separated, but share some common objects. The
embedded Tomcat system is used for configuring the application.
I use xDoclets to generate Spring XML context files for the application
and the servlet running under Tomcat separately. But, as I mentioned
earlier, I want to share a few objects between the two. And they have to
be the same instance of each object; i.e., the instance accessed by
Tomcat needs to be the same instance accessed by the main application.
Any ideas on how to do this?