Package org.jboss.embedded.test.remote

Examples of org.jboss.embedded.test.remote.Test


   {
      Hashtable env = new Hashtable();
      env.put(Context.INITIAL_CONTEXT_FACTORY, org.jboss.naming.JBossRemotingContextFactory.class.getName());
      env.put(Context.PROVIDER_URL, "socket://172.16.83.75:3873");
      InitialContext ctx = new InitialContext(env);
      Test test = (Test)ctx.lookup("TestBean/remote");
      assertEquals(test.echo("hello world"), "hello world");
   }
View Full Code Here

TOP

Related Classes of org.jboss.embedded.test.remote.Test

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.