Short answer -- maybe, depends on how you use your EJB. :-)  Long answer:
 
There are 3 areas of load balancing involved with SFSBs:

1) Load balancing of the JNDI lookups of the EJB home.  You get this by 
configuring your naming environment properties such that you are using HA-JNDI. 
Whether the things you are looking up are configured for clustering or not 
makes no difference at all here.

2) Load balancing of calls made by the EJB home.  You only get this if the EJB 
is configured as clustered.  Hence my question about caching homes. If you 
don't cache homes, but look them up each time, the load balancing provided by 
looking up from HA-JNDI will give you much the same effect. But of course 
caching homes can be more efficient than looking them up all the time.

3) Load balancing of the actual bean calls. Here a standard clustered SFSB 
doesn't really load balance; it sticks to a target server. It does handle 
failover, but without replication on the server side, failover won't work.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4190549
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to