[jboss-user] [JBoss Seam] - Re: DataModel, Factory and Stale Data

enazareno do-not-reply at jboss.com
Wed Mar 7 19:09:12 EST 2007

Hi Scott,

    Here's what I did to get fresh data from the datamodel. Provide a method like this in your SFSB like so :

  |     publc void refresh() {
  |           inventory = null;
  |     }

   You can call this from your other beans or you can call this in an event. This will force your SFSB to get fresh data.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026040#4026040

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026040

More information about the jboss-user mailing list