Your SlideShare is downloading. ×
0
LOHITH R
 Google  Web Toolkit (GWT) is an open
  source Java software development
  framework that makes writing AJAX
  based web ...
Infrequent large updates          Frequent small updates


LOHITH R              GOOGLE WEB TOOLKIT                    3
Browsers are treated like HTML dumb

  terminals
 Everything is an HTTP round trip +
  history entry
 Every …page…is…so...
Please do not use your browser’s Back

  button !!
 Don’t click submit button twice, Your
  credit card may be charged t...
Every User Action
              Stateless
                                                       Stateful
             HTM...
Provide smoother experience than

  conventional web pages
 No need to refresh the entire page
 Snippets of information...
LOHITH R   GOOGLE WEB TOOLKIT   8
LOHITH R   GOOGLE WEB TOOLKIT   9
Browsers support Ajax methods in different

  ways: hard to get apps that work the same
  across all main browsers
 « Ja...
Build Ajax apps with Java technology

 What makes GWT interesting ?
 GWT is not equal to applets
 GWT is much more tha...
GWT should help to code stable, efficient and

     cross-browser applications
     GWT should be friendly for developers...
Code in java

 Compile the java to Javascript




LOHITH R           GOOGLE WEB TOOLKIT   13
LOHITH R   GOOGLE WEB TOOLKIT   14
LOHITH R   GOOGLE WEB TOOLKIT   15
public class Hello implements EntryPoint {

