Download - google gwt
GWT– Google Web
Toolkit2nd seminar (2015.12.21)
What?Tool for RIA(Rich Internet Application)Can develop client side based on Java : compile Java to Java scriptCross-browser : support all major browsersApache license 2.0 : completely free and open source
Why?Based on Java (debug, junit…) Support all major browser ( including IOS, Android)Extensible and customizable widget
GWT componentGWT compiler : Java to JavaScript
JRE Emulation library : GWT JRE
GWT UI building library
EnvironmentJDK 1.6Eclipse plugin (support IntelliJ and so on)Run on Jetty, Apache Tomcat, Jboss, IBM Web Sphere, Oracle Application Server
Parts of ApplicationModule descriptors : configuration of GWT application
Public resources : resource path for HTML page, CSS or imagesClient-side code : compilation java to java script
*JSNI(Java script Native Interface)
: Integration java into java script and vice versahttp://www.gwtproject.org/doc/latest/DevGuideCodingBasicsJSNI.html
Server-side code : java codes for backend processing
Ajax communicationStrategy1. GWT RPC (with Java servlet)2. Retrieving JSON Data via HTTP (without
Java servlet)
GWT RPCExchanging Java objects over HTTP between client and server. (Exchange serialized java object, notSOAP or REST)
Styling layoutCustomize HTML, CSSUse UIBinder
Demo
ReferenceGWT : http://www.gwtproject.org/overview.htmlTutorials point GWT
: http://www.tutorialspoint.com/gwt/index.htm