Share E-Book

Programming AWS Lambda Build and Deploy Serverless Applications with Java (John Chapin Mike Roberts)(Z-Library)

Author John Chapin, Mike Roberts

Other
Language English

Serverless revolutionizes the way organizations build and deploy software. With this hands-on guide, Java engineers will learn how to use their experience in the new world of serverless computing. You’ll discover how this cloud computing execution model can drastically decrease the complexity in developing and operating applications while reducing costs and time to market. Engineering leaders John Chapin and Mike Roberts guide you through the process of developing these applications using AWS Lambda, Amazon’s event-driven, serverless computing platform. You’ll learn how to prepare the development environment, program Lambda functions, and deploy and operate your serverless software. The chapters include exercises to help you through each aspect of the process. Get an introduction to serverless, functions as a service, and AWS Lambda Learn how to deploy working Lambda functions to the cloud Program Lambda functions and learn how the Lambda platform integrates with other AWS services Build and package Java-based Lambda code and dependencies Create serverless applications by building a serverless API and data pipeline Test your serverless applications using automated techniques Apply advanced techniques to build production-ready applications Understand both the gotchas and new opportunities of serverless architecture

Format EPUB
Size 8.5 MB
201
Views
0
Downloads
0.00
Total Donations

AI Guide

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

Full assistant
AI guide
【One-Line Pitch】 A practical, Java-centric guide to building and operating serverless applications on AWS Lambda, covering everything from the mental shift away from servers to deploying, testing, and running production-grade functions. Ideal for Java developers and architects who want to leverage existing skills in the new world of event-driven, pay-per-use cloud computing. 【Book Arc】 - **Opening (~0%–9%)**: Introduces the serverless revolution and AWS Lambda’s disruptive impact, framing the book as a hands-on journey for Java engineers. It sets expectations: you’ll learn to deploy, program, integrate, package, test, and operate Lambda-based systems, with end-of-chapter exercises for real AWS practice. - **Early (~9%–24%)**: Establishes the authors’ credibility (using Lambda since 2015, co-founding Symphonia) and clarifies the target reader—Java developers without prior AWS or framework knowledge. It emphasizes that Java is a first-class Lambda runtime, not an afterthought, and that serverless changes architectural thinking even if code looks similar. - **Early (~24%–33%)**: Covers practical book logistics (code usage permissions, O’Reilly resources) and begins the conceptual foundation: the history of cloud computing, starting with EC2’s IaaS model and its five key advantages (reduced labor cost, reduced risk, etc.), setting up the evolution toward serverless. - **Middle (~33%–48%)**: Explains the progression from IaaS to PaaS and CaaS (e.g., Heroku, Docker, Kubernetes), then introduces serverless as the next evolution, split into backend-as-a-service (BaaS) and functions-as-a-service (FaaS). Examples like Firebase, Auth0, and Cognito illustrate BaaS’s role in outsourcing data and logic components. - **Middle (~48%–52%)**: Defines the five criteria that make a service truly serverless: no long-lived host management, self auto-scaling and provisioning, precise usage-based costs (down to zero), and performance defined independently of host size/count. This framework helps readers evaluate and architect with serverless services correctly. 【Key Takeaways】 - **Serverless is a paradigm shift, not just a deployment option** (Opening): It redefines applications as configurations of multi-tenanted cloud services orchestrated by code, eliminating “undifferentiated heavy lifting” like patching and autoscaling. This matters because it changes how you design, not just where you run. - **Java is a first-class citizen on Lambda** (Early): The authors’ experience shows Java isn’t a bolt-on; it’s fully supported, letting teams reuse existing code and skills. This is crucial for Java shops worried about abandoning their stack. - **Serverless can be cheaper and faster at scale** (Early): Pay-per-use, sub-second billing made systems processing hundreds of millions of events per day more cost-effective than traditional setups. This counters the fear that serverless is only for small or sporadic workloads. - **The cloud evolution matters for context** (Early): From EC2’s IaaS (renting VMs) to PaaS (Heroku) and CaaS (Docker/Kubernetes), each step raised abstraction and offloaded “heavy lifting.” Understanding this trajectory clarifies why serverless is the logical next step, not a fad. - **BaaS replaces components you’d otherwise code** (Middle): Services like Firebase (data) and Auth0/Cognito (auth) let you outsource domain-generic pieces via APIs. This is especially powerful for mobile/web apps, reducing the need for your own intermediary servers. - **Five criteria define true serverless** (Middle): No long-lived instances, self auto-scaling/provisioning, usage-based costs (down to zero), and performance abstracted from host size. Use these as a litmus test to distinguish serverless from merely managed services. - **FaaS is the compute side of serverless** (Middle): While BaaS handles data and logic, FaaS (like Lambda) provides the event-driven compute model. The book’s focus is integrating both to build complete applications, not just isolated functions. 【Reading Tips】 - **Skim the early history if you’re cloud-savvy**: The EC2-to-serverless evolution (Early ~33%) is useful context but can be skimmed if you already know IaaS/PaaS/CaaS. Focus instead on the five serverless criteria (Middle ~48%)—they’re the conceptual core. - **Deep-read the Java-specific parts**: The book’s unique value is Java on Lambda, so pay extra attention to chapters on packaging Java code and dependencies, and integrating with AWS services like S3 and DynamoDB. These are where the authors’ hard-won lessons shine. - **Do the end-of-chapter exercises**: They’re designed to make lessons stick by deploying real functions to AWS. If you’re short on time, at least do the first deployment exercise to get hands-on feel. - **Watch for “gotchas”**: The authors explicitly mention capturing core learnings and pitfalls. Highlight sections discussing operational issues or architecture constraints—these are the insights you won’t find in AWS docs. - **Use the criteria as a checklist**: When reading about any AWS service integration, test it against the five serverless criteria. This will help you internalize what makes an architecture truly serverless. 【Coverage Limits】 This guide is based on the book’s opening and conceptual chapters (roughly the first half). It does not cover the later hands-on sections on deploying functions, building APIs/data pipelines, automated testing, or advanced production techniques—those require reading the full book.

Passage locations

Excerpt 1
A great addition to my bookshelf . Many thanks to them both! Daniel Bryant, Java Champion If you’re a Java developer who wants to reap the benefits of server...
View in text
Excerpt 2
efront, were the start of something special in our industry. In 2016 we started our business, Symphonia, with the mission to help companies make the leap to...
View in text
Excerpt 3
here’s too many people to thank here, but I’ll give it a go. Thanks to my senior school computer studies teacher, Ray Lovell, and to my college tutor, Carrol...
View in text
Excerpt 4
write or manage any of the code to implement those features. The term BaaS came to prominence with the rise in mobile application development; in fact, the t...
View in text

Recommended for You

Loading recommended books...
Failed to load, please try again later

Tip the Site

Scan the WeChat Pay or Alipay code to tip. No login required.

WeChat Pay
Alipay
Back to List