Reader small image

You're reading from  Cloud-Native Applications in Java

Product typeBook
Published inFeb 2018
Reading LevelIntermediate
PublisherPackt
ISBN-139781787124349
Edition1st Edition
Languages
Tools
Concepts
Right arrow
Authors (4):
Ajay Mahajan
Ajay Mahajan
author image
Ajay Mahajan

Ajay Mahajan is a distinguished member of technical staff (DMTS) at Wipro Technologies and currently is in the role of chief technologist of the retail vertical. In his current role, he helps customers adopt cloud-native and digital architecture for next-generation retail applications. He worked with retail and banking clients in Europe and the USA on large-scale mission-critical systems. He has seen the evolution of enterprise Java from the Netscape Application Server to servlets/JSP, JEE, Spring, and now the cloud and microservices during the course of 19 years of working on Java platform.
Read more about Ajay Mahajan

Munish Kumar Gupta
Munish Kumar Gupta
author image
Munish Kumar Gupta

Munish Kumar Gupta is a lead system architect with Visa. Based in Bangalore, India, his day-to-day work involves solution architectures for applications with stringent non-functional requirements, application performance engineering, managing application infrastructure, and exploring the readiness of cutting-edge, open-source technologies for enterprise adoption. He is the author of Akka Essentials. He is very passionate about software programming and craftsmanship. He blogs about technology trends, application performance engineering, and Akka.
Read more about Munish Kumar Gupta

Shyam Sundar S
Shyam Sundar S
author image
Shyam Sundar S

Shyam Sundar is a senior architect with Wipro Technologies based in Bangalore. He is part of the Emerging Technologies Architecture group within Wipro. He is responsible for helping teams adopt new and emerging technologies in their projects. He focuses primarily on the client-side and cloud technologies. He is a lifelong learner who cares deeply about software craftsmanship. He is constantly experimenting with new tools and technologies to improve the development experience.
Read more about Shyam Sundar S

View More author details
Right arrow

Microservice identification


The name microservice does not necessarily mean that the service has to be small in size. But it has the following characteristics:

  • Single responsibility principle: This is the core design principle of microservices. They should do one business unit of a task and do it completely. If there is low coupling, the services will be easier to modify and deploy or even replace altogether.
  • Granular: Microservice granularity is contained within the intersection of a single functional domain, a single data domain and its immediate dependencies, a self-sufficient packaging, and a technology domain.
  • Bounded: A service should have access to resources within its bounded context, which is managed by the same team. However, it should not access resources of other modules, such as cache and databases, directly. If a service needs to access other modules it should do so through an internal API or service layer. This helps reduce coupling and promotes agility.
  • Independent: Each microservice...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Cloud-Native Applications in Java
Published in: Feb 2018Publisher: PacktISBN-13: 9781787124349

Authors (4)

author image
Ajay Mahajan

Ajay Mahajan is a distinguished member of technical staff (DMTS) at Wipro Technologies and currently is in the role of chief technologist of the retail vertical. In his current role, he helps customers adopt cloud-native and digital architecture for next-generation retail applications. He worked with retail and banking clients in Europe and the USA on large-scale mission-critical systems. He has seen the evolution of enterprise Java from the Netscape Application Server to servlets/JSP, JEE, Spring, and now the cloud and microservices during the course of 19 years of working on Java platform.
Read more about Ajay Mahajan

author image
Munish Kumar Gupta

Munish Kumar Gupta is a lead system architect with Visa. Based in Bangalore, India, his day-to-day work involves solution architectures for applications with stringent non-functional requirements, application performance engineering, managing application infrastructure, and exploring the readiness of cutting-edge, open-source technologies for enterprise adoption. He is the author of Akka Essentials. He is very passionate about software programming and craftsmanship. He blogs about technology trends, application performance engineering, and Akka.
Read more about Munish Kumar Gupta

author image
Shyam Sundar S

Shyam Sundar is a senior architect with Wipro Technologies based in Bangalore. He is part of the Emerging Technologies Architecture group within Wipro. He is responsible for helping teams adopt new and emerging technologies in their projects. He focuses primarily on the client-side and cloud technologies. He is a lifelong learner who cares deeply about software craftsmanship. He is constantly experimenting with new tools and technologies to improve the development experience.
Read more about Shyam Sundar S