• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB design question  RSS feed

 
Ragu Sivaraman
Ranch Hand
Posts: 464
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please share your thoughts..
What are the disadvantages of communicating an EJB(SSB)from one WLS instance to another EJB living on a different WLS instance (inter JVM communication)
Apart from painful RMI, are there any other disadvantages?
Please post your thoughts
Ragu
 
Rufus BugleWeed
Ranch Hand
Posts: 1551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Disadvantages?
That's distributed computing. With two containers
on two machines, you are scaling.
Besides RMI, it's more complicated and keeping
two environments to be the same requires more work.
Loose coupling could help.
 
Ragu Sivaraman
Ranch Hand
Posts: 464
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess i should have phrased it better.
What i meant was, Having two containers would make RMI to communicate which can be expensive compared to having them deployed on a same container to make use of intra-jvm calls (call by reference EJB 1.1 in wls) or local interfaces EJB2.0
Having said that , are there any other issues that may be very well be taken into consideration to use a single container instead of multiple containers?
Thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!