Hi There,
I think you are using bean managed entity beans. If that is the case then
override ejbLoad to refresh the bean instance variables. Container calls
this method when data gets changed in the underlaying database.
Hope this helps.
Anup
-----Original Message-----
From: Sneha Sharma [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 01, 2000 4:08 PM
To: [EMAIL PROTECTED]
Subject: EJB cached
Sneha Sharma@CONTEXT
08/01/2000 01:08 PM
Hi All!
I have an issue which is so related to EJBs that I am afraid some of u
might get mad..
Here it is:
I have an EJB that creates a product from a database.For e.g. takes its
part nos, price etc.
But it so happened that when we changed the price in the DB, the change did
not take affect in the JSP until we restarted the server.
I am sure this has to do with caching/pool of the bean. so can you throw
some light on how to tell the bean that the db IS MODIFIED.
Thanks,
Sneha
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets