Hi, I have a servlet which depnds/calls interface of EJB stateless session bean. They are deployed separately.
Now, whenever I change implementationof the bean (not its interface) I get an error java.lang.ClassCastException: $Proxy114 as a result of lookup operation from the servlet. Once I re-build the servlet the problem is gone.
But my expectation would be that if interface stayed unchanged it should work without the need to re-build all dependent modules. Should it be that way?