Hi;

I would like to inject @EJB,@WebServiceRef, @Resource, @PersistenceUnit,
@PersistenceContext into the  OpenWebbeans Managed Bean instance in the
Tomcat Environment. For example, in managed bean instance Person

@RequestScoped
@Named
public class Person
{
    @EJB, @WebServiceRef, bla... bla...
}

I tried to understand the "assembler tomcat" but no success. There are no
comments for understanding code. So, my question is how to inject those type
of instances into the Managed Bean instance ? Is there any API to use?

I will give Managed Bean instance to the OpenEJB and it injects above types
of instances.

Thanks;

--Gurkan

Reply via email to