I made an application using Together Controlcenter with CMP EJB's. The beans were implemented not with an abstract class, but instead with a normal class, with properties and implemented getter and setter methods.
Example:
public class AnswerEJBBean implements ... ,EntityBean{
public String answer;
public void setAnswer(String answer) throws ... {
this.answer=answer;
}
public String getAnswer() throws ... {return answer;}
...
}
I deployed it on JBoss 3.0 alpha with no problems. Everything was saved, but as I tryed to deploy on JBoss 3.0 beta nothing worked.
After investigating the problem I found that the problem could be caused by the fact that the class and the properties in it is not abstract, as in every example I've seen. Before I change all my beans I would like to know whether it is this that is causing the problems.
Morten Andersen
Denmark
I can't say that this is what is causing your problems, but the specification defines that CMP2 Entity Beans should be abstract.