Re: how to invalidate a cache entity bean

Dies Koper <[email protected]>
Newsgroups gmane.comp.java.sun.ejb.general
Message-ID <[email protected]>
Hello Pedro,

I was just reading something about that today. Search for the Seppuku
pattern on theserverside.com. It exploits the rule that when a
RuntimeException is thrown and uncaught in a bean, the container throws
the instance away.
I hope that is what you are looking for.

Regards,
Dies


Pedro Salazar wrote:
>
> Greetings,
>
> how can I invalidate a cache of entity beans? Is it possible to do it
> only for a specific instances?
>
> BTW, a read-only and a read-write views for the same entity beans where
> the update of a read-write entity bean would invalidate the read-only
> entity beans. It's possible and how?
>
> thanks.
>
> regards,
> Pedro Salazar.
> --
> PS
> [email protected]
> PGP:0E129E31D803BC61
>
> ===========================================================================
> 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".

===========================================================================
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".
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.