
Explore course objectives for GWT, emphasizing interop, DOM interaction, and building user interfaces, compiler mechanics, future upgrades, breaking changes, and applicability to Java backend enterprise apps.
Explore whether GWT is dead and how the Java-to-JavaScript compiler, the GUI framework, and enterprise use cases influence its future.
interesting presentation from Ray Cromwell: https://www.youtube.com/watch?v=n-P4RWbXAT8
Explore how the GWT compiler applies optimizations after generating the Java abstract syntax tree, showing source code paths and examples such as dead code and the elimination method.
The GWT compiler converts Java to JavaScript through compile and link phases, optimizes the code, and outputs a no-cache strapper script plus a permutation file for runtime loading.
Explore two maven plugins for GWT development, including a legacy plugin and the net.ltgt plugin. Learn how archetypes bootstrap projects, manage multi-module builds, and streamline configuration with IDE support.
Debug GWT applications in the browser using Chrome DevTools, simulate errors, and inspect stack traces with breakpoints, then map Java to JavaScript via source maps and workspaces.
Discover how GWT dev mode uses a code server and a web server, with ports 9876 and 8888, and how to run it on any server like Nginx or Apache.
Explore jsinterop annotations in gwt to replace jsni, learning how to export types with jsType, expose constructors, properties, methods, and overlays, and wrap native javascript objects.
Learn to export Java types to JavaScript via just type notation, create an inventory item, and control exposure with namespace and public properties.
Learn to import and wrap JavaScript native types for use in Java with GWT, storing and managing items in local storage via set item, get item, and remove item.
Use the @JsFunction annotation to create JavaScript-like callbacks from Java, enabling flexible stock evaluation with a functional interface and multiple implementations. See inventory wrapping, evaluation, and console outputs in action.
Learn how overlay adds new methods to native types in GWT, enabling Java-side utilities like a static isPresent helper for local storage, without exposing them to JavaScript.
wrap a JavaScript library in GWT to transpile Java to JavaScript, using Chart.js to render a bar chart on canvas with wrapper objects.
Elemental 2 wraps the browser API to replace legacy widgets, offering a generated, up-to-date dom API for fast, flexible web UI with elements.
Create a simple front-end router with elemental to navigate a single-page app using hash-based links, showing and hiding sections to reflect the active route.
This course provides an overview of the latest GWT (2.8.x) version features such as JsInterop and also Elemental 2. It takes a different look at GWT in the way that it promotes its usage as a helper tool that converts Java to JavaScript rather than a full fledged web framework. The course is aimed at you, whether you are new or have already worked with GWT, and has as main objective to simplify GWT development, and to make your GWT applications maintainable and future proof. The course presents both theory and practice material, and comes with fun quizzes to help you learn better.
About myself: I am Full stack developer with over 8 years of experience working on various projects including GWT projects. I have also contributed to GWT documentation. I enjoy working with Java and open source stuff. I blog often about Java and GWT and I am Interested in the transpiling of all JVM languages to JavaScript.