>
> 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.
Either your jsp's are cached. Try to use the meta no-cach etc, to
resolve this. If it's bean related, it might depend on the vendor
implementation of the container you're using. It might also be that the
ejb is an entity bean, which again might depend on the vendor
implementation.

sven

--
======================================================================================
Sven van 't Veer                                              http://www.cachoeiro.net
Java Developer                                                      [EMAIL PROTECTED]
                                        _/_
The answer                             /   \
    to the ultimate question        nnn|.
.|nnn                                     42
=========================================U============================================

===========================================================================
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

Reply via email to