10/07/2006 令Sn Google Web Toolkit (GWT) Basics Sang Shin Java Technology Architect Evangelist Sun Microsystems, Inc sangshin@sun.com Www JavapassIon com Welcome to google Web Toolkit presentation
Google Web Toolkit (GWT) Basics Sang Shin Java Technology Architect & Evangelist Sun Microsystems, Inc. sang.shin@sun.com www.javapassion.com Welcome to Google Web Toolkit presentation. 10/07/2006
10/07/2006 ●S Disclaimer Acknowledgments Even though sang shin is a full-time employee of Sun microsystems, the contents here are created as his own personal endeavor and thus does not necessarily reflect any official stance of Sun Microsystems on any particular technology Most of the slides in this presentations are created from the contents from Google Web Toolkit(GWT) website >http://code.googlecom/webtoolkit/ 2
Source: http://code.google.com/webtoolkit/ 2 Disclaimer & Acknowledgments • Even though Sang Shin is a full-time employee of Sun Microsystems, the contents here are created as his own personal endeavor and thus does not necessarily reflect any official stance of Sun Microsystems on any particular technology • Most of the slides in this presentations are created from the contents from Google Web Toolkit (GWT) website > http://code.google.com/webtoolkit/ 10/07/2006
10/07/2006 ●S Agenda What is Why GWT? building user interface GWT Widgets vent Handling ylIng Remote Procedural call (RPC Steps for building GWT RPC application Serializable type Handling exceptions This is what we are going to learn in this presentation First, we will learn what GWT is and why and when you want to use GWT for building AJAX applications We will then learn how to use built-in widgets that come with the GWT package. We will learn how to create and register event handlers to widgets. We will also learn how Css styles can b ttached to widge The next topic is how to perform Remore procedure call between the client and server. We will start with step by step guideline on how to do it. We will briefly touches upon how parameter and return data types are serialized. We will also learn how to do handle exceptions that might occur when RPC operation is being performed
This is what we are going to learn in this presentation. First, we will learn what GWT is and why and when you want to use GWT for building AJAX applications. We will then learn how to use built-in widgets that come with the GWT package. We will learn how to create and register event handlers to widgets. We will also learn how CSS styles can be attached to widgets. The next topic is how to perform Remore procedure call between the client and server. We will start with step by step guideline on how to do it. We will briefly touches upon how parameter and return data types are serialized. We will also learn how to do handle exceptions that might occur when RPC operation is being performed. Source: http://code.google.com/webtoolkit/ 3 Agenda • What is & Why GWT? • Building User interface > GWT Widgets > Event Handling > Styling • Remote Procedural Call (RPC) > Steps for building GWT RPC application > Serializable types > Handling exceptions 10/07/2006
10/07/2006 ●S Agenda JavaScript Native Interface (JSNi) Motivation for jsni Accessing native JavaScript code from Java code Accessing Java methods and fields from native JavaScript GWT Project GWT Module configuration Deployment Ve will talk about JavaScript Native Interface which is called JSNI. First, we will learn when you want to use JsNI. Then we will learn how you can access native JavaScript code from Java code and vice versa. Lastly we will learn the GWT project related information including module configuration and deployment
We will talk about JavaScript Native Interface which is called JSNI. First, we will learn when you want to use JSNI. Then we will learn how you can access native JavaScript code from Java code and vice versa. Lastly we will learn the GWT project related information including module configuration and deployment. Source: http://code.google.com/webtoolkit/ 4 Agenda • JavaScript Native Interface (JSNI) > Motivation for JSNI > Accessing native JavaScript code from Java code > Accessing Java methods and fields from native JavaScript code • GWT Project > GWT Module configuration > Deployment 10/07/2006
10/07/2006 令Sn What is and Why Gwr?
What is and Why GWT? 10/07/2006