Makes sense, but how do i detect an hot-deploy so i can re-init my static vars?
Note that to keep this generic, all my statics variables are interfaces, so that assigning a specific implementation to them can be tucked away in an application-specific class.
I need a one-stop location in which I can basically re-run system-initialization procedures.
BTW, I also noticed that my MDB's have no access to the static vars initialized by Ejb's called by my servlets. & I don't have ThreadLocals anywhere....
Thanks a lot....