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
posted
0
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.
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