Community

Annotation processing in war files too aggressive?

reply from Remy Maucherat in JBoss Web Development - View the full discussion

Well, web is not less relevant than ejb in this particular situation. If your pojo is extended by a Servlet class (this is the same case you are using), then the annotation becomes relevant for Servlets too. Sneaky ;) Maybe we should do less injection metadata validation on deploy (some TCK tests seem to imply that). If the injection is then actually used by one of the specs where it is invalid, it will do a runtime error.

Reply to this message by going to Community

Start a new discussion in JBoss Web Development at Community