Thanks David, I am posting again the code with code tags. We have a hava swing client/server application that uses Spring for remoting.
I am trying to understand how the application context is getting created on server side. Also, what is the purpose does an applicationContextAware class does. Note, we have 2 XML files, 1. business-servlet.xml (has business objects) and the other is weather-client.xml(has proxy beans).
My question is when the BeanRegistry is instantiated does it use weather-client.xml to create the application context ???
Appreciate your help with this.
Here is web.xml
As seen above, web.xml does not have any spring listeners. This is all it has.
business-servlet.xml contains a BusinessRegistry as seen below
Also the business-servlet.xml, contains a Bean - BusinessRegistry class
abstractServerRemotingBean is an HttpInvokerServiceExporter
BusinessRegistry is applicationcontextaware that has a BeanFactory defined in it