[jboss-user] [EJB3] - Re: Injecting POJO object to ejb session bean
Viggo Navarsete
do-not-reply at jboss.com
Thu Dec 6 02:53:35 EST 2012
Viggo Navarsete [https://community.jboss.org/people/viggo.navarsete] created the discussion
"Re: Injecting POJO object to ejb session bean"
To view the discussion, visit: https://community.jboss.org/message/780297#780297
--------------------------------------------------------------
Yes you can:)
By using CDI, if supported by your container you can use the
@Inject annotation to inject a POJO. Remember that you also need a beans.xml bundled with your application, this is the way the container knows it should enable CDI for your application.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/780297#780297]
Start a new discussion in EJB3 at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121206/57807303/attachment.html
More information about the jboss-user
mailing list