1 / 20

GWT Components & Features

GWT Components & Features. GWT Architecture. http://code.google.com/webtoolkit/overview.html. GWT Components. There are 4 major GWT components : JRE emulation library GWT Web UI class library GWT Hosted Web Browser GWT Java-to-JavaScript Compiler. JRE Emulation Library.

adanne
Download Presentation

GWT Components & Features

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. GWT Components & Features Google Web Toolkit Presentation, CS 612, Pace University

  2. GWT Architecture http://code.google.com/webtoolkit/overview.html Google Web Toolkit Presentation, CS 612, Pace University

  3. GWT Components There are 4 major GWT components: • JRE emulation library • GWT Web UI class library • GWT Hosted Web Browser • GWT Java-to-JavaScript Compiler Google Web Toolkit Presentation, CS 612, Pace University

  4. JRE Emulation Library • GWT contains a library that emulates the most commonly used classes in the Java standard class library: most of the java.lang package classes and a subset of the java.util package classes. Google Web Toolkit Presentation, CS 612, Pace University

  5. GWT Web UI Class Library • A set of custom interfaces and classes for creating Widgets. Google Web Toolkit Presentation, CS 612, Pace University

  6. Widgets & Panels • “Dynamic reusable UI components.” Widget - is a control used by a user. Panel - is container into which controls can be placed. • Browser Independent! • GWT includes a variety of pre-built Java widgets and panels. You can also create your own custom Widgets. Google Web Toolkit Presentation, CS 612, Pace University

  7. Widgets Gallery http://code.google.com/webtoolkit/documentation/com.google.gwt.doc.DeveloperGuide.UserInterface.html#WidgetGallery Google Web Toolkit Presentation, CS 612, Pace University

  8. GWT Hosted Web Browser • Allows you to test your GWT applications inside your IDE before deploying to the web server (the app runs as Java in the JVM without compiling to JavaScript). • This is known as “Hosted” mode. Google Web Toolkit Presentation, CS 612, Pace University

  9. GWT Java to JavaScript Compiler • Core function of GWT! • Translates your Java code into JavaScript so that they can be deployed to the server - this is known as “web” mode. Google Web Toolkit Presentation, CS 612, Pace University

  10. JSNI • JavaScript Native Interface (JSNI) allows you to manually write JavaScript in your Java code. • Some drawbacks of using JSNI are: code is less portable across browsers, it is more likely to leak memory, and hard for the compiler to optimize. • You can catch exceptions in your JSNI code as a JavaScriptException. Google Web Toolkit Presentation, CS 612, Pace University

  11. Additional Features • Browser history management AJAX applications often break the browser’s back button. GWT fixes this by adding state to the browser's back button history. • Real debugging You can debug your Java code in your favorite IDE, such as Eclipse, and test the application before you deploy it. This gives you access to full debugging features. • Browser compatibilityGWT applications automatically support IE, Firefox, Mozilla, Safari, and Opera with no browser detection or special-casing within your code. • InternationalizationEasily create efficient internationalized applications and libraries. • JUnit integrationGWT's direct integration with JUnit lets you run JUnit tests! Google Web Toolkit Presentation, CS 612, Pace University

  12. Google Web Toolkit:Plugins & Further Information Google Web Toolkit Presentation, CS 612, Pace University

  13. GWT Java Documentation http://google-web-toolkit.googlecode.com/svn/javadoc/1.4/index.html Google Web Toolkit Presentation, CS 612, Pace University

  14. Eclipse Plugin • Cypal Studio for GWT (originally called “Googlipse”) http://www.cypal.in/studio • Cypal Studio for GWT is a set of Eclipse plugins for making GWT development easier. Google Web Toolkit Presentation, CS 612, Pace University

  15. GWT Designer • GWT Designer – GUI creator. Visually design user interface. Based on WindowBuilder Pro Technology http://www.instantiations.com/gwtdesigner/index.html Google Web Toolkit Presentation, CS 612, Pace University

  16. Other GWT Plugins GWT Studio Plugin for IntelliJ IDEA http://www.jetbrains.net/confluence/display/IDEADEV/GWT+Studio+plugin NetBeans GWT Plugin https://gwt4nb.dev.java.net/ VistaFei Visual IDE for GWT http://www.wirelexsoft.com/VistaFei.html Grails GWT Plugin http://docs.codehaus.org/display/GRAILS/GWT+Plugin Struts GWT Plugin http://cwiki.apache.org/S2PLUGINS/gwt-plugin.html Mavin GWT Plugin http://code.google.com/p/gwt-maven/ Google Web Toolkit Presentation, CS 612, Pace University

  17. Apps Built with GWT • Google Checkout http://checkout.google.com/ • Google Base http://base.google.com/ • Google Image Labeler http://images.google.com/imagelabeler/ • Queplix (CRM tool) http://www.queplix.com/ • DimDim (Web Based Conferfencing) http://www.dimdim.com/ Google Web Toolkit Presentation, CS 612, Pace University

  18. GWT Conference December 3 – 6, 2007, San Francisco Google Web Toolkit Presentation, CS 612, Pace University

  19. References / More Info… Google Web Toolkit Homepage http://code.google.com/webtoolkit/ Google Web Toolkit Blog http://googlewebtoolkit.blogspot.com/ Wikipedia reference http://en.wikipedia.org/wiki/Google_Web_Toolkit Working with the Google Web Toolkit http://www.onjava.com/pub/a/onjava/2006/05/31/working-with-google-web-toolkit.html Introduction to the Google Web Toolkit http://www.oracle.com/technology/pub/articles/dubois-gwt.html A GWT Tutorial http://today.java.net/pub/a/today/2006/06/27/client-side-google-web-toolkit.html Google Web Toolkit Presentation, CS 612, Pace University

  20. References / More Info… OnGWT – Tracking News on GWT http://www.ongwt.com/ GWT Open Source Project on Google Code http://code.google.com/p/google-web-toolkit/ GWTPowered.org http://gwtpowered.org/ GWT Site http://www.gwtsite.com/ Ajax for Java Developers (IBM) http://www.ibm.com/developerworks/java/library/j-ajax4/ Google Web Toolkit Presentation, CS 612, Pace University

More Related