> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Ilya Lipkind

> 1.
> Has anyone tried working with entity EJB's that are read-only in cluster
> environment, and doing invalidation of replica entities using JMS
> messages (JMS is clustered in WL 6.0, or point-to-point can be used in
> earlier releases).
> Any comments on performance/issues with this solution.

That's probably the most intuitive way to proceed:  a timer-based JMS publisher
sends invalidate notices to listeners.  A quick and portable way to invalidate a
bean is for it to throw an exception, thus forcing the container to discard its
instance.  I dubbed this the "SeppukuException pattern" :-)

--
Cedric

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to