This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
I m trying to load different versions of ejb-client jar files into different ClassLoaders ..
I am actually able to load the versioned valueobjects from jars, but when I invoke a method on the bean ( using reflection ) passing the valueobjects I loaded, I get a 'NoSuchMethodException'.
I think its because: the bean is loaded ( during home.create() ) by some network ( RMI ) ClassLoader and the valueobjects are actually loaded by my custom ClassLoader from jar file .. need to somehow make the valueobjects visible to the network ( RMI ) classloader. Any help is greatly appreciated ..