This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes How to stop caching in EJB aplication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "How to stop caching in EJB aplication" Watch "How to stop caching in EJB aplication" New topic
Author

How to stop caching in EJB aplication

Kousik Majumder
Ranch Hand

Joined: Sep 30, 2007
Posts: 229
Hi all,

I am using Jboss 4.2.3 and EJB 2.0.
When the application is run I am observing the follwoing behaviour.
Suppose I am submitting a search form with some value. Next time onwards when I am coming to that form that old values are showing(cached). I think as because they are stateful session beans that is why it is happening.

I want to stop this caching behaviour. What is the change I need to do in configuration?

Note:- Weblogic do not show this behaviour

Please help.


Thanks in Advance,
Kousik
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to stop caching in EJB aplication
 
Similar Threads
Stateful session bean with Bean Managed Transaction
submitting form when 'enter' is hit
Browser back/forward problem
Basic JNDI caching questions.
service locator pattern