title: How to replace classes in a running application in java ?
body: <p>Say I have a class named <code>NameGenerator</code>. I can use this to generate names according to a given logic. Then I write a <code>TestNameGeneration</code> class with a method that asks for a letter from the user and generate a name in accordance. Now I want to change the logic in <code>NameGeneration</code> class and apply that particular change without stopping the application.</p>
  
  <p>I did this to learn more about class loaders and can someone please explain the key concepts that I have to learn to do something like that or site any references ?</p>