0 Replies Latest reply on Oct 20, 2005 11:04 AM by hfan1

    re: naming lookup issue in ejb 3.0

    hfan1

      I am new to ejb3.0, I just deployed a ejb3.0 app to jboss 4.0.3. when i run the client app, i got following error generated from my lookup codes:

      java.lang.ClassCastException: $Proxy61
      .......

      here is the lookup code in my client:

      InitialContext ctx = new InitialContext();
      ShoppingCart cart = (ShoppingCart)ctx.lookup(ShoppingCart.class.getName());

      ......

      I don't know why there is this exception and what is "$Proxy61"?