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
5
votes
3 answers

SuggestBox GWT showing all options on Enter key

I need to create a SuggestBox that will show all options on pressing the Enter key. I have written the following implementation, and it seems to be working fine. I would like someone to review my implementation and let me know if it will cause…
Vishal Singh
  • 101
  • 1
  • 7
5
votes
1 answer

JSON or YAML encoding in GWT/Java on both client and server

I'm looking for a super simple JSON or YAML library (not particularly bothered which one) written in Java, and can be used in both GWT on the client, and in its original Java form on the server. What I'm trying to do is this: I have my models, which…
KennethJ
  • 924
  • 1
  • 7
  • 16
5
votes
2 answers

How enable production mode in GWT 2.7 application

I would like to deploy my GWT 2.7 application on my server through gwt-maven-plugin and jenkins. But, after compile process, when I launch my application, I've this error message : Couldn't load APPLICATION_NAME from Super Dev Mode server at…
Maxime Riss
  • 111
  • 1
  • 7
5
votes
2 answers

What is the preferred way to associate css styles with GWT widgets (using UiBinder)?

From the GWT page (http://code.google.com/webtoolkit/doc/latest/DevGuideUiCss.html#cssfiles), it mentions 2 ways (for modern application): Using a CssResource contained within a ClientBundle. Using an inline element in a UiBinder template.…
smallbec
  • 429
  • 5
  • 10
5
votes
1 answer

GWT datagrid scrolls to last column on sort

I created a DataGrid in GWT and made the columns sortable. The width of the columns in total is wider than the width of the DataGrid. So a horizontal scrollbar appears. Now the problem is that when I for example sort on the first column, the sorting…
Knarf
  • 2,077
  • 1
  • 16
  • 24
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

How can I draw diagrams using Google Web Toolkit?

I am considering solutions for drawing diagrams using Google Web Toolkit (GWT). Up until now I have found only the gwt-diagrams project but it seems abandoned. Are there any suggestions about diagramming with GWT?
Panagiotis Korros
  • 10,840
  • 12
  • 41
  • 43
5
votes
1 answer

NoSuchMethodError: com.google.common.base.Platform.systemNanoTime() In GWT project

I get an exception in a gwt project where I'm using the systemNanoTime() ... threw an unexpected exception: java.lang.NoSuchMethodError: com.google.common.base.Platform.systemNanoTime()J at…
Abdessamad Doughri
  • 1,324
  • 2
  • 16
  • 29
5
votes
4 answers

EC2: can I host an http server there?

Does anyone have experience deploying GWT apps to EC2? If I were to install tomcat or apache on a ec2 instance, could I have users connect directly to a url pointing there? Would that be cost effective, or would java hosting services be best? Is…
user37468
  • 534
  • 1
  • 5
  • 13
5
votes
7 answers

Security when using GWT RPC

I have an POJO in Google Web Toolkit like this that I can retrieve from the server. class Person implements Serializable { String name; Date creationDate; } When the client makes changes, I save it back to the server using the GWT…
gerdemb
  • 11,275
  • 17
  • 65
  • 73
5
votes
2 answers

GWT with JPA - no persistence provider

GWT with JPA There are two projects in my eclipse workspace, let's name them: -JPAProject -GWTProject JPAProject contains JPA configuration stuff (persistence.xml, entity classes and so on). GWTProject is an examplary GWT project (taken from…
meliniak
  • 762
  • 1
  • 9
  • 16
5
votes
2 answers

Where do System.out.println() messages go, when it is called in client-side GWT-module?

When I write messages to log (i.e. com.allen_sauer.gwt.log.client.Log#debug) I can see them in Chrome->F12->Console or (during debug) in IDEA->Debug->Dev Mode. But if the System.out.println() was used in IDEA the messages appear in the same place as…
niralittle
  • 114
  • 1
  • 3
  • 9
5
votes
2 answers

How to use AbsolutePanel in a UiBinder XML file

I would like to do absolute layout using said panel by only using ui.xml file however it isn't clear if this is possible since the documentation concentrates on the code and ignores the layout language altogether. I'm assuming, since the tutorial…
nick
  • 1,055
  • 1
  • 10
  • 17
5
votes
3 answers

What is a good Javascript graphing library to use with GWT application?

Do you have any suggestions of graphing libraries to use with a GWT project? I need to graph a set of data points and several lines. Also some shading of the area under a line. I am open to suggestions of straight Javascript libraries or Java that I…
Andrew Hubbs
  • 9,338
  • 9
  • 48
  • 71
5
votes
1 answer

Can I reduce GWT 2.7 Compilation to single permutation

Step 1. Create a new GWT project via Google Plugin for Eclipse with GWT 2.7.0 Step 2. Modify the .gwt.xml to set linker to xsiframe Step 3. Compile the project compilation-mappings.txt shows 6 entries - 5 with…
appbootup
  • 9,537
  • 3
  • 33
  • 65
1 2 3
99
100