-
1. Re: Injection @In in Web Services EJB doesn’t inject component
pomcompot.pomme_compote-seamframework.yahoo.fr Jan 27, 2010 2:44 PM (in response to pomcompot.pomme_compote-seamframework.yahoo.fr)It seems that the component is well created by Seam. I see it now in the log but still unable to inject it.
-
2. Re: Injection @In in Web Services EJB doesn’t inject component
pomcompot.pomme_compote-seamframework.yahoo.fr Jan 27, 2010 3:18 PM (in response to pomcompot.pomme_compote-seamframework.yahoo.fr)I think I begin to understand where the problem come from. If entities-ejb is well managed by Seam and injections are correctly done, it’s not the case of ws-ejb. All my injections, even classical ones (entityManager for instance) miserably fail in this project. Some configuration which is missing perhaps but can’t find what.
-
3. Re: Injection @In in Web Services EJB doesn’t inject component
idyoshin Jan 27, 2010 3:22 PM (in response to pomcompot.pomme_compote-seamframework.yahoo.fr)As I can see SampleEndPoint isn't managed by Seam container at all! so there would not be seam injections. simply Add @Name(
sampleEndPoint
) annotation to your class.Regards,
Ilya Dyoshin
-
4. Re: Injection @In in Web Services EJB doesn’t inject component
pomcompot.pomme_compote-seamframework.yahoo.fr Jan 27, 2010 4:15 PM (in response to pomcompot.pomme_compote-seamframework.yahoo.fr)I finally achieve to solve my problem just before you post your – right – answer :-). I have not made this component Seam managed (don’t know if there is side effects with JBoss WS) but used Component.getInstance(…) instead. Quite the same thing in fact. Found the solution here: http://www.digitalsanctuary.com/tech-blog/java/web-services-and-seam.html.
-
5. Re: Injection @In in Web Services EJB doesn’t inject component
davidfdr.davidfdr.gmail.com May 22, 2010 3:39 AM (in response to pomcompot.pomme_compote-seamframework.yahoo.fr)I having the same problem.
Only Component.getInstance() works with seam 2.1.2.
http://www.seamframework.org/Community/JbossWSWebserviceInForInjectionNotWorking (My Post)
I want to use @In annotation. Any idea?