I'm a bit confused on how to inject a simple EJB into a Seam-enabled POJO. I have the field marked with @In(), and configured the "" tag in components.xml, but nothing happens and Seam complains that a value is required by the injection tag and fails.
<component name="addressService" jndi-name="java:comp/env/ejb/AddressService" auto-create="true" /> | | ... | | @In() | private AddressService addressService; Pretty straight-forward, right? I though it would work, but no. These EJBs are deployed separately, so I can't have them enabled through @Name, ergo the component tag that defines it in components.xml. Am I missing something? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041829#4041829 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041829 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
