Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB2.0 Local Interface and Clustering  RSS feed

 
John M Brown
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As I've been reading through the 3rd edition Enterprise Java Beans book it has a lot of info on using the Local interfaces rather than remote and when best to use them, but I've seen no mention so far on how clustering and HA/DR can work (or if it can work) for Local bean calls.
Anybody have information on it? Are there any issues using this method? Or do you just cluster then local EJBs along with any Remote ones?
Thanks
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Local beans are local. That means that the instances are inside a single JVM -- thus you don't cluster them since they're not remote.
However, a normal design (as Richard discusses in his book) is to use Local Entities together with Remote Sessions. That is perfectly amenable to clustering, and works fine.
Kyle
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!