This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
create() is supposed to be in home interface, isn't it?
Joined: Aug 19, 2005
Correct. So create() isn't any help at all. But then there is remove(). remove():void is introduced through the javax.ejb.EJBObject interface along with getEJBHome():EJBHome, getHandle():Handle, getPrimaryKey() bject, isIdentical(o:EJBObject):boolean when you extend fron the EJBObject. So remove() has to be there but its there through interface inheritance. So in fact you "only" define the business method signatures with their return type in your interface.
You do implement an ejbRemove() in your bean - but thats not what the question is asking.
Note that the question is inaccurate in its use of the term signature; a signature consists of the method name and the parameter types but it does not include the method's return type - and you will have to specify the methods return type in the remote interface. [ October 12, 2005: Message edited by: Peer Reynders ]