|Problem with annotations in a dynamic web project [message #499721]
||Mon, 23 November 2009 20:38
Originally posted by: gunnar.stahl.gunnarstahl.org|
I have a weird problem with annotations in a dynamic web project.
The setup is as follows: I am using a glassfish server and the required
eclipse plugins for j2ee development and web development.
My application contains an ear project, consisting of a web project and
an ejb project.
The ejb project has a simple stateless session bean.
The web project consists of
- a jspx-page (icefaces)
- a corresponding backing bean
The backing bean looks up the session bean via the @EJB-annotation.
Which worked pretty good. Until I moved the method which uses the
session bean into a subclass of the backing bean. And in this subclass
the @EJB annotation is no longer processed.
Does anybody know what kind of magic I have to perform to make the
annotation being processed again?
Powered by FUDForum
. Page generated in 0.01992 seconds