Introduction to Google Web Toolkit(GWT)                                     Ankul Rastogi
    What is GWT ?            Create responsive web application using Java            Create,Test, Debug application in ...
AJAXWhat is AJAX( Asynchronous JavaScript and XML)        Doing things in background.        Dynamic HTML(Responsive and...
AJAX Flow
Problem With JS    Type Checking,bug fixing,debugging.    Poor IDE support    Browser Portability    Speed    No hist...
GWT Features    All in Java(Faster Dev/Testing/Debugging/Refactor cycle)    Single CodeBase.Browser agnostic    Optimiz...
GWT Features(Cont.)    History,Bookmarking,Validation,MVP,Internationalization,    Junit    Reusable Widgets.Extensible ...
GWT dark side    Change in mindset.    Not everything from Java can be used in GWT.    Learning effort.    HTML CSS ab...
Concepts    Maven    MVP    Module    RPC    Dev Mode Production Mode Super Dev Mode    UiBinder.Dumb Views    GWT-...
MVC v/s MVP
Sample Demo
Thank You
Gwt
Gwt
Upcoming SlideShare
Loading in …5
×

Gwt

463 views
409 views

Published on

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
463
On SlideShare
0
From Embeds
0
Number of Embeds
31
Actions
Shares
0
Downloads
5
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • Compiler is the core enging of the whoel GWT framework. It does the dirty job of converting the Java written classes to various javascript permutations. In order to achieve this comipler requires the source code and the bytecode for all the java classes that are to be used. Java code must be minimum 1.4 compatible. It supports generics at javascript level. Even tough the compiler ignore is while creating javascript still at the code level we can make compile time checks
  • Gwt

    1. 1. Introduction to Google Web Toolkit(GWT) Ankul Rastogi
    2. 2.  What is GWT ?  Create responsive web application using Java  Create,Test, Debug application in Java  Simple/Rapid Development  AJAX-ification Why GWT  One technology to rule.Java=Javascript  No more broswer specific code snippets.User friendly compiler.Write Once Run anywhere
    3. 3. AJAXWhat is AJAX( Asynchronous JavaScript and XML)  Doing things in background.  Dynamic HTML(Responsive and reactive)  Client Side Processing  Smart Clients  Single page and multiple UIs.
    4. 4. AJAX Flow
    5. 5. Problem With JS Type Checking,bug fixing,debugging. Poor IDE support Browser Portability Speed No history/BookMarks Spaghetti code.No OO structure No DocumentationSOS an AJAX ninja
    6. 6. GWT Features All in Java(Faster Dev/Testing/Debugging/Refactor cycle) Single CodeBase.Browser agnostic Optimized and efficient Java-Javascript Compiler Local Event handling and client side rendering logic. Compile Time checks(Static Type Checking, Generics) Dynamic HTML.Async AJAX
    7. 7. GWT Features(Cont.) History,Bookmarking,Validation,MVP,Internationalization, Junit Reusable Widgets.Extensible and manageble Deferred Binding.Code Generation Dependency Injection Under the Hood RPC JSNI Delarative Layout using XML. Panel based design Component based design
    8. 8. GWT dark side Change in mindset. Not everything from Java can be used in GWT. Learning effort. HTML CSS abstraction.Tough to visualize your UI Looking London Talking Tokyo. Firebug In process of evolving. Unit testing not mature. Not many takers, hence not wide feature set Disciplined approach to development
    9. 9. Concepts Maven MVP Module RPC Dev Mode Production Mode Super Dev Mode UiBinder.Dumb Views GWT-bootstrap
    10. 10. MVC v/s MVP
    11. 11. Sample Demo
    12. 12. Thank You

    ×