Basically, we want to create a taglib that can possibly forward request execution to another page, similar to <jsp:forward />
. How can we prevent the rest of the JSP page from executing from within the taglib?
All entries tagged java-ee.
You can subscribe to an RSS feed of this list.
Dec 2009
Aug 2009
-
Let’s say I have a Java webapp deployed on some Application Server with clustering across a few nodes.
In the webapp, we maintain a cache of some values retrieved from the database, stored in-memory as static variables. Whenever a user performs an update in a particular screen, we clear the cache so that the cached values will be retrieved again the next time they are needed.
Now the problem: Since each node in the cluster is running on a separate JVM, how can I clear the cache across all nodes? Basically I want to call a static function on each cluster node. Is there some standard J2EE way to do this, or it depends on the Application Server software?