Thanks Scott, Actuall I figured out the problem. The problem was i copied and pasted the code from tutorial
public abstract class SimpleBean implements EntityBean {
* @ejb.bean name = “SimpleBean”
* type = “CMP”
* cmp-version = “2.x”
* display-name = “SimpleBean”
* description = “SimpleBean EJB”
* view-type = “both”
* jndi-name = “ejb/SimpleBeanHome”
* local-jndi-name = “ejb/SimpleBeanLocalHome”
* primkey-field = “id”
* @ejb.persistence table-name = “tsimplebean”
* @jboss.persistence table-name = “tsimplebean”
* @ejb:util
* generate=”physical”
But there was already a xdoclet tags before the class declaration, which did not have any primary key information. The “Run XDoclet” was probably looking at that bit of xdoclet to generate other classes.
I was successfuly able to develop, deploy and test this simple bean. Can you tell me where i can find advance tutorial (where development of more than one Entity Bean with CRM and Session Facade are demonstrated)
Thanks
Murtuza