SUPPORT THE WORK

GetWiki

Google Web Toolkit

ARTICLE SUBJECTS
aesthetics  →
being  →
complexity  →
database  →
enterprise  →
ethics  →
fiction  →
history  →
internet  →
knowledge  →
language  →
licensing  →
linux  →
logic  →
method  →
news  →
perception  →
philosophy  →
policy  →
purpose  →
religion  →
science  →
sociology  →
software  →
truth  →
unix  →
wiki  →
ARTICLE TYPES
essay  →
feed  →
help  →
system  →
wiki  →
ARTICLE ORIGINS
critical  →
discussion  →
forked  →
imported  →
original  →
Google Web Toolkit
[ temporary import ]
please note:
- the content below is remote from Wikipedia
- it has been imported raw for GetWiki








factoids
| latest preview version =| latest preview date =Java (programming language)>JavaLinux, Microsoft Windows>Windows, OS X, FreeBSD| platform =Java (programming language)>Java| genre = Ajax framework| license = Apache License 2.0weblink}}}}Google Web Toolkit (GWT {{IPAc-en|ˈ|ɡ|w|ɪ|t}}), or GWT Web Toolkit,WEB
,weblink
, GWT Name Use Policy
, Google
, 2014-04-23
, is an open-source set of tools that allows web developers to create and maintain complex JavaScript front-end applications in Java. Other than a few native libraries, everything is Java source that can be built on any supported platform with the included GWT Ant build files. It is licensed under the Apache License version 2.0.WEB
,weblink
, Google Web Toolkit License Information
, Google
, February 23, 2007
, 2007-09-25
, GWT emphasizes reusable approaches to common web development tasks, namely asynchronous remote procedure calls, history management, bookmarking, UI abstraction, internationalization, and cross-browser portability.

History

