Forums Register Login

@Entity not resolved

+Pie Number of slices to send: Send
hi all
i am writing a sample EJB 3.0 application.

when i tried declaring @Entity, i am getting compiler error saying @Entity not resolved.

even i am not able to import the below package.
import javax.persistence.*;

But i checked that the jre 1.5 is in build path of eclipse editor.

Is there any other files required to build the application based on EJB 3.0


The version of jdk i am using is "jdk1.5.0_08"
[ September 07, 2006: Message edited by: Parameswaran Thangavel ]
+Pie Number of slices to send: Send
jre 1.5 is the Java Runtime for J2SE. The jre is for runtime not development. You should also have the 5.0 JDK and the Java EE 5 SDK. So you still need the ejb3 jar files in your classpath.

Mark
In the renaissance, how big were the dinosaurs? Did you have tiny ads?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 734 times.
Similar Threads
Can EJB 3.0 be used with Jetty?
Hibernate vs EJB 3.0
entity only or entity bean?
FREE BETA: SCBCD 5.0 Beta Certification Exam
How to call ENtity Bean from Message driven bean
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 16:17:15.