While doing Session handling in servlets, I am facing classCastException problem. I am referencing session bean from that servlet. Suggetst me possible solutions to remove that exception. Mak
Which Application server are you using ? Looks like a class loader problem : some application servers use different class loaders for ejb and other objects.
Need more information .. like the exact activity which is giving exception.. 1. may be u are really making a mistake of casting to wrong class. 2. or the class files are not latest..you need to delete the old classfiles and rebuild( the relevent one).. 3. or if it is a bean component class ..like remote,home or bean itself.. rebuild the bean...
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.