Questions tagged [gwt-syncproxy]

GWT uses asynchronous RPC between client (e.g Browser) and RemoteService servlet. GWT SyncProxy provides synchronous RPC between Java client and RemoteService servlet. By using SyncProxy, we can invoke the GWT RemoteService methods from pure Java (no JSNI) code.

GWT uses asynchronous RPC between client (e.g Browser) and RemoteService servlet.

GWT SyncProxy provides synchronous and asynchronous RPC between Java client and RemoteService servlet. By using SyncProxy, we can invoke the GWT RemoteService methods from pure Java (no JSNI) code. The library also has a separate Android Library jar which can be used to make similar calls from the Android environment.

13 questions
6
votes
2 answers

GWT and Android communication. Enum serialization issue

I have a perfectly working GWT application. Now I am trying to use gwt-syncproxy to create an Android client which can simply reuse the server side code. So far everything was working perfectly. The only problem that I can find is when I start RPC…
Baz
  • 36,440
  • 11
  • 68
  • 94
1
vote
1 answer

Using SyncProxy to test services : "IOException while receiving RPC response"

I am currently trying to use the SyncProxy library to test services of my app, in order to do load testing with JMeter. The app works fine, I am running it on localhost. The problem comes when I try to use SyncProxy in my JUnit tests, they…
krakig
  • 1,515
  • 1
  • 19
  • 33
1
vote
1 answer

gwt-syncproxy can't connect to the address

i'm writing a java project in GWT in eclipse of a car rental agency . I need to trade info between 2 agencies(server), like the lists of the cars available for rent , and i got suggested to use the gwt-syncproxy . Description from the site: GWT…
user2298581
  • 532
  • 3
  • 11
  • 37
0
votes
2 answers

GWT - RPC SerializationException with class object

I am currently trying to use the SyncProxy library to test services of my app, in order to do load testing with JMeter. The app works fine, I am running it on localhost. I already managed to make some calls, but only when the parameters where this…
krakig
  • 1,515
  • 1
  • 19
  • 33
0
votes
0 answers

Accessing GWT Webapp from a normal webapp through syncproxy

We had a java application which accessed GWT server code with SyncProxy 0.3 and GWT 2.6.0. After putting the null.gwt.rpc file in the root of the bin directory it worked fine. We are now trying to use a normal Webapp (not GWT) to acesss the GWT…
0
votes
1 answer

Error POLICY_NAME_POPULATION

We have a gwt web application and now we are developing the android application for the same web application. In this we are trying to use the server side code of the web application and for that we are using SyncProxy (to connect android…
Piyush Srivastava
  • 357
  • 1
  • 4
  • 21
0
votes
2 answers

GWT syncProxy: createProxy MethodNotSupportedException

I want to perform simple unit tests in Java for my server using GWT-RPC. I have created a GWT project (GWT 2.7) in Eclipse (with the default GreetingService). It works and I can start it as a servlet in a Tomcat server. Next I have created an…
sebastien
  • 2,489
  • 5
  • 26
  • 47
0
votes
0 answers

How to call gwt servlet from native java?

GWT code is a part of UI as an iframe. Now when the page is logged out, It should somehow call the gwt servlet code in the background and to invalidate the session. I have tried syncproxy, gwtrpccommlayer, But it didnt work since objects for the…
0
votes
4 answers

Unable to get gwt-syncproxy working

I'm trying to get a very simple gwt-syncproxy example to work in Eclipse Developer Mode. I created the sample GWT/GAE project and named it "testgwtrpc". I verified that this works to send a greeting and receive the server's response. I created the…
ptflix
  • 83
  • 8
0
votes
1 answer

How to integrate GWT-RPC, Android and GAE?

I want to build a AppEngine GWT RPC app connected with an Android project with the RPC calls enabled between the server, GWT interface and the Android device. I know that is possible, but I still couldn't figure out how to do it. Can anyone explain…
Gigi
  • 353
  • 3
  • 10
0
votes
2 answers

GWT-SyncProxy for android : No remoteService in the classpath

In android client consuming my LoginService remote service, in order to connect user to the application. I use gwt-syncproxy librairie to acces to my remote interface. And the following warning occured: RpcPolicyFinder:No RemoteService in the…
user3679872
  • 121
  • 1
  • 1
  • 4
0
votes
1 answer

LoginUtils gwt-syncproxy

I've been trying to connect my Android app to the AppEnging, following this page https://code.google.com/p/gwt-syncproxy/. According to that page, I should : CookieManager userSession =…
Lorm
  • 227
  • 1
  • 4
  • 9
0
votes
2 answers

gwt-syncproxy - RPC between WebProject and Android App

Im trying to get my Android app to communicate with my GWT WebProject (GWT 2.5.1)... generally i have it nailed down from a code perspective but i keep having code import problems... Initially I would get a NoClassDefFoundError on the RPCService and…