I am at work and answering this off the top of my head without access to my set-up at home.
It is possible to compile ejb3 entity beans with 4.0.3RC2. Possibly the classes are in jars in the IDE, not the application server. I used JBossIDE1.5M1. I had to put jboss-ejb3x.jar and ejb3-persistence.jar in my classpath. If my memory serves me correctly they are in the JBossIDE somewhere. Otherwise they are in the AS, but not in a directory which is on the classpath.
Hope this helps.
Chris, thanks for taking time out to respond.
I have opened both the jboss-ejb3x.jar in both the Jboss4.0.3RC2 and also the version of jboss-ejb3x.jar that gets included in the project when u inlcude jboss ejb3 libraries option via jboss ide plugin. Both do not have the Entity.class but have the Stateless.class and Stateful.class in the jars.
BTW, i am using JBossIDE1.5M2 version. All the questions on ejb3 entity beans is proof positive that others are able to compile and deploy....
chris...u r right.... the jbosside1.5m1's jboss-ejb3x.jar has the Entity.class. However i am not sure if i have to replace the jboss4.0.3rc2's jboss-ejb3x.jar file as well.....as that jar file does not have the Entity.class in it.
thanks for the pointer
@Stateless , @Stateful and @Entity is in
you can download file jboss-EJB_3.0_RC1.zip from this website
Thanks .. I appreciate the help...looks like the latest builds and dev releases of jboss AS and IDE are messed up..