Contenu connexe


G W T(2)

  1. Google Web Tool Kit (aka GWT) A presentation by
  2. contents • w is GWT? hat • where did it com from e ? • w does it all m hat ean? • w uses GWT? ho • w to get som ant e? A presentation by
  3. w is GW hat T? GWT is Java W developm eb ent GWT allow w developers to create AJAX s eb applications in Java your Java code is com piled into AJAX (HTML and JavaScript) W eb applications like Google M aps and Google Mail so, basically you can w your front end code in rite Java (and HTM L) A presentation by
  4. w is GW hat T? GWT produces code capable of running on all of the m ajor browsers, such as IE, Firefox, Safari, Opera, and handles the com patibility issues for you by com piling different outputs for different brow sers A presentation by
  5. w is GW hat T? Co mpo ne nts and APIs A presentation by
  6. w is GW hat T? Co mpo ne nts JavaS c ript Co mpile rs GWT compiler converts Java code into JavaScript code GWT obfuscates the com piled output so that everything is com pressed Java codes which are suppose to be com piled in to JavaScript needed to be JDK (Java Developm Kit) 1.4 com ent pliant JS NI (JavaScript Native Interface) the JavaScript Native Interface, or JSNI for short, allow us to execute s JavaScript from Java, as w as execute Java from JavaScript ell this is made possible by the GW com T piler that can m erge native JavaScript code w the JavaScript code that is generated from Java ith JRE Emulatio n Library this library contains the m com only used parts of the full JRE, w ost m hich may be used in your projects and can be compiled to JavaScript A presentation by
  7. w does it all m hat ean? We b apps with a De s kto p lo o k and fe e l recent trends show that w the advance in w 2.0, s ith eb w are increasingly trying to give W Applications e eb the “ feel” desktop applications of noww GWT w get a pool of w ith e idgets and panels using w hich w can use build w applications like e eb desktop applications A presentation by
  8. w does it all m hat ean? s o me GWT APIs Widg e ts and Pane ls GWT ships w a large set of w ith idgets and panels available for use Instead of layout m anagers GWT provides a set of panels that display their children in a specific manner Re mo te Pro c e dure Call GWT includes several w rappers of varying complexity and capability around the JavaScript XM Http Request object L Includes set of classes for supporting the JavaScript Object Notation (JSON) m essage form at (GW T-Rpc) that allow you to send Java objects betw s een the brow and ser server w ithout the need to translate them XML pars e r Because the parsing is done by the brow and not by GWT, you get ser the performance benefit of native code execution A presentation by
  9. w does it all m hat ean? whe n to us e GWT: good for w hen you have a Java back end if you like Java newUIs from scratch som other fram orks are good for enhancing existing UIs e ew lic e ns ing : open source as of 1.3 (Dec 2006) Apache 2.0 license no restrictions on developed apps A presentation by
  10. w uses GWT? ho agelabeler/ /im / http://w w w .openkm .com / / viewexamples: #Cw DecoratorPanel A presentation by
  11. w to get som ant e? 1.866.542.7124 A presentation by