Questions tagged [gwt-rpc]

Google Web Toolkit - Remote Procedure Calls

Interesting links

620 questions
87
votes
8 answers

When should I use RequestFactory vs GWT-RPC?

I am trying to figure out if I should migrate my gwt-rpc calls to the new GWT2.1 RequestFactory cals. Google documentation vaguely mentions that RequestFactory is a better client-server communication method for "data-oriented services" What I can…
Daghan ---
  • 1,158
  • 1
  • 9
  • 10
50
votes
2 answers

GWT and Google Cloud Endpoints

A few days ago I've started developing a Backend for Mobile Applications using Google App Engine and Google Cloud Endpoints. This tutorial shows how the endpoints are getting generated automatically, as well as the client library for Android. So we…
Johannes Staehlin
  • 3,550
  • 7
  • 32
  • 50
41
votes
11 answers

GWT - occasional com.google.gwt.user.client.rpc.SerializationException

we are haunted by occasional occurences of exceptions such as: com.google.gwt.user.client.rpc.SerializationException: Type 'xxx' was not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a custom field serializer.For…
user1946784
  • 1,177
  • 3
  • 13
  • 20
33
votes
7 answers

Should I build a REST backend for GWT application

I am planning a new application and have been experimenting with GWT as a possible frontend. The design question I am facing is this. Should I use Option A: GWT-RPC and build the app quickly Option B: Build a REST backend using Spring MVC 3.0 with…
ams
  • 52,592
  • 57
  • 169
  • 252
29
votes
6 answers

SerializationException: type not included in serializable type set

In my Google Web Toolkit project, I got the following error: com.google.gwt.user.client.rpc.SerializationException: Type ‘your.class.Type’ was not included in the set of types which can be serialized by this SerializationPolicy or its Class object…
bspoel
  • 1,508
  • 2
  • 12
  • 21
29
votes
4 answers

Super Dev mode in GWT

I'm new to gwt. I don't know how to start up Super Dev mode. I need the detailed explanation step by step. I have tried editing gwt.xml file by adding
nmkyuppie
  • 1,326
  • 1
  • 13
  • 30
25
votes
1 answer

Bad GWT Request Factory performance for list of objects

I am transferring a list of objects to the client with GWT Request Factory. The objects contain only a couple of strings and the list does only contain 20 objects. To transfer this small list of data, it takes over a second. First I thought the…
jan
  • 3,495
  • 8
  • 30
  • 72
22
votes
2 answers

What is the purpose of the IsSerializable interface in GWT (regarding the RPC mechanism)

What is the purpose of the IsSerializable interface in GWT (regarding the RPC mechanism). I have never been able to find a good explanation as to why it is the way it is and why the default Java Serializable tagging interface does not work.
benstpierre
  • 30,487
  • 46
  • 163
  • 272
21
votes
10 answers

SerializationPolicy error when performing RPC from within GWT application

I'm getting the following exception: com.google.gwt.user.client.rpc.SerializationException: Type 'java.lang.Long' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For…
Tyson
  • 959
  • 1
  • 6
  • 14
21
votes
6 answers

Sending persisted JDO instances over GWT-RPC

I've just started learning Google Web Toolkit and finished writing the Stock Watcher tutorial app. Is my thinking correct that if one wants to persist a business object (like a Stock) using JDO and send it back and forth to/from the client over RPC…
CodeAndCats
  • 6,372
  • 7
  • 38
  • 57
20
votes
8 answers

Problems passing class objects through GWT RPC

I've run through the Google Web Toolkit StockWatcher Tutorial using Eclipse and the Google Plugin, and I'm attempting to make some basic changes to it so I can better understand the RPC framework. I've modified the "getStocks" method on the…
Templar
  • 4,857
  • 7
  • 30
  • 37
17
votes
4 answers

Experiences with integrating spring 3 mvc with GWT?

Given: Spring 3.0 mvc has excellent REST support with one of the representation being JSON. GWT simplifies development as UI is developed in java. But by default it uses RPC for client server interaction. But there is an option to use…
MountainRock
  • 594
  • 1
  • 8
  • 24
14
votes
2 answers

Difference between gwt, gwt-rpc, ext-gwt, smart gwt

I would like to know the difference between GWT, GWT-RPC, EXT-GWT and Smart GWT. Currently, I managed to borrow books on GWT which I understand is just a library designed to facilitate fast and efficient Ajax (asynchronous JavaScript and XML)…
JCX
  • 1,339
  • 4
  • 16
  • 21
14
votes
3 answers

gwt - Using List in a RPC call?

I have a RPC service with the following method: public List myMethod(TransactionCall call) {...} But I get a warning when this method is analyzed, and then the rpc call fails Analyzing 'my.project.package.myService' for…
Garagos
  • 578
  • 4
  • 16
11
votes
4 answers

GWT RPC - Does it do enough to protect against CSRF?

UPDATE : GWT 2.3 introduces a better mechanism to fight XSRF attacks. See http://code.google.com/webtoolkit/doc/latest/DevGuideSecurityRpcXsrf.html GWT's RPC mechanism does the following things on every HTTP Request - Sets two custom request…
Sripathi Krishnan
  • 29,496
  • 4
  • 69
  • 81
1
2 3
41 42