Google Web Toolkit - Remote Procedure Calls
Questions tagged [gwt-rpc]
622 questions
5
votes
2 answers
Chat client with GWT
What would be the best way to create a JS chat client with GWT? The bit that I'm having trouble with is the persistence and transfer of the messages. Should I store the messages in a DB and check the db for new messages? Is there a much better way…

Matthew H
- 5,831
- 8
- 47
- 82
5
votes
3 answers
BigDecimal serialization in GWT
What is your preferred approach to serializing BigDecimal in GWT?
Are there any clever workarounds, or do you simply use Double or String?
Of all of the GWT pains this is so far the biggest; I'd hate to create two models, one for server and one for…

Domchi
- 10,705
- 6
- 54
- 64
5
votes
2 answers
Remote Service in gwt is executed twice
I'm making a call to a service with GWT.
In the client side I made only one call to the method, but in the server-side, the method in the service is called twice.
I debugged the client side with GWT-Tools in Firefox; and when I call once the method,…

Pedro Náñez
- 439
- 8
- 12
5
votes
4 answers
GWT + GAE/J, sending JDO objects through the wire, but how?
I'm having a problem. I would like to create Document object, and I would like to have a user property with com.google.appengine.api.users.User type (on GAE's docs site, they said we should use this object instead of email address or something else,…

Bálint Kriván
- 273
- 2
- 6
4
votes
2 answers
Is it possible to upload a file via GWT RPC Servlets?
is it possible to create a file upload with Googles GWT RPC mechanism?
As now I'm using a simple HTTPServlet with a doPost Method which gets addressed from the form!
Is it (without the help of libs like gwtupload) possible to upload a XML file via…

mybecks
- 2,443
- 8
- 31
- 43
4
votes
0 answers
BrowserChannel$RemoteDeathError: Remote connection lost in GXT
. . .
i created a gxt project and i made RPC mechanism for Retrieve data But it works fine at first time even RPC call also.
But after that it doesnt while clear cache memmory it works in mozilla but not in crome.
My Error is follows help me…

Amith
- 1,907
- 5
- 29
- 48
4
votes
3 answers
GWT serialization exception
I have a simple service method which returns ArrayList. However when I call this method, I am getting an exception as follows:
com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: The response could not be deserialized
at…

osome
- 41
- 1
- 2
4
votes
1 answer
Spring Method Level Security fails on second call
I want to use method level security on my GWT application. I'm trying to use Spring Security 3.1, as I found a working example here, but it doesn't use form-login. After reading this answer the first method call successfully obtains the…

WhiteKnight
- 4,938
- 5
- 37
- 41
4
votes
1 answer
GWT-RPC and immutable transfer objects
GWT-RPC requires that transfer objects to be serialized must have a default (zero-argument) constructor. Similarly, final fields will not be serialized (see issue 1054).
On the other hand, I know I am supposed to "minimize mutability". My tendency…

Ray
- 4,829
- 4
- 28
- 55
4
votes
3 answers
GWT RPC Warning: servlet has mapping, but web.xml has no corresponding mapping
I'm having a strange issue with GWT-RPC. I setup an Async RPC handler that is working fine. But when I run my server (using ant devmode) I get the following warning:
[WARN] Module declares a servlet class 'x.y.server.LoginServiceImpl'
with a…

Travis Webb
- 14,688
- 7
- 55
- 109
4
votes
3 answers
GWT: XSRF: Sporadic missing X-GWT-Permutation header
My application receives occasional XSRF Attack errors raised by GWT when RemoteServiceServlet.checkPermutationStrongName() fails to find a X-GWT-Permutation HTTP Header in the HttpServletRequest. When the error occurs, the following line appears in…

manstis
- 123
- 1
- 7
4
votes
1 answer
How to write a test for GWT servlet?
I have an GWT application, with few servlets on the server side. I would like to test those servlets (without the need to make GUI tests with Selenium, or any other web-based framework). Or in other words I want the test to simulate the client side…

damwas
- 41
- 5
4
votes
1 answer
HTTPSession with GWT
I'm new in GWT ... I would like to implement sessions in my Web App
Basically I want that a session starts at the click of a button (handle an event) and ends at the click of another button (other handle an event).
It's possible?
How to do it step…

JackDaniels
- 77
- 1
- 2
- 7
4
votes
2 answers
Extremely strange behavior in Internet Explorer with large GWT app
I have a loader on my page which is removed once I receive a successful response to my RPC. If the RPC call fails, the page is instantly refreshed.
Anytime I load my page for the first time in IE 7 or 8, it will never load AND never reach the rpc…

D-Nice
- 4,772
- 14
- 52
- 86
4
votes
1 answer
Tips for optimizing performance on a very sluggish GWT app for mobile browsers
His,
Could maybe some of you share their experiences of mobile development on GWT?
We are developing a pretty interactive website with lots of clickable panels/buttons and experiencing tremendous browser sluggishness. It is a virtual no-go,…

d56
- 825
- 1
- 9
- 26