Questions tagged [gwt]

GWT (formerly the Google Web Toolkit) is a development toolkit for building and optimizing complex browser-based applications. Its goal is to enable productive development of high-performance web applications without requiring the developer to be an expert in browser quirks, XMLHttpRequest, and JavaScript. GWT is used by many products at Google, including the new versions of AdWords and Groups. It's open source and completely free (Apache 2.0 licensed).

GWT (formerly the Google Web Toolkit) is a development toolkit for building and optimizing complex browser-based applications. Its core feature is the Java to JavaScript compiler.

The official docs cover all the basics and advanced topics – it's a great place to start and you'll often come back to it when you want to expand your knowledge of the framework. The docs are sprinkled with example code, but if that's not enough for you, there are always the samples that come with the GWT bundle.

For more esoteric topics the GWT Google Group might be of help. Latest stable version of GWT is 2.8.2 (2017-10-19)

Interesting links

Useful libraries

20828 questions
37
votes
12 answers

GWT vs Flex vs?

My company is trying to migrate away from a .NET application to something that is purely web-based, and very "ajaxy". The original .NET app is fairly interactive, roughly equivalent to Google Maps as far as user interaction is concerned (zoom, pan,…
Limbic System
  • 6,820
  • 7
  • 29
  • 37
36
votes
3 answers

Why GWT? Advantages and Trade-Offs of Using This RIA Framework

I've been reading through a bunch of the "highest voted" questions for GWT. Several of these questions talk about the pitfalls or problems with GWT. In the articles: Which Javascript framework (jQuery vs Dojo vs … )? and Biggest GWT Pitfalls?,…
Michael Balint
  • 2,255
  • 4
  • 25
  • 27
36
votes
4 answers

GWT ImageResource accessed within a CSS property?

The Google/GWT example of creating an ImageResource is understood: interface MyResources extends ClientBundle { @Source("image.png") ImageResource image(); @Source("my.css"); CssResource css(); } @sprite .myImage { gwt-image:…
chris
  • 437
  • 7
  • 14
35
votes
9 answers

How do I add a type to GWT's Serialization Policy whitelist?

GWT's serializer has limited java.io.Serializable support, but for security reasons there is a whitelist of types it supports. The documentation I've found, for example this FAQ entry says that any types you want to serialize "must be included in…
user3562
  • 587
  • 3
  • 6
  • 11
34
votes
9 answers

How does the live, real-time typing work in Google Wave?

I'm sure Wave doesn't poll the server every millisecond to find out if the other user has typed something... so how can I see what the other person is typing as they type? And without hogging the bandwidth.
Sudhir Jonathan
  • 16,998
  • 13
  • 66
  • 90
34
votes
2 answers

exception in GWT RPC app

I am using GWT RPC & Hibernate to insert and retrieve data from MySQL using eclipse environment. I have written two methods in service interfaces to insert & retrieve data from a single MySQL table. The program is running fine but it is raising this…
enterprize
  • 1,179
  • 8
  • 29
  • 43
34
votes
5 answers

Error when importing Maven-GWT project ("No marketplace entries found to handle gwt-maven-plugin")

I'm using Eclipse Indigo on Win XP, Maven 3.0.3 and GWT 2.4. I created a Maven-GWT project using the Mavne gwt archetype. Then I opened Eclipse, went to File -> Import, selected Existing Maven Projects, chose the pom for my GWT-Maven project, and…
Dave
  • 15,639
  • 133
  • 442
  • 830
34
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
  • 60,316
  • 68
  • 200
  • 288
33
votes
8 answers

GWT Compiler can't find gwt.xml

I have changed and renamed my package structure of my GWT project, and when trying to run the project as a web application, the module isn't found and I get the following message: [ERROR] Unable to find 'de/xx/focus/My_Projekt.gwt.xml' on your …
ph09
  • 1,052
  • 2
  • 20
  • 31
33
votes
7 answers

C interpreter written in javascript

Is there any C interpreter written in javascript or java ? I don't need a full interpreter but I need to be able to do a step by step execution of the program and being able to see the values of variables, the stack...all that in a web…
Loïc Février
  • 7,540
  • 8
  • 39
  • 51
33
votes
1 answer

GWT RPC data format

How does the data format for Google Web Toolkits (GWT) RPC calls look and how are IsSerializable objects transmitted. I know that Java Serializable transmits some kind of binary format, but is this the case with GWT too? (Since I don't expect it to…
Stefan
  • 14,826
  • 17
  • 80
  • 143
32
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,567
  • 2
  • 13
  • 22
32
votes
6 answers

keyPressEvent.getCharCode() returning 0 for all special keys like enter, tab, escape, etc

My code: @Override public void onKeyPress(KeyPressEvent event) { if (event.getCharCode() == KeyCodes.KEY_ENTER) { registerButton.click(); } } This is attached to a TextBox, and it does fire when I press enter. …
Riley Lark
  • 20,660
  • 15
  • 80
  • 128
31
votes
7 answers

GWT theme style overrides my css style

I have some html files with their own css. I want to use them in a gwt application so i copied the html and the css files in the application. The problem is when i open the html it uses the gwt theme style. For example in my css the html 'body'…
david
  • 2,135
  • 4
  • 24
  • 34
30
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,456
  • 1
  • 14
  • 30