• 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
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

why rmi technology is used in ejb

 
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi
why rmi technology is used in ejb , can anybody tell me the
cases , when this is possible without rmi technology
 
Sheriff
Posts: 3065
12
Mac IntelliJ IDE Python VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, RMI is the Java technology for client/servlet applications. Why wouldn't it be used for EJBs?
 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I think in order attain location transparency EJB architecture uses RMI technology.To make it simple if any RMI application's lifecyle is controlled by a container, it can be simply named as EJB application.
 
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm back to this forum now... I wanted to concentrate on my job.. so I was out of touch since 6 months... now Iv decided to target SCBCD... when I browse this forum, I get back my confidence...

Anyways..

RMI is obviously used coz EJB is based on Distributed Architecture...

In earlier version, even if the client and EJB were deployed on the same server, RMI was used which affected performance.
With EJB 2.1, Sun introduced concept of Local Remote and Local Home interfaces. When you configure EJB application using these, then RMI is not used.

For location transparency, JNDI is used.. not RMI...
reply
    Bookmark Topic Watch Topic
  • New Topic