<br>hi, I need a slsb so I do like this:<br> ctx = new InitialContext();<br> bean = (Calculator) ctx.lookup("favorites/UsersFacade/local");<br>UsersFacade is a slsb implements UsersFacadeLocal interface. however, when it runs, I get a ClassCastException. And I find out that the looup method actually returns a Proxy class has all the methods UsersFacade has. I am very confused. Could someone tell me why this happen? thank you!
<br>