How to continue learning GWT

I am trying to find out GWT, but I don’t know what.

I have a java background, and I went through all my many years of experience working on Struts, Spring, Grails and such MVC frames.

I have to learn GWT for the project and seek help on how I can do this.

Can anyone give me an idea of ​​the learning curve when it comes to such technology.

Thanks in advance!

+6
source share
5 answers

As Hillbrand noted, given the pace of GWT development, most books you find will not teach you the latest features. But this is great if you want to study in other sources, the most important of which are the GWT-online documentation. In particular, you will want to read the release notes that appeared after the publication of your books.

As an experienced Java developer, you will most likely want to know how GWT compares with the technologies you already know. But before you go this route, I recommend that you familiarize yourself with the features that are unique to GWT (therefore, they are incompatible with incomparable ones). For instance:

1. Compiling Java in Javascript s The first thing you must have heard about GWT is that it compiles Java code in JavaScript. But,

Here are some of the questions you should answer to suggest that you are familiar with the compilation process.

2. Development mode (previous versions were known as hosting)

Development mode is another unique feature of GWT. It allows you to run your application in a browser without compiling java in javascript. But this is not just on-time compilation. Development mode allows you to debug your GWT application , since it was a regular Java program. Essentially, you can use your Java debugger to set breakpoints in a Java source and check variables, etc.

3. Delayed binding

At first, you don't need complicated knowledge about internally deferred bindings. But if you are like me, every time you see GWT.create(SomeClass.class) in the code, you need to know what this strange search line does.

Simply put, this is a feature that allows the GWT compiler to do a lot of interesting things. When you learn more about this function, it is important to remember that this function relates to the compilation process. The GWT.create(SomeClass.class) code GWT.create(SomeClass.class) looks like a familiar call to a static method, but the GWT compiler treats it differently, very differently.

+14
source

The GWT documentation is a good starting point and watch the Google I / O presentations on the GWT, starting from the very latest, it covers newer features.

But if you (also) want to read a book, make sure this is the latest version. GWT is changing fast, and so most books are pretty outdated. In fact, some of the new features of GWT are currently unavailable or very briefly described in accessible books.

Here are 3 books that are more recent:

GWT in action, second edition

Essential GWT: Build for the Web with the Google Web Toolkit 2

Google App Engine Developing Applications for Java and GWT (While this book also covers the Google App Engine, it contains many useful examples)

I would not use Ext GWT since it is based on GWT. Just learn the basics of GWT and then decide if you want to use the extra framework as well.

+6
source

Honestly, my advice would be to just start playing with the tutorials at http://code.google.com/webtoolkit/gettingstarted.html , they are really good!

+4
source
  • Do not go here and here, go to the GWT documentation / Google manual.
  • Use Showcase for a handy code example for all widgets. [Google "GWT Showcase"]
  • To review the GWT, go to http://www.slideshare.net/martyhall/gwt-tutorial-gwt-programming-basics .
  • Try using official GWT widgets, do not go to the third party (Smart GWt, etc.) from the early stages of training.

Good luck

+1
source

Source: https://habr.com/ru/post/893348/


All Articles