Package org.apache.geronimo.test.hello.ejb

Examples of org.apache.geronimo.test.hello.ejb.HelloRemote


        p.put("java.naming.provider.url",
              "127.0.0.1:4201");  
       
        InitialContext ctx = new InitialContext(p);
       
        HelloRemote bean = (HelloRemote)ctx.lookup("/HelloBeanRemote");
       
        String response = bean.sayHi("foo bar");
       
        System.out.println(response);
       
        assertEquals("Hello foo bar", response);

        bean.testTimerService();
    }
View Full Code Here


        p.put("java.naming.provider.url",
              "127.0.0.1:4201");  
       
        InitialContext ctx = new InitialContext(p);
       
        HelloRemote bean = (HelloRemote)ctx.lookup("/HelloBeanRemote");
       
        String response = bean.sayHi("foo bar");
       
        System.out.println(response);
       
        assertEquals("Hello foo bar", response);

        bean.testTimerService();
    }
View Full Code Here

        p.put("java.naming.provider.url",
              "127.0.0.1:4201");  
       
        InitialContext ctx = new InitialContext(p);
       
        HelloRemote bean = (HelloRemote)ctx.lookup("/HelloBeanRemote");
       
        String response = bean.sayHi("foo bar");
       
        System.out.println(response);
       
        assertEquals("Hello foo bar", response);

        bean.testTimerService();
    }
View Full Code Here

TOP

Related Classes of org.apache.geronimo.test.hello.ejb.HelloRemote

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.