Questions tagged [gwt-rpc]

Google Web Toolkit - Remote Procedure Calls

Interesting links

622 questions
6
votes
1 answer

What are pros and cons of gwt? And why should I should choose it to use?

I am still a beginner in GWT. I want to know preferable features of GWT rather than other frameworks. And has there any advantages or disadvantages on using GWT ? I asked this question due to below external links... Pros and Cons of Google Web…
Cataclysm
  • 7,592
  • 21
  • 74
  • 123
6
votes
3 answers

Sending a date and timezone from GAE server to GWT client

OK folks, I have been going around this problem for about 2 weeks now trying everything I can think of and looking at tons of answers on here that feel like they are going to answer it, but I just cant work out how I am meant to do what I am trying…
johnvdenley
  • 739
  • 1
  • 7
  • 16
5
votes
1 answer

How to send any Serializable object to the client side in GWT

Imagine that you want to send any Serializable class to the client side of your GWT application, with the use of a DTO: public class MyDTO implements Serializable { public Serializable value; } Also, anything that gets used as value will be…
levivanzele
  • 726
  • 1
  • 13
  • 33
5
votes
3 answers

What's the Best Way to Design a "Platform-Independent" GWT Server?

What's the best way to design a Java server architecture that interacts with a client-side GWT application, but also responds correctly to various other client-requests from other platforms? Specifically, I'd like to use the same servlet layer to…
Eternal Rubyist
  • 3,445
  • 4
  • 34
  • 51
5
votes
3 answers

Fake a GWT Synchronous RPC call

First of all, I know that doing a synchronous call is "wrong", and know that "is not possible". But, in a situation a lot complex (i dont know how to explain), i need to wait the response from server, I'am using the GWT-Platform command…
caarlos0
  • 20,020
  • 27
  • 85
  • 160
5
votes
1 answer

ClassNotFoundException on GAE with GWT RPC

I'm using PlayN to develop a game. It contains a type,GameEvent, defined in my-game-core project. My GWT and GAE code lives in my-game-html, which has my-game-core as a Maven dependency. Here is the service impl: package…
Nick Heiner
  • 119,074
  • 188
  • 476
  • 699
5
votes
2 answers

GWT - how can client detect that it's javascript is out-of-sync if server is updated

I have a GWT application where users keep the browser based side of the application open indefinitely. Every so often we upgrade the application - if the users hit reload in their browsers after this is done then everything goes fine. However what…
George Hawkins
  • 37,044
  • 7
  • 30
  • 43
5
votes
1 answer

JBoss Errai, should I replace all my GWT-RPC client calls with it?

Is there still any benefit to using GWT-RPC to do my client-side calls if I have JBoss Errai (which I downloaded in order to do server push)? Or would I lose nothing if I just used Errai calls for everything, client and server side? Can it send all…
Navigateur
  • 1,852
  • 3
  • 23
  • 39
5
votes
1 answer

Using RPC serialization/deserialization mechanism built in GWT

I am developing GWT offline application using HTML5 Local Storage. I would like to cache/store the transfer objects using com.google.gwt.storage.client.Storage (introduced in version 2.3). But the problem is that as for now (version 2.3) the Storage…
AKFA
  • 170
  • 11
5
votes
1 answer

How to get image with servlet and display it using GWT Image class?

I'm using the following code as part of the GWT server-side class (servlet) for GWT-RPC. private void getImage() { HttpServletResponse res = this.getThreadLocalResponse(); try { // Set content type …
Fotinopoulos Giorgos
  • 1,027
  • 3
  • 17
  • 36
5
votes
3 answers

com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException

I have a problem with my GWT application. I deploy on Jetty server and it runs. But when I perform a server call (class on server package of GWT), the server returns an error message. The message…
Jose Hdez
  • 2,297
  • 7
  • 38
  • 52
5
votes
2 answers

Need help debugging GWT - Jetty 'unknown realm'

I am trying to debug a GWT application, but it seems I can't do it with jetty. Whenever I try to run it in hosted mode for debugging I get an 'unknown realm' 500 error message (nothing loads). I am doing this via eclipse. It is very uncovenient to…
grasshopper
  • 3,988
  • 3
  • 23
  • 29
5
votes
3 answers

How to know if an object is 'too large' for RPC in GWT and IE8?

I have an app that works fine in Firefox but when I tested in in IE8, I got a strange error : 'Stack overflow at line: 0' After a suggestion from the GWT discussion group that it could be related to large/complex objects being returned from RPC…
user26270
  • 6,904
  • 13
  • 62
  • 94
5
votes
1 answer

class.getAnnotation and getAnnotations doesn't work properly

Class SecureDispatchService from gwt like this: @RemoteServiceRelativePath("dispatch") public interface SecureDispatchService extends RemoteService { Result execute( String sessionId, Action action ) throws…
Jerry Z.
  • 2,031
  • 3
  • 22
  • 28
5
votes
4 answers

GWT: Populating a page from datastore using RPC is too slow

Is there a way to speed up the population of a page with GWT's UI elements which are generated from data loaded from the datastore? Can I avoid making the unnecessary RPC call when the page is loaded? More details about the problem I am…
Ilya Boyandin
  • 3,069
  • 25
  • 23