[ajug-members] multiple jar versionsfor one application

Kammy brohemx at yahoo.com
Thu May 1 11:02:09 EDT 2008


have you tried looking at the classloader class?  That may help.

http://72.5.124.55/docs/books/tutorial/ext/basics/load.html

kammy wesley


--- On Thu, 5/1/08, Chris Abney <Chris.Abney at theice.com> wrote:

> From: Chris Abney <Chris.Abney at theice.com>
> Subject: [ajug-members] multiple jar versionsfor one application
> To: ajug-members at ajug.org
> Date: Thursday, May 1, 2008, 10:25 AM
> Does any one know of a good way to access multiple versions
> of the same
> Jar file from one application.
>  
> For example:
> 
> 
> public class myClass {
> :
>    public void doIt() {
>       org.chrisabney.functors.WorkerBee daddyBee = new
> org.chrisabney.functors.WorkerBee();  //The older version 
>       org.chrisabney.functors.WorkerBee sonBee   = new
> org.chrisabney.functors.WorkerBee();  //The newer version
> 
>       daddyBee.doIt(); //The old boring way
>       sonBee.doIt();   //The new wacky way
>    }
> }
>  
> 
>  
> 
> Chris Abney
> 
> 
> _______________________________________________
> ajug-members mailing list
> ajug-members at ajug.org
> http://www.ajug.org/mailman/listinfo/ajug-members



More information about the ajug-members mailing list