I have Eclipse 3.1.2 running on JDK 1.5.06 and my project is set to 5.0
compliance. The example out-of-container EJB 3.0 application I'm using is
located at http://technology.amis.nl/blog/?p=1043 .

Eclipse does not recognise the EJB 3.0 specific annotations such as @Id
and I get compile time errors saying cannot resolve them. I wasn't sure if
Dali was required since it wasn't specified in the tutorial above. Goole
didn't turn up an hints except to command-line compile.

I'd like to know how I can get eclipse to recognize the ejb 3.0
annotations. Would appreciate any help regarding this.

remember to enable JDK 5 for the project and add the ejb3 persistence jars
to the project. The annotations are like any other class - they need to be
on the classpath to work.

/max

> I have Eclipse 3.1.2 running on JDK 1.5.06 and my project is set to 5.0
> compliance. The example out-of-container EJB 3.0 application I'm using
> is located at http://technology.amis.nl/blog/?p=1043 . Eclipse does not
> recognise the EJB 3.0 specific annotations such as @Id and I get compile
> time errors saying cannot resolve them. I wasn't sure if Dali was
> required since it wasn't specified in the tutorial above. Goole didn't
> turn up an hints except to command-line compile.
>
> I'd like to know how I can get eclipse to recognize the ejb 3.0
> annotations. Would appreciate any help regarding this.
>
> -sudhakar
>

remember to enable JDK 5 for the project and add the ejb3 persistence jars
to the project. The annotations are like any other class - they need to be
on the classpath to work.

/max

> I have Eclipse 3.1.2 running on JDK 1.5.06 and my project is set to 5.0
> compliance. The example out-of-container EJB 3.0 application I'm using
> is located at http://technology.amis.nl/blog/?p=1043 . Eclipse does not
> recognise the EJB 3.0 specific annotations such as @Id and I get compile
> time errors saying cannot resolve them. I wasn't sure if Dali was
> required since it wasn't specified in the tutorial above. Goole didn't
> turn up an hints except to command-line compile.
>
> I'd like to know how I can get eclipse to recognize the ejb 3.0
> annotations. Would appreciate any help regarding this.
>
> -sudhakar
>