• Post Reply Bookmark Topic Watch Topic
  • New Topic

Loading objects using different classloaders  RSS feed

 
Alok Pota
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have 2 web-apps which share a common object. I want to store that
common object in a common cache accessible to both web-apps. The problem
is the 2 web-apps have a different classloader, so how do I return an
object that was stored by web-app1 to be used with web-app2 without getting a ClassCastException
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!