ejb
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Monday, August 25, 2003 04:54 AM

why ejb uses two interfaces? Remote and Home

Re: ejb

Posted By:   Laurent_Mihalkovic  
Posted On:   Monday, August 25, 2003 07:44 AM

hi there,

At this point I would like to suggest that you give a shot to reading the life cycle part of the EJB specification. It will give you the concepts that you seem to be looking for.

In the meantime, here is a short answer: they cater to two different needs. Home is for the construction of the object, while the second exposes the functionality of the object. Similar to the Factory / Object paradigm in COM, or the many other Object component models.

Read the FAQ section of this site, there are some very good explainations in there too...


567986

51578

cheers
Laurent

About | Sitemap | Contact