[jboss-user] [EJB 3.0] - Re: Can you Inject Local EJB from separate ear file?

jaikiran do-not-reply at jboss.com
Fri Jul 11 05:01:55 EDT 2008

anonymous wrote : @EJB(name="NexusEvents/NexusEventsServiceImpl/local")
  | 	NexusEventsService nexusEventsService;	

Is NexusEvents/NexusEventsServiceImpl/local, the JNDI name of your NexusEventsService? If yes, then try this:

  | 	NexusEventsService nexusEventsService;	

Note the use of mappedName in the injection.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4163804#4163804

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4163804

More information about the jboss-user mailing list