• Post Reply Bookmark Topic Watch Topic
  • New Topic

Difference between EJB and RMI  RSS feed

 
Preethi M
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
can anybody tell me the basic difference between EJB and RMI?
thanks
 
aseem kapoor
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EJB is serverside componet designing , it works on rmi in background.
whreas RMI is can be used to invoke remote methords in remote jvm's
 
George Brown
Ranch Hand
Posts: 919
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Preethi,
please would you look at the JavaRanch naming policy: unfortunately, single-letter last names are less than the requirement.
Thanks.
 
Sean MacLean
author
Ranch Hand
Posts: 621
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To eleaborate a bit on what Aseem wrote, RMI is the basic structure upon which EJB's are based. If you study the structure of how RMI works (stub/skeletons + naming registries) and *then* look at EJBs you'll probably notice the EBJ's are basically a higher level abstraction of RMI technology.
Sean
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!