How EJBs differ from RMI?

P

Panchal V

With RMI We can invoke (instantiate) objects on remote machines
and call methods remotely and can perform business logic operations there...
....that means same functionality can be achieved through RMI...

Then what is the difference between EJBs and RMI?

Please feel free to include comments and opinions in your reply.
Thanks!

Follow Your Dreams...
---------------------
Neo (VikasP)

Software Engineer
NIIT Ltd.
C-125, Okhla Phase-I
New Delhi

Email : (e-mail address removed), (e-mail address removed)
Ph. : +91-11-26817341(o) Ext. 2748
+91-9891022510(M) +91-1262-268128(R)
Home Page : http://winsolutions.port5.com
Mailing List :
Post messages: (e-mail address removed)
Subscribe: (e-mail address removed)
 
B

Ben_

You're looking at EJB with a client's eyes.

When you look at it with a server developer's eyes you then see rapidly see
the benefits of container managed transactions, container managed pooling
and container managed persistency, to name a few. Not to mention scalability
and standardization.

All these features are "by design". This means that you don't have to
reinvent the wheel and you can move your apps from a vendor's implementation
to another.

Of course there are several drawbacks and EJBs are not the one-and-only
solution (there exists different effective data access patterns than EJBs).

Ben.
 

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top