    public void onModuleLoad() {
      // define a Button to add
      Button ...
LOHITH R   GOOGLE WEB TOOLKIT   17
Be productive with your choice of

  development tools –
  Refactoring, debugging
 Communicate with your server through
...
LOHITH R   GOOGLE WEB TOOLKIT   19
Optimize the JavaScript script downloads
    based on user profile

Firefox    FF_EN            FF_FR           FF_ZH

 Op...
Enable applications for international usage

     Enable localization of applications through

     Resource Separation
...
ImageBundle, kind of database for

     images
     From 12 requests to 1 request…

     Introducted in GWT 1.4





LO...
LOHITH R   GOOGLE WEB TOOLKIT   23
LOHITH R   GOOGLE WEB TOOLKIT   24
Easily support the browser's back button

  and history
 Localize applications efficiently
 Test your code with Junit
...
Reuse UI components across projects

     GWT is supported by all the java IDE :

     Eclipse, NetBeans, IntelliJ
     ...
May loose some benefits of JavaScript

  and XML.
 For very small applications JavaScript
  native applications may run ...
It is 5 times faster to build a GWT

     application
      Refactoring
      Debugging
      Stateless server
      ...
GWT 1.6

 New Project Structure
 Hosted Mode Enhancements
 New EventHandler System
 New Widgets DatePicker, DateBox
...
LOHITH R   GOOGLE WEB TOOLKIT   30
Upcoming SlideShare
Loading in...5
×

Google Web Toolkit

913

Published on

Technical seminar on Google Web Toolkit (GWT) by LOHITH R

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

No Downloads
Views
Total Views
913
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
37
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Google Web Toolkit"

  1. 1. LOHITH R
  2. 2.  Google Web Toolkit (GWT) is an open source Java software development framework that makes writing AJAX based web applications easier.  GWT was released on May 16, 2006 at the JavaOne Conference. LOHITH R GOOGLE WEB TOOLKIT 2
  3. 3. Infrequent large updates Frequent small updates LOHITH R GOOGLE WEB TOOLKIT 3
  4. 4. Browsers are treated like HTML dumb  terminals  Everything is an HTTP round trip + history entry  Every …page…is…so…sluggish…  …and…disconnected…that…I…  …keep…forgetting…where…I…am LOHITH R GOOGLE WEB TOOLKIT 4
  5. 5. Please do not use your browser’s Back  button !!  Don’t click submit button twice, Your credit card may be charged twice !! LOHITH R GOOGLE WEB TOOLKIT 5
  6. 6. Every User Action Stateless Stateful HTML View Server Browser Total new HTML page Remote procedure call Stateful Events Stateless JavaScript UI handled Server locally Browser Data only, not HTML LOHITH R GOOGLE WEB TOOLKIT 6
  7. 7. Provide smoother experience than  conventional web pages  No need to refresh the entire page  Snippets of information are updated as necessary  Technology behind interactive web sites  Personalised Google Page, Gmail, Orkut, Myspace etc LOHITH R GOOGLE WEB TOOLKIT 7
  8. 8. LOHITH R GOOGLE WEB TOOLKIT 8
  9. 9. LOHITH R GOOGLE WEB TOOLKIT 9
  10. 10. Browsers support Ajax methods in different  ways: hard to get apps that work the same across all main browsers  « Javascript PhD »  Bugs (javascript is a dynamic language) Security   Poor planned investment leads to Consequences for long time. LOHITH R GOOGLE WEB TOOLKIT 10
  11. 11. Build Ajax apps with Java technology   What makes GWT interesting ?  GWT is not equal to applets  GWT is much more than a compiler LOHITH R GOOGLE WEB TOOLKIT 11
  12. 12. GWT should help to code stable, efficient and  cross-browser applications GWT should be friendly for developers   Compatible with IDE, support debugging, refactoring, strong typing… The based line : « First the user, second the  developer » LOHITH R GOOGLE WEB TOOLKIT 12
  13. 13. Code in java   Compile the java to Javascript LOHITH R GOOGLE WEB TOOLKIT 13
  14. 14. LOHITH R GOOGLE WEB TOOLKIT 14
  15. 15. LOHITH R GOOGLE WEB TOOLKIT 15
  16. 16. public class Hello implements EntryPoint { public void onModuleLoad() { // define a Button to add Button b = new Button( “Say Helloquot;, new ClickListener() { public void onClick(Widget sender) { Window.alert(quot;Hello World!quot;); } }); // add the Button // get is a static method of class RootPanel RootPanel.get(quot;hiquot;).add(b); } } LOHITH R GOOGLE WEB TOOLKIT 16
  17. 17. LOHITH R GOOGLE WEB TOOLKIT 17
  18. 18. Be productive with your choice of  development tools – Refactoring, debugging  Communicate with your server through really simple RPC  Use other JavaScript libraries and native JavaScript code LOHITH R GOOGLE WEB TOOLKIT 18
  19. 19. LOHITH R GOOGLE WEB TOOLKIT 19
  20. 20. Optimize the JavaScript script downloads based on user profile Firefox FF_EN FF_FR FF_ZH Opera OP_EN OP_FR OP_ZH Safari SF_EN SF_FR SF_ZH IE6 IE_EN IE_FR IE_ZH English French Chinese LOHITH R GOOGLE WEB TOOLKIT 20
  21. 21. Enable applications for international usage  Enable localization of applications through  Resource Separation Externalize localizable resource and later bind  them for serving. Handles three I18n Barriers  Another Language – FIGS (French, Italian, German, Spanish) More Characters – CJK (中文, 日本語, 한국어) Right Direction – BiDi (Bidirectional Languages as Arabic and Hebrew) LOHITH R GOOGLE WEB TOOLKIT 21
  22. 22. ImageBundle, kind of database for  images From 12 requests to 1 request…  Introducted in GWT 1.4  LOHITH R GOOGLE WEB TOOLKIT 22
  23. 23. LOHITH R GOOGLE WEB TOOLKIT 23
  24. 24. LOHITH R GOOGLE WEB TOOLKIT 24
  25. 25. Easily support the browser's back button  and history  Localize applications efficiently  Test your code with Junit  Extend or contribute - Google Web Toolkit is open source software LOHITH R GOOGLE WEB TOOLKIT 25
  26. 26. Reuse UI components across projects  GWT is supported by all the java IDE :  Eclipse, NetBeans, IntelliJ IDEA, JDeveloper,… No JavaScript syntax errors  Can use complex Java on the client  Hosted mode browser  GWT server could be stateless  Security  Brings software engineering to AJAX  LOHITH R GOOGLE WEB TOOLKIT 26
  27. 27. May loose some benefits of JavaScript  and XML.  For very small applications JavaScript native applications may run faster. GWT may be overkill.  Currently GWT is only for Java developers. LOHITH R GOOGLE WEB TOOLKIT 27
  28. 28. It is 5 times faster to build a GWT  application  Refactoring  Debugging  Stateless server  Cross-browsers  I18N  Hosted mode LOHITH R GOOGLE WEB TOOLKIT 28
  29. 29. GWT 1.6   New Project Structure  Hosted Mode Enhancements  New EventHandler System  New Widgets DatePicker, DateBox  LazyPanel improves startup performance LOHITH R GOOGLE WEB TOOLKIT 29
  30. 30. LOHITH R GOOGLE WEB TOOLKIT 30
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×