[jboss-user] [Clustering/JBoss] - entity caching

asookazian do-not-reply at jboss.com
Thu Sep 25 18:31:53 EDT 2008


referring to this config guide for EAP 4.3:

http://www.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/4.3.0.cp02/html-single/Server_Configuration_Guide/index.html#Clustered_Entity_EJBs-Entity_Bean_in_EJB_3.0

how critical is entity caching for EJB 3 entity classes?  i have set up a 2 node horz cluster that supports load-balancing, failover, and sticky sessions.

I have added the  tag to web.xml as well as @Clustered to all SFSB's in my Seam app (in this case it's the Seam booking app).

It seems that the entity caching is related to the Hibernate 2nd level cache which is recommended for read-only or read-mostly tables.

In a small "normal" CRUD Seam app, is entity caching according to the config guide critical???

What are the disadvantages or consequences of not using entity caching? is it mainly performance?

And when a node does fail, is it true that the session and entity sync happens at that time (as well as at the end of session bean methods) such that when the session continues on the different node, everything is already sync'd up?


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

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



More information about the jboss-user mailing list