I am working on the Enterprise java project which includes Jsf (in the front end i.e web layer), EJB on the back end. The architecture will roughly go like this
jspx->Jsf action classes->EJB service beans->helper classes to process business logic --> DAO layer.
Now I want to implement Spring IOC between EJB and Dao layer. I have written a application context file with all required beans and injections. But my question is that where to define this application context file?
I know that it should be defined in web.xml under
if it is the web project but I am implementing this on enterprise layer rather than web layer could any can help me out on this please