[jboss-user] [EJB 3.0] - Re: Problem in injecting simple env entries in EJB

ti do-not-reply at jboss.com
Mon Nov 24 05:50:01 EST 2008


Hi Plethora

You don't need the @Resource Annotation if you define the injection within the  xml descriptor. You can just use 
String duration;  in your Bean.

Best Regards
Tom

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191675#4191675

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191675



More information about the jboss-user mailing list