Search and Find

Book Title

Author/Publisher

Table of Contents

Show eBooks for my device only:

 

Beginning Java Google App Engine

Beginning Java Google App Engine

of: Kyle Roche, Jeff Douglas

Apress, 2011

ISBN: 9781430225546 , 264 Pages

Format: PDF, Read online

Copy protection: DRM

Windows PC,Mac OSX,Windows PC,Mac OSX geeignet für alle DRM-fähigen eReader Apple iPad, Android Tablet PC's Read Online for: Windows PC,Mac OSX,Linux

Price: 39,58 EUR



More of the content

Beginning Java Google App Engine


 

Title Page

1

Copyright Page

2

Contents at a Glance

4

Table of Contents

5

Foreword

10

About the Authors

12

About the Technical Reviewer

14

Acknowledgments

15

Introduction

16

Chapter 1 Beginning Google App Engine for Java

17

Cloud Computing and App Engine

17

Find More Time to Innovate

20

What You’ll Learn in This Book

21

Summary

22

Chapter 2 Introduction to App Engine

23

App Engine Architecture

23

Being a Good Neighbor With Quotas

25

Billable and Fixed Quotas

26

Detailed Resource Quotas

28

Requests

28

Datastore

30

URL Fetch

34

XMPP

35

Image Manipulation

36

Memcache

37

Components of an App Engine Application

38

Summary

39

Chapter 3 Getting Started with Google App Engine for Java

40

Where Do We Start?

40

Installing the Java SDK

41

Installing the Google Plugin for Eclipse

41

Signing Up for Google App Engine

44

Launching the Demo Application

44

Create Your First App Engine Project

45

Project Artifacts

46

Local Development Server

52

Ready to Launch

52

Deploying Your Sample Application

54

Summary

57

Chapter 4 Servlet Container and Frameworks

58

Choosing a Framework

58

Servlets and JavaServer Pages

61

Views

61

Model

74

Controller

79

Deployment Descriptor

84

PersistenceManager

84

Spring MVC

85

Server Configuration

86

Views

87

Adobe Flex

89

Server Configuration

91

Client-Side Code

94

Server-Side Code

98

Summary

103

Chapter 5 Developing Your Application

104

Functional Specifications

104

Timecard UI Mock-up

105

Technical Specifications

106

Authentication

106

Presentation

106

Persistence

107

Using Google Web Toolkit

107

Creating Your Project

108

GWT Module Definition

109

The Host Page

109

Running the Initial Starter Application

111

Hosted Mode

111

Web Mode

112

Developing Your Application

112

Required Imports

116

Coding Your UI

117

Adding Your Styles

122

Modifying Your Hosted Page

122

Running Your Application

123

Handling Client-Side Events

123

Summary

136

Chapter 6 Authenticating Users

137

Introducing Google Accounts

137

Restricting Access to Resources

138

Users API

139

Development Mode

140

Adding Authentication for Your Application

141

LoginInfo Class

142

LoginService and LoginServiceAsync Interfaces

143

Google Accounts Login Implementation

144

Modifying the Deployment Descriptor

145

Modifying the User Interface

145

Summary

147

Chapter 7 Using the App Engine Datastore

149

Introducing the App Engine Datastore

149

Working with Entities

150

Classes and Fields

151

CRUDing Entities

157

Creating Entities

157

Fetching Entities

158

Updating Entities

158

Deleting Entities

159

Performing Queries with JDOQL

159

Filtering Queries

160

Sorting Queries

161

Query Ranges

161

Using Indexes

161

Building Indexes

162

Creating Indexes In Development Mode

162

Using Transactions

163

Finishing Up Your Application

164

Making Remote Procedure Calls with GWT RPC

164

TimeEntryData POJO

165

TimeEntryEntity JDO Class

167

NotLoggedIn Exception

169

Creating Your Data Service

170

Modifying the Deployment Descriptor

175

Invoking the Service from the GWT Client

175

Displaying Timecard Entries

180

Summary

182

Chapter 8 App Engine Services

183

Setting up the Project

183

Memcache Service

185

URL Fetch Service

189

Images Service

192

Creating the Java Classes

193

Writing the ImageObject Class

194

Writing the PersistenceManagerFactory Class

196

Writing the ImageSource Class

196

Writing the ImageTransform Class

197

Completing the Application

200

Testing the Service

201

Mail API

203

XMPP Service

206

Summary

209

Chapter 9 Administration and Integration

210

Managing Your App Engine Application

210

The Application Dashboard

212

Application Versioning

216

Analyzing Log Files

217

Downloading Log Files

218

Integration

219

Integration with Google Wave

219

Google Wave Gadgets

219

Google Wave Robots

220

Integration with Salesforce.com

227

Setting Up a Salesforce.com Development Org

228

Connecting to the Development Org

229

Summary

231

Index

233