Cover image for Google App Engine Java and GWT Application Development : Build Powerful, Scalable, and Interactive Web Apps in the Cloud.
Google App Engine Java and GWT Application Development : Build Powerful, Scalable, and Interactive Web Apps in the Cloud.
Title:
Google App Engine Java and GWT Application Development : Build Powerful, Scalable, and Interactive Web Apps in the Cloud.
Author:
Guermeur, Daniel.
ISBN:
9781849690454
Personal Author:
Edition:
1st ed.
Physical Description:
1 online resource (525 pages)
Contents:
Google App Engine Java and GWT Application Development -- Table of Contents -- Google App Engine Java and GWT Application Development -- Credits -- About the Authors -- About the Reviewers -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Errata -- Piracy -- Questions -- 1. Introduction -- Overview of the chapter -- Introduction to Google App Engine -- The Datastore -- App Engine's scalable services -- Java App Engine runtime and the application development environment -- GAE/J and the Eclipse IDE -- App Engine application hosting -- Google App Engine for Business -- App Engine "surprises" for new developers -- Introduction to GWT -- GWT UI support -- Other GWT features -- GWT's RPC API -- GWT with GAE -- The GWT/GAE Eclipse plugin -- GWT support for Java -- Recommended GWT background -- Example application: Connectr -- A look ahead -- Online resources -- GAE and GWT galleries -- Documentation, blogs, and discussion groups -- Summary -- 2. Using Eclipse and the Google Plugin -- Installing the plugin and supporting software -- Installing the Java SDK -- Installing Java on Mac OS X -- Installing Java on other platforms -- Installing Eclipse -- Installing the Google plugin -- Updating the Google plugin -- Developing your application in Eclipse -- Creating a new web application project in Eclipse -- First look: The anatomy of a web application project -- The Google plugin wizards and helpers -- Running and debugging your application -- Running your application in Development Mode -- Developing the application in debug mode -- Development Mode and the GWT browser plugin -- Defining a run or debug configuration -- Debugging -- Compiling your GWT code for production mode -- Deploying your application.

Registering and setting an application ID for your application -- How to set the application ID and version for a project -- Uploading and deploying your application -- Your App Engine Admin Console -- Importing an existing application -- Adding the Google SDKs to your project's build path -- Adding third-party JAR files -- Managing multiple Google SDKs -- Running Google's demo apps in Eclipse -- Summary -- 3. Building the Connectr User Interface with GWT -- Installing the (first version of) the Connectr project in Eclipse -- AJAX and its benefits -- Why AJAX apps are the way forward -- AJAX apps minimize traffic and workload both on the client and the server -- Challenges associated with AJAX programming and how GWT solves them -- JavaScript browser's implementation is not consistent -- Mastering JavaScript-an uphill battle -- How GWT comes to the rescue to make developers more efficient -- Google Web Toolkit overview-modern tools for modern developers -- GWT user interface building blocks -- Building the Connectr application-the user interface -- User interface design elements of Connectr -- Coding the Connectr user interface -- Introducing UiBinder to increase productivity -- Declarative UiBinder versus procedural Java-let's compare -- Implementing the application layout with UiBinder -- Tying the view to the Java code -- Adding custom widgets to UiBinder -- Adding CSS styles to the application -- Implementing CSS styles in a global CSS file -- Adding a logo to the application -- Catching mouse and keyboard events -- Grouping CSS files and images for faster speed with ClientBundle -- Creating a ClientBundle -- Using image resources in Connectr -- Automatically checking CSS styles at compile time with CssResource -- Getting data from the server using GWT RPC -- Creating the login service -- Implementing the server-side login service.

Creating the asynchronous interface -- Invoking the login service -- Catching exceptions -- Summary -- 4. Persisting Data: The App Engine Datastore -- Introduction -- The Connectr server-side object model -- The Datastore -- Datastore entities and their properties -- Entity keys -- Datastore queries and indexes -- Queries are supported by indexes -- App Engine queries are fast -- The Datastore versus a relational database -- JDO -- Setting up JDO -- Creating Connectr's data models -- The PersistenceManager and the PersistenceManagerFactory -- Making data classes persistable -- Class and field annotations -- Persistable field types -- Core value types -- Collections and multi-valued properties -- Datastore keys and JDO key fields -- Unencoded String key field -- Long key field -- Key -- Key as encoded string -- Defining keys and core value type fields for Friend and UserAccount -- Referencing complex objects -- Serializable objects and serialized fields -- Using a serialized field to hold friend details -- Changing the value of a serialized field -- Embedded classes -- Data class inheritance -- Saving, updating, and deleting data objects -- Persisting an object -- Fetching a persisted object by its k -- Deleting a persisted object -- An object has an associated PersistenceManager -- Fetch groups -- Connectr example: creating and modifying UserAccount -- Creating new Friend objects -- Deleting a Friend object -- Fetching a list of Friend objects using the key list -- Detached objects -- Detached Data Access Objects and Data Transfer Objects -- DTOs in the Connectr application -- Inspecting the Datastore -- The local development console -- The App Engine Datastore -- Browsing the App Engine Datastore -- Viewing application data statistics -- Resources -- Summary -- 5. JDO Object Relationships and Queries -- Modeling relationships between objects.

Owned relationships and entity groups -- Uni-directional owned relationships -- Supporting uni-directional owned relationships in Connectr -- Dependent children -- Bi-directional owned relationships -- Bi-directional one-to-one relationship -- Bi-directional one-to-many relationship -- One-to-many Collection ordering -- Unowned relationships -- Finding objects-queries and indexes -- Constructing JDOQL queries -- Query examples -- Example 1: -- Example 2: -- Example 3: -- Example 4: -- Example 5: -- Example 6: -- Query filter operators -- Constraints on using inequality filters -- The contains() operator and

Introducing the browser history stack and navigation tokens -- Implementing browser history management -- Bootstrapping the browser history at application startup -- Centralizing RPC calls for better handling and usability and reliability -- Introducing an encompassing RPC class -- Displaying a loading indicator when the app is busy -- Catching server exceptions -- Retrying a call after failure -- Putting it all together -- MVP Development with Activities and Places -- Building a basic application -- Traditional MVP versus MVP with Activities and Places -- Moving parts of ProfileMVP -- Activities -- Places and the Place History Mapper -- Views -- The Browser Factory -- Adding deferred binding for iPhone and Android views -- Activity mapper -- Putting the pieces together: the onModuleLoad method -- Summary -- 7. Background Processing and Feed Management -- Overview of the chapter -- Using Servlets in App Engine -- Making your Servlets accessible-the deployment descriptor -- Defining a Servlet -- Servlet requests and responses -- Generating a response -- App Engine Servlet limitations -- Restricting access to a Servlet -- Sessions -- The JRE whitelist and system restrictions -- Accessing static application files -- Using migrations to evolve the Datastore entities -- Removing a field from a JDO data class definition -- Adding a field to a JDO data class definition -- Facilitating "schema" transitions via migrations -- Approach-defining a migration -- The Migration interface -- Implementing a Migration: The FriendMigration class -- Running the Migration: A Migration Servlet and the Task Queue -- Invoking the Servlet as a web request -- Servlet admin authentication -- Pulling in Feeds: The URL Fetch service -- App Engine services -- URL Fetch -- Java support for URL Fetch -- Using java.net.URLConnection -- Making an HTTP request.

Using HTTP(S) URLConnection objects.
Abstract:
Build powerful, scalable, and interactive web applications in the cloud.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Added Author:
Electronic Access:
Click to View
Holds: Copies: