• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

EJB design question

 
Ranch Hand
Posts: 464
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 1551
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic