Hi,
 
I'm trying to make some container managed beans.
When i use the tool CheckEJB on my serialized deployment descriptor
i get the following errors:
 
Error: The return type of an 'ejbCreate' method must be the Primary Key type for Enterprise Beans with bean-managed persistence
  Method: public void compactdisc.CompactDiscBean.ejbCreate(long,java.lang.Strin
g,java.lang.String,java.lang.String,int,double,int,int) throws java.rmi.RemoteEx
ception

Error: The Enterprise Bean class must define the 'ejbFinder<Method>' method associated to
       public abstract java.util.Enumeration compactdisc.CompactDiscHome.findAll
CompactDiscs() throws java.rmi.RemoteException,javax.ejb.FinderException
...
 
 
all those find methods are in my properties file why do i get those errors?
 
Jochen Vastmans

Reply via email to