GWT version 1.0 RC 1 was released on May 16, 2006.WEB
,weblink
, Google Web Toolkit Release Archive
, Google
, 2007-09-25
, Google announced GWT at the JavaOne conference, 2006.BOOK
, Olson
, Steven Douglas
, Ajax on Java
, O'Reilly
, 2007
, 978-0-596-10187-9
, 183
, {| class="wikitable"|+ Release history! Release! Date| May 17, 2006| August 11, 2006| November 16, 2006| February 5, 2007| August 28, 2007| August 27, 2008| April 7, 2009| July 13, 2009| December 8, 2009| October 19, 2010| February 11, 2011| May 3, 2011| September 8, 2011| October 2012| March 2013| January 30, 2014| May 10, 2014| November 20, 2014| October 20, 2016| April 24, 2017| October 19, 2017In August 2010, Google acquired Instantiations,WEB, Ramsdale, Chris, Google Relaunches Instantiations Developer Tools,weblink a company known for its focus on Eclipse Java developer tools, including GWT Designer, which is now bundled with Google Plugin for Eclipse.In 2011 with the introduction of the Dart programming language, Google has reassured the GWT community that GWT will continue to be supported for the foreseeable future, but also hinted at a possible rapprochement between the two Google approaches to "structured web programming". They've also admitted however that a number of engineers previously working on GWT are now working on Dart.WEB,weblink Google Web Toolkit Blog: GWT and Dart, Googlewebtoolkit.blogspot.com, 2011-11-10, 2013-06-16, In 2012 at their annual I/O conference, Google announced that GWT would be transformed from a Google project to a fully open sourced project.Vaadin to Support Google Web Toolkit (GWT) Development. vaadin.com (2012-06-29). Retrieved on 2014-05-15. In July 2013, Google posted on its GWT blog that the transformation to an open source project was complete.Google Web Toolkit Blog: GWT News. Googlewebtoolkit.blogspot.com (2013-07-15). Retrieved on 2014-05-15.

Development with GWT

Using GWT, developers can develop and debug Ajax applications in the Java language using the Java development tools of their choice. When the application is deployed, the GWT cross-compiler translates the Java application to standalone JavaScript files that are optionally obfuscated and deeply optimized. When needed, JavaScript can also be embedded directly into Java code, using Java comments.WEB,weblink Coding Basics - JavaScript Native Interface (JSNI) - Google Web Toolkit — Google Developers, Developers.google.com, 2012-10-25, 2013-06-16, GWT does not revolve only around user interface programming; it is a general set of tools for building any sort of high-performance client-side JavaScript functionality. Indeed, many key architectural decisions are left completely to the developer. The GWT mission statementGWT mission statement clarifies the philosophical breakdown of GWT's role versus the developer's role. History is an example of such: although GWT manages history tokens as users click Back or Forward in the browser, it does not prescribe how to map history tokens to an application state.GWT applications can be run in two modes:
  • Development mode (formerly Hosted mode): The application is run as Java bytecode within the Java Virtual Machine (JVM).Debugging in Development Mode This mode is typically used for development, supporting hot swapping of code and debugging. In 2014, the classic implementation of Dev Mode was rendered unusable by browser updatesMAILING LIST, Development Mode will not be supported in Firefox 27+,weblink groups.google.com, google-web-toolkit@googlegroups.com, MAILING LIST, GWT Developer Plugin no longer works with Chrome on Linux,weblink google-web-toolkit@googlegroups.com, until its replacement with the more compatible Super Dev Mode, which became the default in GWT 2.7.WEB,weblink Super Dev Mode,
  • Production mode (formerly Web mode): The application is run as pure JavaScript and HTML, compiled from the Java source. This mode is typically used for deployment.
Several open-source plugins are available for making GWT development easier with other IDEs, including GWT4NBGWT4NB for NetBeans, Cypal Studio for GWTCypal Studio for GWT (an Eclipse plugin), and GWT Developer for JDeveloper. The Google Plugin for Eclipse handles most GWT related tasks in the IDE, including creating projects, invoking the GWT compiler, creating GWT launch configurations, validation, and syntax highlighting.

Components

The major GWT components include:
GWT Java-to-JavaScript CompilerWEB,weblink com.google.gwt.dev.Compiler, The main executable entry point for the GWT Java to JavaScript compiler., WEB, com.google.gwt.dev.jjs.JavaToJavaScriptCompiler,weblink A base for classes that compile Java JProgram representations into corresponding Js source.,
Translates the Java programming language to the JavaScript programming language.
GWT Development Mode
Allows the developers to run and execute GWT applications in development mode (the app runs as Java in the JVM without compiling to JavaScript). Prior to 2.0, GWT hosted mode provided a special-purpose "hosted browser" to debug your GWT code. In 2.0, the web page being debugged is viewed within a regular browser. Development mode is supported through the use of a native-code plugin called the Google Web Toolkit Developer Plugin for many popular browsers.
JRE emulation library
JavaScript implementations of the commonly used classes in the Java standard class library (such as most of the java.lang package classes and a subset of the java.util package classes).
GWT Web UI class library
A set of custom interfaces and classes for creating widgets.

Features

  • Dynamic and reusable UI components: programmers can use pre-designed classes to implement otherwise time-consuming dynamic behaviors, such as drag-and-drop or sophisticated visual tree structures.BOOK


, Perry
, Bruce W
, Google Web Toolkit for Ajax
, O'Reilly Short Cuts
, O'Reilly
, 2007
, 978-0-596-51022-0
, 1–5
,
  • Simple RPC mechanism
  • Browser history management
  • Support for full-featured Java debugging
  • GWT handles some cross-browser issues for the developer.
  • Unit testing integration
  • Support for Internationalization and localization
  • HTML Canvas support (subject to API changes)WEB, GWT Javadoc Canvas,weblink
  • The developers can mix handwritten JavaScript in the Java source code using the JavaScript Native Interface (JSNI).
  • Support for using Google APIs in GWT applications (initially, support for Google Gears)
  • Open-source
  • The developers can design and develop their application in a pure object-oriented fashion, since they're using Java (instead of JavaScript). Common JavaScript errors, such as typos and type mismatches, are caught at compile time.
  • The JavaScript that the GWT compiler generates can be tailored to be either unobfuscated and easier to understand or obfuscated and smaller to download.
  • A number of libraries are available for GWT, by Google and third parties. These extend GWT's features.

Available widgets

As of version 2.4 (September 2011), GWT offers several widgetsWEB
,weblink
, Widget List
, Google
, 2012-05-21
, and panels.{| class="wikitable"|+ Widgets and panels! Widgets! Panels| Button PopupPanel| PushButton StackPanel| RadioButton StackLayoutPanel| CheckBox HorizontalPanel| DatePicker VerticalPanel| ToggleButton FlowPanel| TextBox VerticalSplitPanel| PasswordTextBox HorizontalSplitPanel| TextArea SplitLayoutPanel| Hyperlink DockPanel| ListBox DockLayoutPanel| CellList TabPanel| MenuBar TabLayoutPanel| Tree DisclosurePanel| CellTree| SuggestBox| RichTextArea| FlexTable| Grid| CellTable| CellBrowser| TabBar| DialogBoxMany common widgets not found in the GWT have been implemented in third-party libraries.

Enterprise usage

GWT uses or supports Java, Apache Tomcat (or similar web container), Eclipse IDE, Internet Explorer,GWT Project. GWT Project. Retrieved on 2014-05-15. and internationalization and localization. Java-based GWT RIAs can be tested using JUnit testing framework and code coverage tools. Because GWT allows compile time verification of images, CSS, and business logic, many common development defects are automatically discovered without need of the manual testing commonly required by RIAs.Google has noted that some of its products are GWT-based:WEB
,weblink
, Google I/O 2012 - The History and Future of Google Web Toolkit
, GoogleDevelopers
, 2013-03-18
, Blogger, AdWords, Flights, Wallet, Offers, Groups, Inbox.WEB, Toubassi, Garrick, Going under the hood of Inbox,weblink Official Gmail Blog, 22 November 2014,

GWT 2.0

On Dec 08, 2009 Google launched Google Web Toolkit 2.0 with Speed Tracer.Introducing Google Web Toolkit 2.0, now with Speed TracerVersion 2.0 of GWT offers a number of new features,WEB
,weblink
, GWT 2.0 milestone 1 announcement
, Amit Manjhi
, 2009-10-05
, including:
  • In-Browser Development Mode (formerly known as Out Of Process Hosted Mode, OOPHM): prior to version 2.0, hosted mode used to embed a modified browser to allow running the bytecode version of the application during development. With version 2.0, hosted mode, renamed "development mode", allows using any (supported) browser to view the page being debugged, through the use of a browser plugin. The plugin communicates with the development mode shell using TCP/IP, which allows cross platform debugging (for example, debugging in Internet Explorer on Windows from a development mode shell running on a Linux machine).
  • Code splitting: with the developer providing "split points" in the source code, the GWT compiler will be able to split the JavaScript code into several small chunks instead of one big download. This will lead to reduced application startup time as the size of the initial download is decreased.
  • Declarative User Interface: using an XML format, the new feature known as UiBinder allows the creation of user interfaces through declaration rather than code. This allows clean separation of UI construction and behavior implementation.
  • Resource bundling: the ClientBundle interface will allow resources of any nature (images, CSS, text, binary) to be bundled together and transferred in one download, resulting in fewer round-trips to the server and hence lower application latency.
Since the new development mode removed most platform-specific code, the new version will be distributed as a unique archive, instead of one per supported platform as was the case with previous versions.

Mobile

As a general framework for making web apps, GWT is also capable of being used as a framework for making mobile and tablet apps, either by making the needed widgets and animations from scratch, or by using one of the mobile frameworks for GWT. An HTML5 app written in GWT can have separate views for Tablets and Mobile phones.

See also

Other related frameworks

  • JavaCC, GWT compatibleWEB,weblink Building parsers for the web with JavaCC & GWT (Part one), 2014-05-04, Chris Ainsley, parser generator, implement client-side (JavaScript-based) parsers in Java.
  • Pyjs (formerly Pyjamas), a port of GWT to Python
  • Vaadin - License ASLv2 for core and commercial
  • Sencha GXT - License GPLv3 for first version and commercial
  • Errai Framework RedHat - License ASLv2
  • J2CL Future GWT front (JS) engine - License ASLv2

References

{{reflist|33em}}

Bibliography

  • BOOK


, Dewsbury
, Ryan
, Google Web Toolkit Applications
, Prentice Hall
, December 15, 2007
, 608
,weblink
, 978-0-321-50196-7
,
  • BOOK


, Chaganti
, Prabhakar
, Google Web Toolkit: GWT Java Ajax Programming
, Packt Publishing
, February 15, 2007
, 248
,weblink
, 978-1-84719-100-7
,
  • BOOK


, Geary
, David
, Google Web Toolkit Solutions: More Cool & Useful Stuff
, Prentice Hall
, November 17, 2007
, 408
,weblink
, 978-0-13-234481-4
,
  • BOOK


, Hanson
, Robert
, Adam Tacy
, GWT in Action
, 2nd
, Manning
, February 7, 2013
,
, 643
, 978-1-935182-84-9
,
  • BOOK


, Cooper
, Robert
, Charlie Collins
, GWT in Practice
, Manning
, May 12, 2008
,
, 376
, 978-1-933988-29-0
, {{Application frameworks}}{{JavaScript|state=collapsed}}{{ECMAScript}}{{Google Inc.}}{{Widget toolkits}}{{Rich Internet applications}}

- content above as imported from Wikipedia
- "Google Web Toolkit" does not exist on GetWiki (yet)
- time: 6:44pm EDT - Sat, Apr 20 2019
[ this remote article is provided by Wikipedia ]
LATEST EDITS [ see all ]
GETWIKI 09 MAY 2016
GETWIKI 18 OCT 2015
M.R.M. Parrott
Biographies
GETWIKI 20 AUG 2014
GETWIKI 19 AUG 2014
GETWIKI 18 AUG 2014
Wikinfo
Culture
CONNECT