I need to invoke method from a remote session bean from client using reflection API. I've tried:
| Method method = clazz.getMethod(MySession.class, null); | MySession s= (MySession) ctx.lookup(...); | Object o = method.invoke(s, args); Of course it does not works since s is neot an instance of MySession but a Proxy on MySession. How can I invoke a method of a remote session bean using reflection ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923307#3923307 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923307 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
