create() is supposed to be in home interface, isn't it?
posted 14 years ago
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 ]
I'm so happy! And I wish to make this tiny ad happy too:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop