Feb 3rd, 2009, 04:52 PM
Autowire Local EJB to Spring Controller
I'm just trying to start my first J2EE application (with geronimo as appserver).
In my ear I've got an ejb with an Local Interface and an implementation. Furthermore I've got an classic spring webapp, in which I try to access the ejb defined in the ear.
I don't want to access the ejb via JNDI. I thougt it is possible to access the ejb directly, or even better, to let spring inject the ejb automatically.
Is there a way of doing this? The problem is, that I don't want to define JNDI names and properties.
Thanks in advance