*
The moose likes EJB and other Java EE Technologies and the fly likes How EJB works? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How EJB works?" Watch "How EJB works?" New topic
Author

How EJB works?

punit pandey
Greenhorn

Joined: Jun 28, 2001
Posts: 6
Hi everyone,
Can anyone help me in understanding exact internal sequence when an Entity bean get called. What I think is -
1) We call create() or findByPK() method of Home interface (implemented by container) which returns RMI stub (remote reference) of Remote Interface (again implemented by contrainer).
2) This is required RMI stub which is always needed to call any RMI object (Entity Bean in our case).
3) We call methods of Entity bean using this RMI stub. ( where RMI skelton is again generated by container)
Is this correct? Is the remote reference is stub? How RMI being internally used by EJB?
Punit Pandey
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How EJB works?
 
Similar Threads
Lifecycle of EJB Objects
Page 57 (6.2.1) of EJB Spec !!!
question about the way entity bean works?
remote reference
where's the "sharpen your pencil" answer?