aspose file tools
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes entitybean question Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Architect Certification (SCEA/OCMJEA)
Reply Bookmark "entitybean question" Watch "entitybean question" New topic
Author

entitybean question

Timber Lee
Ranch Hand

Joined: Oct 14, 2002
Posts: 157
Which methods is optional in the Home Interface of an Entity Bean?


SCJP<br />SCWCD<br />SCEA
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
None. In fact, there is no such thing as an optional method in ANY Java interface.
However, since providing the implementation of the Home interface is the responsibility of the Container, this does not affect us.
Shankar Ranganathan
Ranch Hand

Joined: Sep 19, 2001
Posts: 71
Yeah, I agree. There is nothing like that.


Shankar<br />Post mock questions in<br /><a href="http://groups.yahoo.com/group/scea_mock" target="_blank" rel="nofollow">http://groups.yahoo.com/group/scea_mock</a>
Timber Lee
Ranch Hand

Joined: Oct 14, 2002
Posts: 157
but scea@whiz say create() is option
Thomas Hofmann
Ranch Hand

Joined: Nov 23, 2002
Posts: 72
You can omit the create method in the home interface if the bean's data are created by external applications (e.g. legacy COBOL app) or tools (SQL Plus.
Extraction from EJB 2.0 spec:
An entity bean�s remote home interface can define zero or more create<METHOD>(...) methods,
Thomas
 
jQuery in Action, 2nd edition
 
subject: entitybean question
 
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com