The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
February 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Urgent : EJB

Posted by BMV on March 05, 2001 at 6:03 AM

Q : Why we need two interfaces such as Home Interface and Remote Interface in EJB. Why can't we use only Home interface.

Ans :

This is because the Specification of EJB by SUN says that way.
That is the Life cycle methods of a Bean has to be in Home Interface and others
i.e. Business Methods in Remote Interface.

Most of the Home Interface Methods are used by the Container.




Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us