Re: EE-Integration Question: How does one do CDI injection on Java EE component classes ?

2010-04-13 Thread Rohit Kelapure
Gurkan, This will work with EJBs. How does a container provide injection of CDI beans into other EE types say JAX-WS Web Services or HTTPServlets ? Does OpenWebBeans expose an extension point for EE containers to plugin their own injection service for injection of CDI managed beans into EE

Re: EE-Integration Question: How does one do CDI injection on Java EE component classes ?

2010-04-13 Thread Gurkan Erdogdu
with EJB. It takes Java EE components instance and inject CDI beans into it. Thanks; --Gurkan From: Rohit Kelapure kelap...@gmail.com To: dev@openwebbeans.apache.org Sent: Tue, April 13, 2010 7:49:53 PM Subject: Re: EE-Integration Question: How does one do CDI

EE-Integration Question: How does one do CDI injection on Java EE component classes ?

2010-04-12 Thread Rohit Kelapure
Team, OpenWebBeans provides the ResourceInjectionService API for injection of Java EE injectable resources into CDI managed beans. This works well and we have integrated the ResourceInjectionService API in our EE container. We need guidance on how OWB handles CDI managed bean injection into

Re: EE-Integration Question: How does one do CDI injection on Java EE component classes ?

2010-04-12 Thread Gurkan Erdogdu
Hello Rohit; Could you look at the OWBInjector utility class? This is responsible for injecting into EE components instances. When EE container destroys EE component, you will also destroy creational contexts via OWBInjector. OWBInjector injector = new OWBInjector(); injector.inject(instance,