Yes..I do the following:

  |      try {
  |                     InitialContext ctx=new InitialContext();
  |                     
stateful=(UserStateful)ctx.lookup("NewsCrawler/UserStatefulBean/remote");
  |              } catch (ServiceLocatorException e) {
  |                     e.printStackTrace();
  |              }
  | 

The object is looked up correctly, but it is not an instance of UserStateful. 
It is an instance of Proxy. 
>From what you can see from the JndiView it says it is an instance of 
>object...is it correct that it is an instance of Object? Shouldn't the 
>JndiView tell me that is an Instance of Proxy?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116955#4116955

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116955
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to