• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

How EJB works?

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic