KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > test > remoting > transport > http > HTTPInvokerTestClient


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.test.remoting.transport.http;
8
9 import org.jboss.test.remoting.transport.web.WebInvokerTestClient;
10
11 /**
12  * @author <a HREF="mailto:tom.elrod@jboss.com">Tom Elrod</a>
13  */

14 public class HTTPInvokerTestClient extends WebInvokerTestClient implements HTTPInvokerConstants
15 {
16    public String JavaDoc getLocatorURI()
17    {
18       return transport + "://" + host + ":" + port;
19    }
20
21    public static void main(String JavaDoc[] args)
22    {
23       HTTPInvokerTestClient client = new HTTPInvokerTestClient();
24       try
25       {
26          client.testInvocation();
27       }
28       catch(Exception JavaDoc e)
29       {
30          e.printStackTrace();
31       }
32    }
33
34 }
Popular Tags