I've read documentation for The Tomcat 5 Servlet/JSP Container:
Clustering/Session Replication HOW-TO
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html
I understand clustering for individual user sessions. Are there any correlated
methods for
clustering application scope objects?
The J2EE API for the Interface ServletContext states, "In the case of a web
application marked
"distributed" in its deployment descriptor, there will be one context instance for
each virtual
machine. In this situation, the context cannot be used as a location to share global
information
(because the information won't be truly global). Use an external resource like a
database
instead."
Rather than use a database, what I would like to be able to do is make a call to
servlet.getServletContext().setAttribute(key, object);
and have the object stored in the application scope of all servers in the cluster.
I know that EJBs were designed to serve this purpose; however, I would like to bypass
the overhead
and complexities of EJBs.
If there isn't a switch that can be flipped in Tomcat, there might be a way to create a
lightweight JMS administration class to serve this purpose. Has anyone tried this?
If the answer to this question is RTFM, please send a link; I've looked through the
documentation
and I can't seem to find a clear reference.
Thanks for your time and consideration.
Mike
__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]