java - How to invoke a gwt service from c client? -


i'm looking simple way invoke gwt service c client. server side i'm using simple gwt default source:

public string greetserver(string input) throws illegalargumentexception {     // verify input valid.      if (!fieldverifier.isvalidname(input)) {         // if input not valid, throw illegalargumentexception to:         // client.         throw new illegalargumentexception(                 "name must @ least 4 characters long");     }      string serverinfo = getservletcontext().getserverinfo();     string useragent = getthreadlocalrequest().getheader("user-agent");      // escape data client avoid cross-site script vulnerabilities.     input = escapehtml(input);     useragent = escapehtml(useragent);      return "hello, " + input + "!<br><br>i running " + serverinfo             + ".<br><br>it looks using:<br>" + useragent; } 

now i've create rpc call c client call greetserver string parameter. kind of libraries have use , how can identify service (greetserver) in client side. i've found library don't know if it'll work me.

any ideas?


Comments

Popular posts from this blog

SQL php on different pages to Insert (mysqli) -

php - How can an email be returned from Stripe Checkout? -

sql - Partition elimination in Greenplum -