Hello!
Maybe someone can help me!
I?m new to JBoss, so I used the example (cdEJB) as a starting point for
developing my own beans.
The examples works fine, so I?ve tried to modify them to create an own
cmp-entity-bean.
I just changed the names of the method and the beans. After that i modified
the xml files in the META-INF directory. Compiling and creating the jar
works fine, but I can?t deploy the bean.
I dont?t understand the error-messages, my PersonBean implements
javax.ejb.EntityBean interface!!
I have not changed the create() methods and my primkey field is the same as
in the cdEJB.jar
[Verifier]
Bean : PersonBean
Section: 9.2.2
Warning: The entity bean's class must implement, directly or indirectly, the
javax.ejb.EntityBean interface.
[Verifier]
Bean : PersonBean
Method : public void ejbCreate()
Section: 9.2.3
Warning: The return type of an ejbCreate(...) method must be the entity
bean's primary key type.
[Verifier]
Bean : PersonBean
Method : public void ejbCreate()
Section: 9.2.4
Warning: For each ejbCreate(...) method, the entity bean class must define a
matching ejbPostCreate(...) method.
[Verifier]
Bean : PersonBean
Section: 9.4.7.1
Warning: The primkey-field element must name a public field in the bean
implementation class.
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user