[jboss-dev-forums] [EJB3 Development] - Re: @Service Annotation Prblm with EJB
jaikiran pai
do-not-reply at jboss.com
Mon Mar 14 06:55:40 EDT 2011
jaikiran pai [http://community.jboss.org/people/jaikiran] created the discussion
"Re: @Service Annotation Prblm with EJB"
To view the discussion, visit: http://community.jboss.org/message/592995#592995
--------------------------------------------------------------
> Anish Nath wrote:
>
>
>
> Q: does the DI is supported in the @Service(org.jboss.annotation.ejb.Service) Ejb's
>
>
You are using the wrong annotation for AS6. Starting AS5, those JBoss EJB3 annotations have been moved to org.jboss.ejb3.annotation.* package. So you should be using @org.jboss.ejb3.annotation.Service. You can find these annotations in JBOSS_HOME/client/jboss-ejb3-ext-api.jar file.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/592995#592995]
Start a new discussion in EJB3 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2030]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110314/d5f9bdf7/attachment.html
More information about the jboss-dev-forums
mailing list