Thx for your reply. In fact, my situation is, I have deployed my web app onto the productin server. And then a problem that had never happened on the
testing enviroment happens. I want to modify the program, a particular class for retriving DB connection, but I have no right to restart the app server. So I wonder if there is other way round.
I know that once an application starts up, classloader will begin to load classes into JVM. And I am quite sure that particular class has already been loaded. I understand that once a class is loaded into JVM, it's no use to modify the .class file. But I just see if, and hope that, I am wrong.
I am using a JRun 3.0 server. It's not following
J2EE completely. You cannot restart an application alone. You have to restart the whole app server instance.