[jboss-user] [EJB 3.0] - How to inject EJBs with custom injector?

jaikiran pai do-not-reply at jboss.com
Mon Aug 23 04:55:53 EDT 2010


jaikiran pai [http://community.jboss.org/people/jaikiran] replied to the discussion

"How to inject EJBs with custom injector?"

To view the discussion, visit: http://community.jboss.org/message/558533#558533

--------------------------------------------------------------
Christian, welcome to the forums.
> Christian Strempfer wrote:
> 
> 
> Should trigger:
> return ServiceLocator.findEJBService(TestService.class, "ejb/TestService")
> 
> 
> 
>  
> 
> My intention is to keep the deployment transparent for the developers. They can use @EJB as normal, but will end up using the service locator.
Isn't it already transparent? I mean each developer just has to do @EJB. That's it! I'm not sure I understand the rationale behind using the ServiceLocator.

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/558533#558533]

Start a new discussion in EJB 3.0 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100823/f5d93c2c/attachment.html 


More information about the jboss-user mailing list