When used properly, RPCs give you the opportunity to move all of your UI logic to the client, resulting in greatly improved performance, reduced bandwidth, reduced web server load, and a pleasantly fluid user experience.
The server-side code that gets invoked from the client is often referred to as a service, so the act of making a remote procedure call is sometimes referred to as invoking a service. To be clear, though, the term service in this context isn't the same as the more general "web service" concept. In particular, GWT services are not related to the Simple Object Access Protocol (SOAP).
RPC Plumbing Diagram
In this screencast tutorial you are going to see how to use the Google Web Toolkit Remote Procedure Calls. This tutorial covers creation of a simple GWT RPC project in Eclipse IDE.
For basic GWT installation instructions, usage of command-line tools, and Eclipse IDE integration see "Google Web Toolkit - Getting Started Screencast".
Eclipse project generation, GWT-RPC plumbing, GWT-RPC Service interface. :
For this tutorial we have used materials from:
- GWT in Action: Easy Ajax with the Google Web Toolkit
- Google Web Toolkit Applications
- Google Web Toolkit: Taking the pain out of Ajax
- Google Web Toolkit: GWT Java Ajax Programming
- Google Web Toolkit Solutions (Digital Short Cut): Cool & Useful Stuff
- Google Web Toolkit for Ajax
- Google Web Toolkit Solutions: More Cool & Useful Stuff
- GWT in Practice (Coming Soon)
0 comments:
Post a Comment