Hands on gwt

640 views

Published on

Getting started with gwt

Published in: Software, Technology, Education
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
640
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
11
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Hands on gwt

  1. 1. May 7th 2014 - Tunisia Hands on GWT
  2. 2. Haifa NASRI Software Engineering Student @INSAT Organizer @GDG Women Tunis Co-founder &Workshop Manager @INSAT Google Club ennasri.h@gmail.com
  3. 3. Agenda 1. Ajax 2. Introduction 3. The main principles 4. advantages 5. GWT in a few figures 6. GWT in action ... !
  4. 4. AJAX HTML & CSS XMLHttpRequest XML JavaScript
  5. 5. GWT 1.0 May 16, 2006 GWT 2.6 Janvier 2014 GWT : HistoryGWT : History Open Source Project !
  6. 6. From the beginning, a strong community ... GWT : History
  7. 7. Most Google services are coded with GWT such as : GWT : History
  8. 8. ? WHY GWT ?
  9. 9. Solution : Generate JavaScript code from Java code
  10. 10. WhyJAVA ?
  11. 11. WhyJAVA ?
  12. 12. What is GWT?
  13. 13. The main principles Part Client: Java code is compiled into the final javascript and running in a browser - only libraries and JAVA APIs that can be compiled to javascript are used in the client side - partial emulation of the JRE(java.lang.* , Java.util.* ..
  14. 14. The main principles GWT application can run in two modes : ● Developement Mode: used to test the application in the browser without the need to compile javascript ● Production Mode : the application is translated into HTML and Javascript code and can be deployed to a web server
  15. 15. The main principles Widgets : Many extension Libraries :SmartGWT , Sencha GXT & Vaadin .. ● JAVA :Generate UI Widgets from JAVA code (Similar to programming SWING) ● UI Binder: based on XML files ● GWT Designer: drag and drop, JAVA code automatically generate
  16. 16. The main principles RPC Remote Service: ● Asynchronous Calls! ● Based on the java servlet architecture ● GWT-RPC services are not some as web services
  17. 17. advantages
  18. 18. EASY !
  19. 19. FAST !
  20. 20. BEAUTIFULL !
  21. 21. GWT in a few figures .. From The Future of GWT Report 2013
  22. 22. Install GWT ● install the GWT plugin for Eclipse:
  23. 23. GWT in Action … Samples: http://www.gwtproject.org/examples.html Showcase : http://gwt.googleusercontent.com/samples/Showcase/Sho wcase.html#!CwCheckBox GWT Gallery : http://www.gwtproject.org/doc/latest/RefWidgetGallery.html
  24. 24. Demo ..
  25. 25. Q/A

×