I have run into a problem while moving our internal support applications to the spring framework from perl scripts.
In our older applications, we have an object which connects to a custom socket server and then is shareable across the application. This is done, as it is very expensive to initialize the custom socket session.
In the spring framework, how do I approach creating a shared object which initializes on startup, can be used in setter injection, and is shareable across http sessions?
I am not sure if this is the right part of the forum to post this, so please excuse if this is not the proper place.


Reply With Quote