Introduction to GWT
     Petteri Hietavirta
What is all about?

1. Write some Java code
2. Compile
3. AJAX web application!
Couple benefits

It is Java code for you
    • to write
    • to debug
...Couple benefits...

Compiled for all main browsers
 = less effort, more optimized code
...Couple benefits

Plenty of support and examples

Active community
Features
• API
• Ready made widgets (but not limited to)
• RPC (JSON goes as well)
• History support
• Debugger
• JUnit
• ...
GWT 2.0 new
         features
• Code splitting
• UI binder
• Client bundles
• Layout panels
• Improved compilation
• Speed...
How to get
        started?
1. Install GWT Eclipse plug-in
2. Create a project
Example 1
Super Simple
   API, widgets
Example 2
Somewhat functional
    API, Widgets, Debugger
Example 3
 Client-Server
   API, Widgets, RPC
Example 4
                    CC7
API, Widgets, JSON, i18n, JSNI, Ext GWT, and some
                      others
Some issues with
       GWT
• CSS still not trouble free
  between browsers
• GWT widgets are primitive in
  some cases
• ...
Questions?
Comments and critic also welcome
Upcoming SlideShare
Loading in …5
×

Introduction to GWT

2,139 views

Published on

Presentation slides for "Introduction to GWT" presented for UK Java User Group Scotland.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,139
On SlideShare
0
From Embeds
0
Number of Embeds
9
Actions
Shares
0
Downloads
50
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Introduction to GWT

  1. 1. Introduction to GWT Petteri Hietavirta
  2. 2. What is all about? 1. Write some Java code 2. Compile 3. AJAX web application!
  3. 3. Couple benefits It is Java code for you • to write • to debug
  4. 4. ...Couple benefits... Compiled for all main browsers = less effort, more optimized code
  5. 5. ...Couple benefits Plenty of support and examples Active community
  6. 6. Features • API • Ready made widgets (but not limited to) • RPC (JSON goes as well) • History support • Debugger • JUnit • i18n • JSNI • Apache Licence v2
  7. 7. GWT 2.0 new features • Code splitting • UI binder • Client bundles • Layout panels • Improved compilation • Speed Tracer
  8. 8. How to get started? 1. Install GWT Eclipse plug-in 2. Create a project
  9. 9. Example 1 Super Simple API, widgets
  10. 10. Example 2 Somewhat functional API, Widgets, Debugger
  11. 11. Example 3 Client-Server API, Widgets, RPC
  12. 12. Example 4 CC7 API, Widgets, JSON, i18n, JSNI, Ext GWT, and some others
  13. 13. Some issues with GWT • CSS still not trouble free between browsers • GWT widgets are primitive in some cases • Client side Java is only a subset • Compilation time
  14. 14. Questions? Comments and critic also welcome

×