Greetings, I'm invalidating a entity bean instance from cache with the read-mostly pattern using <cache-invalidation>/<invalidation-group-name> I manage the invalidation Read-Only instance by updating the Read-Write instance.
However I'm having a problem in reflect the changes at run-time. I defined a stateless session bean with 2 methods: -one for getting information on the read-only bean -other for update information on the read-write bean So, my client calls first the method to print the values on that entity bean. After I do a update, and I call again the method to print the values. Even with a sleep between the methods, the values on the second print aren't te updated ones. If I repeat my procedure, the values are already updated but and it seems like it's the same transaction, the read-only entity bean instance doesn't change. I already put both methods with a RequiresNew transaction type. Any ideas how to reflect the update? thanks. regards, Pedro Salazar. -- -PS ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
