Yes, it is :). Just one more thing:
There are annotations that can be used in abstract superclasses (like @PersistenceContext,
@In, @Out, @Logger, @Begin, @End, @Remove, @Destroy...) and there are some that must be
applied to the concrete subclasses (@Stateful, @Stateless, @Name (of course *g*),
@Conversational, @Scope, ...).
I'm not 100% sure, but I think that you can annotate the methods and properties of a
superclass but not the class itself. But as I said, I'm not absolutely sure about
that. Maybe someone with a deeper insight into the things going on can tell as a simple
rule regarding this ;).
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961210#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...