[jboss-user] [Clustering/JBoss] - Re: EJB3 Injection and HA-JNDI

asookazian do-not-reply at jboss.com
Sat Sep 27 10:39:09 EDT 2008


as far as cluster-enabling a Seam (EJB 3) app, all you need to do is the following:

1) add  to web.xml
2) add @Clustered to your stateful session beans

you can also configure your entity classes to be cached using Hibernate 2nd level cache.

But as long as you do the two steps above, you don't need to worry.

Keep in mind that if you're using mod_jk with IIS or httpd, make sure that sticky_sessions is enabled (this is a configuration that is highly recommended by JBoss).  see Tomcat Connector info on JK.

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

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



More information about the jboss-user mailing list