I'm developing an J2EE Application which will use by web clients standalone clients which will be located on different virtual maschines. The remoting will (for various reasons) be done by EJBs, using some of the spring tools as far as apropriate.
On the service tier, I'm planning to use POJOs via Spring, for all business logic which cannot be accessed via remote calls. On the client tier I'm still asking, if I need Spring at all. Now I'm wondering where I should set up the application context on the BusinessTier. In case of a single virtual maschen I can setup an XMLWebApplicationContext, which I can initialize via servlet. But how can I create an ApplicationContext on the BusinessTier and where should I store it?