Alex Paransky wrote:
>
> Your Home interface acts as a factory, builder, "static" for objects of type
> Remote.  Home exists on the system and allows you to create/remove/find your
> Remote objects in the first place.  It does other things, you should read
> the spec.
> -----Original Message-----
> Hi All
>
> I want to know that why we need two interfaces in EJB.i.e Home and
> Remote.Why we can't do it with one interface as we do in RMI.

It also may help to think of the methods of the Home interface as being like
static methods of a java class.


========================================
Ian McCallion
Alexis Systems Limited
Romsey, UK
Tel: +44 1794 514883
Fax: +44 1794 501692
========================================

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to