HI, If findbyXXXX the return type is java.util.Collection, Do it need throw FinderException? Is this true finder methods in local home interface, they must declare javax.ejb.FinderException??
P. 672 Q.45 which methods from EntityContext interface can be invoked, regardless of transaction context? A. getEJBHome() B.getEJBObject(). I remember in ejbCreate(): disallowed to call getEJBObject? Any comment?
A home interface defines one or more create<METHOD>(...) methods, one for each way to create a session object. Is each create need unique name, do not allow overload? such as create(String id), create(String id, int i)).
There is qustion in head first EJB p362, No.1 When implementing a one-tomany relationship, the java/util.List interface not be used. the answer: "Only Collection or Set can be used". My question, the List IS a collection. Set and List both implement or extends Conllection interface.