@Test
public void testConnectionProxy2CallJava2() throws Exception {

    Echo echo = (Echo) ConnectionFactory.getConnection(EchoImpl.class, null, null);
    assertEquals("hello world", echo.ack("hello world"));
    ((Connection) echo).end();
}