Every Entity Bean has a MBean method called flushCache.  You could access
this MBean from your MDB and invoke the method.

XXXXXXXXXXXXXXXX
Bill Burke
Chief Architect
JBoss Group, LLC
XXXXXXXXXXXXXXXX


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Nicholas
> Sent: Thursday, January 02, 2003 11:55 AM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] Commit Option D - Observation & Questions
>
>
> I have been perofmring some tests on the Commit Option
> D.  As I understand the docs, the comtainer will
> periodically refresh the bean state from the database,
> the frequency of that process being defined by the
> default (30 seconds) or the <optiond-refresh-rate>
> element.
>
> However, I have observed that the event that is
> triggered does not seem to actually refresh the bean
> state, but rather simply invalidates it and forces a
> trip to the database on the next bean access. Am I
> totally off base here ? Obviously the former is
> preferable.
>
> Along those lines, I have some bean persistence store
> tables that may periodically be updated by an external
> source ( a legacy deal... ). I would really like to
> give the legacy update middleware dudes an API to
> publish JMS messages to MDBs that I set up that would
> allow me to force Option D like refreshes (or at leat
> invalidations). In this way, I reduce the likelihood
> of lost updates  or stale data being retrieved. The
> communication mechansim aside, what would I need to do
> inside the container to force a resynch like this ?
>
> Thanks.
>
> //Nicholas
>
> =====
> Nicholas Whitehead
> Home: (973) 377 9335
> Cell: (201) 615 2716
> Work: (212) 622 5639
> [EMAIL PROTECTED]
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to