I am trying to deploy the Cusotmer Bean on JBoss. This is my code
But when I run the server it gives me a message.
15:13:26,187 WARN [verifier] EJB spec violation: Bean : CustomerBeanCMP Method : public String ejbCreate(String, String, String, String) throws CreateException Section: 10.6.4 Warning: The return type of an ejbCreate(...) method must be the entity bean's primary key type.
Please tell me how to correct this error. I have written the bean as per the book.