Hi Srikanth
If you read the 'Enterprise java in a nutshell' from o'Reilly, you will get a
good understanding with good examples of both technology.
In brief RMI is a technology used by EJB . When you create the home,remote
interface and the bean implementation and deploy them,
the skeleton and stub classes that are created are nothing but what you would
see if you build a RMI application. To see this for yourself
take any .jar file from the EJB examples that come with a app server like
weblogic or silverstream and open it in the winzip if it is a windows platform
or use the jar utility to look at the contents of the .jar file. You will see
the ....Skel.class and ...Stub.class files.
EJB uses a lot of existing java technology like jndi, rmi and adds
entity/session bean concepts and provides a container that handles the
transactions, security etc to provide a tool to build enterprise applications
more easily and faster.
hth,
Rajesh
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Hi all,
First of all excuse me, as this has nothing to do with
servlets. But i didnot find any other source where i
can get a perfect answer to my question.
Iam new to EJB, and what to know the exact and clear
difference between and an Enterprise java bean(EJB)
and Remote Method Invocation(RMI).
Thanks
Srikanth
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html