Reputation: 1
I have a class called Person in jar JAR-1, and JAR-2 Then how do i set to execute the Person Class from JAR-2 at runtime in tomcat web server?.
Thanks in advance.
Upvotes: 0
Views: 64
Reputation: 393
You can always write your own ClassLoader and chain it with the standard ClassLoader and would use the custom classloader to load from either client.dev or prod otherext . http://download.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html
Upvotes: 1