Book Image

Cloud-Native Applications in Java

By : Andreas Olsson, Ajay Mahajan, Munish Kumar Gupta, Shyam Sundar S
Book Image

Cloud-Native Applications in Java

By: Andreas Olsson, Ajay Mahajan, Munish Kumar Gupta, Shyam Sundar S

Overview of this book

Businesses today are evolving so rapidly that they are resorting to the elasticity of the cloud to provide a platform to build and deploy their highly scalable applications. This means developers now are faced with the challenge of building build applications that are native to the cloud. For this, they need to be aware of the environment, tools, and resources they’re coding against. If you’re a Java developer who wants to build secure, resilient, robust, and scalable applications that are targeted for cloud-based deployment, this is the book for you. It will be your one stop guide to building cloud-native applications in Java Spring that are hosted in On-prem or cloud providers - AWS and Azure The book begins by explaining the driving factors for cloud adoption and shows you how cloud deployment is different from regular application deployment on a standard data centre. You will learn about design patterns specific to applications running in the cloud and find out how you can build a microservice in Java Spring using REST APIs You will then take a deep dive into the lifecycle of building, testing, and deploying applications with maximum automation to reduce the deployment cycle time. Gradually, you will move on to configuring the AWS and Azure platforms and working with their APIs to deploy your application. Finally, you’ll take a look at API design concerns and their best practices. You’ll also learn how to migrate an existing monolithic application into distributed cloud native applications. By the end, you will understand how to build and monitor a scalable, resilient, and robust cloud native application that is always available and fault tolerant.
Table of Contents (20 chapters)
Title Page
Packt Upsell


In a deployment diagram, internet outside the firewall was depicted using the shape of a cloud. Not until I read Big Switch, Nicholas G. Carr, did I realize the full potential of cloud and what was to come. Fast forwarding 10 years, now we do not think twice before drawing the cloud shape around the complete system to depict how cloud is everywhere. Cloud Native comes naturally for start-ups, but for a lot of enterprises, this is still an uncharted territory. Just doing lift-and-shift is not the right use of cloud, though it may be the first thing most large corporations are doing to mitigate the currency of their data centers or to avoid extension of leases. The power of cloud is seen when we are able to build cloud-native architecture-based applications that are business critical and can drive transformational value. Hence, I have always encouraged my team to gain knowledge on designing and building smarter applications on cloud. 

Munish, Ajay, and Shyam are part of the core team that has always researched and worked on emerging technologies, using them to solve business problems. They are among the leading experts and consultants on the enterprise digital transformation with a focus on distributed systems using microservices and emerging technologies such as reactive frameworks, open source, and container technology (Dockers and Kubernetes) to name a few. Hence, I encouraged them to work on this book so as to enable the next generation of developers to jump start their journey to cloud-native applications.

This book takes a step-by-step approach to understanding, designing, and writing applications for cloud. The authors take you on a learning journey that starts with the concepts, followed by building a small REST service, and then going through the incremental journey of enhancing the service to be cloud native. They cover various aspects of cloud-specific nuances, such as how to discover a service in a distributed architecture and the role played by service discovery tools. You will also learn how to migrate your application to public cloud providers—AWS and Azure. The book covers serverless computing models such as AWS Lamda and Cloud Functions.

 I encourage you to get the best out of this book to spearhead your application development journey on cloud. 


Hari Kishan Burle

Vice President and Global Head Architecture Services

Wipro Limited