Bootstrap Spring in a J2ee Application.
I have seen documented a nice declarative approach to bootstap Spring (load the application context xml) in a web-app through the web.xml like so:
I have a enterprise app deployed as an ear file but with no web-app element. Is there any declarative way to bootstap Spring in such an application? Can anyone suggest a nice clean way to bootstrap Spring in an enterprise app.
Any suggestions are most welcome.