Questions tagged [gwt-rpc]

Google Web Toolkit - Remote Procedure Calls

Interesting links

622 questions
4
votes
3 answers

GWT Visualization best practice

I'm new with Google Visualization for GWT and I need help. Can someone tell me which is best pratice to transfer DataTable (data for visualization) with GWT RPC. Cause DataTable is not serializable, and I have a lot of data. I want to use GWT…
Shime
  • 41
  • 2
4
votes
2 answers

Manually generating x-gwt-rpc from Python

I want to access a GWT service from a Python script, so I want to generate a x-gwt-rpc request manually. Can't seem to find any info on the format of a GWT RPC call, since everybody does it from Java (so the call is generated by the framework).…
ibz
  • 44,461
  • 24
  • 70
  • 86
4
votes
1 answer

GWT RPC Call gets return object from another GWT RPC call

I have a strange issue (hope you can help): I am working on a GWT Web Application that has times when more than 4 - 5 GWT RPC calls are made in the same time - as far as time is concerned. Every once in a while - once every 15 calls maybe? The…
Alex
  • 311
  • 2
  • 17
4
votes
1 answer

Decoding the *.gwt.rpc file generated as per GWT's serialization policy

I'm trying to do a bit of background reading on GWT RPC serialization policy and found that GWT whitelists the serializable types in a *.gwt.rpc file post compilation. The following is an excerpt of one such .gwt.rpc file generated in my…
Priyanka.Patil
  • 1,177
  • 2
  • 15
  • 34
4
votes
2 answers

Is making a GWT asynccallback in a constructor safe?

Assuming the constructor runs in the client part of the code (the one that gets translated to javascript). The callback method onSuccess does modify the instance variables of the class. The callback is implemented as an anonymous class so the…
Janek
  • 1,441
  • 2
  • 19
  • 28
3
votes
5 answers

reading a file on client side in GWT

I want read the content of file and store it in array. I have a code to browse a file using formPanel and formupload. How to read a file and store in array. Any sample code will be of great Help.
NewCodeLearner
  • 738
  • 3
  • 14
  • 38
3
votes
1 answer

GWT integration in existing Java EE application

I am new to GWT. I have developed a GWT application in version-1.6.4 and it is working fine. Now I want to integrate with that project in existing Java EE application. I don't know how to go ahead. Where to copy the GWT source code in this existing…
DonX
  • 16,093
  • 21
  • 75
  • 120
3
votes
1 answer

Suggest Addresses in a SuggestBox in GWT/Java

I want to define a SuggestBox, which behaves like the search bar in Google Maps: When you begin to type, real addresses, starting with the typed letters, appear. I think, that I need to use the Geocoder.getLocations(String address, LocationCallback…
3
votes
3 answers

Why do GWTRPC *Service Interface classes go in ".client" package instead of ".shared"?

Looking at the GWT sample apps and the RPC tutorial the following package conventions are used: ./client/GreetingService.java ./client/GreetingServiceAsync.java ./server/GreetingServiceImpl.java Though the GWT docs are very sparse on best-practices…
Eric
  • 836
  • 1
  • 11
  • 18
3
votes
5 answers

How to Implement progressbar with GWT?

In a GWT application, I have a long process that runs server side and invoked using rpc(GWT dispatcher) and I want to have a feedback to the Client as a progress bar showing messages and the total progress. My question is how to recover messages and…
user405458
  • 1,107
  • 3
  • 24
  • 38
3
votes
1 answer

Java GWT remoteLoggingServlet - can I configure java.util.Logging to send this to a log file?

Is it possible to get messages received on the server, from client side logging via the remoteLoggingServlet in GWT to write to a file? http://code.google.com/intl/es-ES/webtoolkit/doc/latest/DevGuideLogging.html#Remote_Logging I have GWT Logging…
Chris Lalande
  • 213
  • 2
  • 12
3
votes
4 answers

How do I get HttpServletRequestObject in the @service class

I'm successfully able to integrate Spring and Spring4GWT. Everything is working fine. The only problem I'm facing is How do I get HttpServletRequestObject in the @service class? Some of the configuration and code web.xml
user783789
  • 81
  • 1
  • 4
3
votes
1 answer

ImmutableCollection declarations for GWT-RPC serialization

My understanding is that DTOs to be serialized for GWT RPC ought to declare their fields of the lowest possible implementation type for performance reasons. For example, one should favor ArrayList over List or Collection, in defiance of the advice…
Ray
  • 4,829
  • 4
  • 28
  • 55
3
votes
1 answer

jreLeakPrevention.gcDaemonFail Error while running GWT application

Getting error while running a simple GWT application. when I ran by ant through command line it worked fine but after importing in IntelliJ I am getting this error. Don't know why I am getting this error: The code server is ready at…
Pradeep Kumar
  • 31
  • 1
  • 3
3
votes
2 answers

Waiting for more than one event (using GWT)

I want to fetch two XML documents from the server and resume processing when both have arrived. Can I fetch them in parallel, or do I have to refrain from issuing the second request until the first has completed?
Michael Kay
  • 156,231
  • 11
  • 92
  • 164