This week's book giveaway is in the Agile forum.
We're giving away four copies of Head First Agile and have Andrew Stellman & Jennifer Greene on-line!
See this thread for details.
Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB n classloading ..  RSS feed

Sab Giri
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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 ..

EJB container: Weblogic8
JDK: 1.4.2_10

Thanks in advance,
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!