Google Web Toolkit (GWT)

780 views

Published on

Algeria JAVA USER GROUP

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
780
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
7
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Google Web Toolkit (GWT)

  1. 1. ALGERIA JUG GWT Google Web Toolkit Hacen Dadda @hacentech
  2. 2. Google Web Toolkit● Googel announced GWT at theJavaOne 2006● Developement toolkit, not a framework● One codebase, any browser● Makes Ajax a priece of cake... and faster
  3. 3. Code in Java, run as javascript
  4. 4. We love each other !
  5. 5. How does it works ?
  6. 6. From Java to the browser
  7. 7. ToolsEclipse GWT SDK GWT plugin
  8. 8. GWT plugin
  9. 9. Client/Server Client GWT Server Java
  10. 10. Hello Worldpublic class HelloWorld implements EntryPoint{public void onModuleLoad (){Button button = new Button("Click Me");button.addClickHandler(new HelloButtonClickHandler());RootPanel.get().add(button);}class HelloButtonClickHandler implements ClickHandler{public void onClick (ClickEvent event){Window.alert("Hello World");}}}
  11. 11. Hello World
  12. 12. RPC diagram
  13. 13. Done ! Compile project We need just this !
  14. 14. Let us go on the webwar/ Rename (as u like) site/
  15. 15. Here we go !
  16. 16. </presentation> Thank you =) @hacentech hacendadda@gmail.com

×