Creating Microservices in Java
The prospect of creating an application composed of microservices raises some questions in any language: how big should a microservice be? What does the notion of focused services that do one thing mean for traditional centralized governance? What does it do to our traditional ways of modeling data?
Some of these topics will be covered in more depth in later chapters. In this chapter, we’ll focus on how you identify and create the microservices that compose your app, with specific emphasis on how identified candidates are converted into RESTful APIs, and subsequently implemented in Java.
This chapter will cover the following topics:
- Java platforms and programming models
- Versioned dependencies
- Identifying services
- Creating REST (Representational state transfer) APIs