title: Hot swapping the jar files in java
body: <p>I have two jar files.
  One.jar contains main method to start the process and other two.jar contains just class files.</p>
  
  <p>In One.jar I have referenced two.jar in its manifest classpath.</p>
  
  <p>One.jar contains mechanism to dynamically load the classes using Class.forName()</p>
  
  <p>I want to deploy the One.jar only once for lifetime. Will not be making any changes to it.</p>
  
  <p>Changes will be happening only in two.jar</p>
  
  <p>I want to hot swap the two.jar with updated two.jar. I have seen other posts about hot swapping too like OSGi, hotswap for ANT but nothing helps me.</p>
  
  <p>After a little research found out that JRebel does this really better but I really dont know how to integrate it with these jars? I am stuck on this for almost 2 days. Just need few steps of info to get this done. Someone help me please... This is really very important to me... Thanks</p>