Google Web Toolkit 2 Application Development Cookbook
|Also available on:|
- Create impressive, complex browser-based web applications with GWT 2
- Learn the most effective ways to create reports with parameters, variables, and subreports using iReport
- Create Swing-like web-based GUIs using the Ext GWT class library
- Part of Packt's Cookbook series: Each recipe is a carefully organized sequence of instructions to complete the task as efficiently as possible
Book DetailsLanguage : English
Paperback : 244 pages [ 235mm x 191mm ]
Release Date : November 2010
ISBN : 1849512000
ISBN 13 : 9781849512008
Author(s) : Shamsuddin Ahammad
Topics and Technologies : All Books, Google, Web Development, Cookbooks, Java, Open Source
Table of Contents
Chapter 1: Setting up the GWT Environment in NetBeans
Chapter 2: Creating Home Page with Panels and Menus
Chapter 3: Forms with Layout and Widgets
Chapter 4: Handling your First Events
Chapter 5: Creating Database for Sales Processing
Chapter 6: Managing Entities using JPA
Chapter 7: Communicating with the Server using GWT RPC
Chapter 8: Reporting with iReport
Chapter 9: Deploying a GWT Application
Chapter 10: Using Speed Tracer
Download the code and support files for this book.
Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.
Errata- 1 submitted: last submission 12 Apr 2013
Page: 72 | Errata type: Typo
the constructor of the SalesForm class
the constructor of the EmployeeForm class
Page: 73 | Errata type: Typo
Page: 82 | Errata type: Typo
dateOfBirtField is an instance of the
dateOfBirthField is an instance of the
Page: 84 | Errata type: Typo
ageField.setValue(year+"" year ""+month+"" month ""+day+"day"")
ageField.setValue(year+" year "+month+" month "+day+"day")
What you will learn from this book
- Set up and configure GWT SDK, GlassFish server, MySQL server, NetBeans, GWT4NB, Ext GWT , iReport plugins for developing the business application in GWT
- Design a database for sales processing system in MySQL, back up and restore the database
- Identify business entities and the relationships and constraints among them
- Handle events such clicking on buttons, typing in text fields, selecting items in a combo box, selecting radios, selecting menus, and selecting toolbar icons
- Manage entities using entity framework through Java Persistence API (JPA)
- Use iReport for any GWT application to get the output of the reports in both HTML and PDF format
- Create Graphical User Interface (GUI) for accepting user input and display information to the user using Ext GWT
- Control communication between the server and client using GWTRPC mechanism
- Create a WAR file for GWT application and deploy it in Glassfish server
This book starts with developing an application from scratch. Right from creating the layout of the home page to home page elements including left and right sidebars, to placing tree like navigational menu, menu bars, tool bars, banners, footers are discussed with examples.
You will see how to create forms using the Ext GWT library widgets and handle different types of events. Then you will move on to see how to design a database for sales processing systems and learn to create the database in MySQL with the help of easy–to-follow recipes.
One of the interesting topics of this book is using JPA in GWT. Using the JPA object in GWT is a challenge. To use them perfectly, a mechanism to convert the JPA object into plain object and vice versa is required. You will see recipes to use entity classes, entity managers, and controller classes in GWT application. You will efficiently create reports with parameters, variables and subreports, and get the report output in both HTML and PDF format using real-world recipes.
You will then learn to configure the GlassFish server to deploy a GWT application with database. Finally, learn how to trace speed and improve perfomance in web applications using tracing techniques.
Create impressive web applications with tool bars, menus, multiple windows, and more with this step-by-step guide.
The recipes in this book are in a straightforward and easy to follow format.The range of topics covered in this book will bring out the forward-thinking Java developer in you.
Who this book is for
If you want to build AJAX web applications with GWT then this book is for you.
Developers with prior programming experience of Java development and object-oriented programming will find this book very useful.