Home and Remote interfaces in EJB
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Gnana_Kumar
Posted On:   Sunday, April 9, 2006 08:38 AM

I'm new to Java.Can anyone explain what are purposes of Home interface and Remote interface in EJB creation.

Re: Home and Remote interfaces in EJB

Posted By:   Anonymous  
Posted On:   Monday, April 24, 2006 02:27 AM

In a brief, there are two interface types in EJB architecture.


1. Component (Remote)


2. Home


In EJB creation:


1. Home interface is used to create a component interface [stub] (reference to the component interface in the server).


2. Component interface is used to call bean methods when it is a session bean, and it is used to get/set values in the table if it is a entity bean.

About | Sitemap | Contact