I need to reload the classes I used in my programm during work. I read some articles about this technique, but I didn't clearly understand what I need to do this.
My program work as follows: It's server, which accepts connections from client. When client connect to server, ObjectInputStream is opened. Then I read request from this stream, process it and send back to the client.
How can I organized class reloading in this program?
Do you mean that implementation changes so you re-compile the file and now need to unload the currently loaded class file from JVM and load newly compiled one?
Also are you using any App Server, or Web Server or written your own Server programme?