• Post Reply Bookmark Topic Watch Topic
  • New Topic

How is EJB better than conventional RMI?

 
Naren Chivukula
Ranch Hand
Posts: 577
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Please answer me for the question: How is EJB better than RMI and what are the advantages that we achieve in EJB?

Thanks and Regards,
Narendranath.
 
Mark Spritzler
ranger
Sheriff
Posts: 17290
9
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EJB uses RMI-IIOP. So how is it better?

EJB containers handle Transactions, Database Access, Security, Concurrency, and others for you.

If you had just RMI, you would have to code all that stuff yourselg.

It also has standards and patterns that can make development smoother or easier, depending on whether you are standing on you head when you look at your code, or if you are just hanging off the ceiling by your feet.


There are more advantages, but those came off the top of my head, you see I am hanging from the ceiling.

Mark
Mark
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!