Could anybody tell me where I can find the package that contains "javax.ejb.Stateful" and other anotations. I could not find them in the "javax.ejb.*" package. This is what is standing between me and compiling my first EJB 3.0 program.
Thank you for the input but regretably I've combed all the directories inside JBOSS_HOME without finding this jar file(jboss-annotations-ejb3x.jar). I exteded my search to the server directory too but no luck. I have "jboss-4.0.5.GA" version.
Well, I dont have any experience with this version but i would say this jar must be lying in client folder of jboss installation and might be they have given some other name to this jar. Try to look through all ejb3.x jar present there....
Cheers !!! Sumit Malik
If at first you don't succeed, don't try skydiving
Felix, You might want to also look for a file named j2ee.jar. This is what WebSphere calls it as their jar contains all the J2EE classes, not just the EJB classes. I realize WebSphere isn't JBoss, but it's worth a shot when looking. [ March 31, 2007: Message edited by: Jeanne Boyarsky ]
Thank you all very much for the attempt to help. I finally stumbled on the solution. The file is "javaee.jar". This is the file that must be imported if you intend to use "javax.ejb.Stateless, @Remote, @Local, etc" in your EJB3.0 program. It is in the lib directory of J2EE 5.0.