quinta-feira, 22 de agosto de 2013

Introduction to GWT (Goodle Web Toolkit)



GWT (Goodle Web Toolkit)
                Toolkit para criar aplicações RIA(Rich Internet Application).  Develop AJAX application in JAVA
                Permite criar aplicações Web usando Java.  GWT compiles Java code to JavaScript
                Easy integration with JUnit and Maven
                If use disable javascript, he will see only a basic empty page. 
                It is not suitable for web designers using pain HTML.
                Look and feel of a GWT app can be customized via CSS file.  Each GWT widget is inside a HTML "div" and can have a unique CSS stile.  Can use setStyle(String s).
                Components - Divided into three major parts
                               GWT Java to JavaScript compiler : Translate all app code written in Java into JavaScript
                               JRE Emulation Library: Include a subset of Java runtime library. ex: java.lang, annotation, math, io, sql, logging, etc.
                               GWT UI building library: Consists of many subparts which includes  UI components, RPC  support, etc.
                Application Parts
                               Modules
                                               GWT app is described as modules. A module is described as a config file modulename.gwt.xml.
                                               Each module define one or more Entry point classes which is an starting pont for a GWT app(similar to main in java).
                                               The module is connected to a HTML page, called "host page".  The GWT code executes within this HTML.
                                              
                                              
                                              
                                                 
                                                 

                                                 
                                                 

                                                 
                                                 

                                                 
                                                 
                                                 

                                                 
                                                 
                                                 

                                                 
                                                 

Nenhum comentário:

Postar um comentário