Hi,
Calvin, Nils: There are different rules regarding the signature of method ejbCreate depending on the type of
EJB.
In case of a session bean, there is only one: public void ejbCreate() throws javax.ejb.CreateException;
In case of an entity bean: return type must be an Object - so primitives will not do. If you chose a primitive, then you would not be able to use the remove method on the Home interface which takes an Object as primary key argument.
Hope it clarifies.
Nicky Moelholm
MyCerts: SCJP 1.2, SCJP 1.5, SCJD, SCWCD 1.3, SCBCD 1.3, SCDJWS 1.4, SCEA, IBM 253
MyBooks: IBM WebSphere Application Server V7.0 Web Services Guide