| Author |
How to inject EJB3 as constructor argument with Spring configuration
|
sam White
Ranch Hand
Joined: Feb 18, 2011
Posts: 204
|
|
Hi,
I don't know how to inject an EJB3 bean into constructor parameter via Spring configuration.
Here is my controller:
CategoryManager.java is an Interface:
CategoryManagerImpl.java is a session bean:
mvc-dispatcher-servlet.xml file:
but the above jee: tag causes syntax error. However I think it is not right to use jnid-lookup for ejb3 bean in this case?
web.xml file:
Any suggestion is very appreciated.
Thanks
Sam
|
 |
 |
|
|
subject: How to inject EJB3 as constructor argument with Spring configuration
|
|
|