The exception of compatabability obve is resolved. Client Now I got another exception: Exception in thread "main" javax.ejb.EJBException: Invalid invocation of local interface (null container) at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:77) at $Proxy0.test(Unknown Source) at com.wei.chen.TestClient.main(TestClient.java:27)
And here is my code of "TestClient.java": ... Context context; try { context = new InitialContext(); MyBeanLocal beanLocal = (MyBeanLocal) context.lookup(TestMyBean.LocalJNDIName); beanLocal.test("Wei Chen"); } catch (NamingException e) { e.printStackTrace(); } ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149329#4149329 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149329 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user