Book description
This practical guide shows intermediate and advanced web and mobile app developers how to build highly scalable Java applications in the cloud with Google App Engine. The flagship of Google's Cloud Platform, App Engine hosts your app on infrastructure that grows automatically with your traffic, minimizing up-front costs and accommodating unexpected visitors. You’ll learn hands-on how to perform common development tasks with App Engine services and development tools, including deployment and maintenance.
For Java applications, App Engine provides a J2EE standard servlet container with a complete Java 7 JVM and standard library. Because App Engine supports common Java API standards, your code stays clean and portable.
- Get a hands-on introduction to App Engine's tools and features, using an example application
- Simulate App Engine on your development machine directly from Eclipse
- Structure your app into individually addressable modules, each with its own scaling configuration
- Exploit the power of the scalable Cloud Datastore, using queries, transactions, and data modeling with JPA
- Use Cloud SQL for standard relational databases with App Engine applications
- Learn how to deploy, manage, and inspect your application on Google infrastructure
Publisher resources
Table of contents
- Preface
- 1. Introducing Google App Engine
- 2. Creating an Application
-
3. Configuring an Application
- The App Engine Architecture
- Configuring a Java App
- App IDs and Versions
- Multithreading
- Request Handlers
- Static Files and Resource Files
- Domain Names
- Google Apps
- Configuring Secure Connections
- Secure Connections with Custom Domains
- Authorization with Google Accounts
- Environment Variables
- Inbound Services
- Custom Error Responses
- Java Servlet Sessions
- 4. Request Handlers and Instances
-
5. Using Modules
- An Example Layout
- Configuring Modules
- Manual and Basic Scaling
- Startup Requests
- Shutdown Hooks
- Background Threads
- Modules and the Development Server
- Deploying Modules
- Addressing Modules with URLs
- Dispatching Requests to Modules
- Starting and Stopping Modules
- Managing and Deleting Modules and Versions
- The Modules API
- An Always-On Example
- 6. Datastore Entities
-
7. Datastore Queries
- Queries and Kinds
- Query Results and Keys
- The Query API
- Introducing Indexes
- Automatic Indexes and Simple Queries
- Custom Indexes and Complex Queries
- Not-Equal and IN Filters
- Unset and Nonindexed Properties
- Sort Orders and Value Types
- Queries and Multivalued Properties
- Query Cursors
- Projection Queries
- Configuring Indexes
- 8. Datastore Transactions
- 9. Datastore Administration
- 10. The Java Persistence API
- 11. Using Google Cloud SQL with App Engine
- 12. The Memory Cache
- 13. Fetching URLs and Web Resources
- 14. Sending and Receiving Email Messages
- 15. Sending and Receiving Instant Messages with XMPP
- 16. Task Queues and Scheduled Tasks
- 17. Optimizing Service Calls
- 18. Managing Request Logs
- 19. Deploying and Managing Applications
- Index
Product information
- Title: Programming Google App Engine with Java
- Author(s):
- Release date: June 2015
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491903452
You might also like
book
Programming Google App Engine with Python
This practical guide shows intermediate and advanced web and mobile app developers how to build highly …
book
Programming Google App Engine, 2nd Edition
Google App Engine makes it easy to create a web application that can serve millions of …
book
Using Google App Engine
Build exciting, scalable web applications quickly and confidentlyusing Google App Engine and this book, even if …
book
Mastering Google App Engine
Build robust and highly scalable web applications with Google App Engine About This Book Get an …