• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

local and remote ejb

 
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It has been quite sometime since i refreshed my j2ee. I was having a discussion with one of my friends. I was telling him that if one has local ejb's and then later on decides that the server has to be clustered and the ejb / web layers are going to be in separate servers. I told him, the code has to be modified to change the local ejbs to remote ejb's (i.e) EJBLocalHome has to be changed to EJBHome so on and so forth. But he strongly denied it. he says it should just be a matter of changing the ejb-jar.xml.
Can somebody clarify?
 
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sure, a remote client is, well, remote. There is no getting away from the need to recode for remote home and component interfaces, to pass serializable objects around, to handle RemoteException, etc.

If your friend is so sure that he is right, then why not invite him to demonstrate how his solution works?
 
reply
    Bookmark Topic Watch Topic
  • New Topic