Do we really need OSGi, Micro Services and the Java Module System?
About the Book
This book offers a general introduction into modularity in software engineering. The main part, however, represents an overview of five different approaches to modularity from a practical point of view. An example business domain is used to explain how the different modularity approaches work. When comparing the different approaches, similarities, differences, benefits and disadvantages between them become visible. To all implementations of the example business domain mentioned in the book code is available for you at GitHub. The book refers to this code that enables you to view, run, modify and rerun the implementations in your IDE. Finally, some projects reports are presented that provide some insight on how to cope with typical problems that you may face on the different ways to modularity.
1. What modularity is
- 1.1 Why are many small pieces easier to maintain than one big one?
- 1.2 How small or big can a piece of software be?
- 1.3 How to structure pieces of software
- 1.4 How to cut software into pieces?
- 1.5 What kind of boundaries exist that separate pieces of software from each other?
- 1.6 How to set up impermeable boundaries?
- 1.7 What is modularity not good for?
- Chapter Summary
2. The example business domain HOO
- 2.1 Requirements
- 2.2 Implementation
- 2.3 The search for alternative ways to modularity
3. What OSGi is
- 3.1 How does OSGi work?
- 3.2 A real life OSGi example
- 3.3 The HOO service as OSGi application
- 3.4 What is OSGi good for?
4. What micro-services are
- 4.1 What is the relationship between SOA and micro-service architecture?
- 4.2 How do micro-services work?
- 4.3 A real life micro-service example
- 4.4 The HOO Service as micro-service system
- 4.5 What are micro-services good for?
5. What a modular monolith is
- 5.1 How does a classic monolith work?
- 5.2 How does a pseudo-modular monolith work?
- 5.3 How does a true modular monolith work?
- 5.4 How is a true modular monolith built?
- 5.5 A real life modular monolith example
- 5.6 The HOO service as ODDM modular monolith
6. What Java Modules are
- 6.1 How do Java Modules work?
- 6.2 The HOO service as a Java modulular monolith
- 6.3 What are Java Modules good for?
7. The HOO Service in Choreography Design
- 7.1 Choreography with micro-services
- 7.2 Choreography with OSGi
- 7.3 Choreography with ODDM
- 7.4 Choreography design with Java Modules
- 7.5 Asynchronuous communication
8. Comparing the different modularity approaches
- 8.1 Implementation Details
- 8.2 Dependency and Reference Types
- 8.3 The degree of module coupling
- 8.4 Costs and disadvantages
- 8.5 Dependency levels, dependency cycles and dependency hell
- 8.6 Asynchronous communication
- 9.1 Combining different modularity approaches
- 9.2 Orchestration versus Choreography
- 9.3 Transactionality and modularity
- 9.4 Domain Driven Design (DDD) and modularity
- 9.5 Towards a new modularity mind-set for developers
- 9.6 Different ways to achieve the same goal
- 9.7 How bad are monoliths?
The Leanpub 45-day 100% Happiness Guarantee
Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
C++ Best PracticesJason Turner
Level up your C++, get the tools working for you, eliminate common problems, and move on to more exciting things!
Digital-First EventsJoep Piscaer and Jana Boruta
The only resource you will ever need to launch your digital events program.
C++20 is the next big C++ standard after C++11. As C++11 did it, C++20 changes the way we program modern C++. This change is, in particular, due to the big four of C++20: ranges, coroutines, concepts, and modules.
The book is almost daily updated. These incremental updates ease my interaction with the proofreaders.
Sockets and PipesType Classes
Sockets and Pipes is not an introduction to Haskell; it is an introduction to writing software in Haskell. Using a handful of everyday Haskell libraries, this book walks through reading the HTTP specification and implementing it to create a web server.
Atomic KotlinBruce Eckel and Svetlana Isakova
For both beginning and experienced programmers! From the author of the multi-award-winning Thinking in C++ and Thinking in Java together with a member of the Kotlin language team comes a book that breaks the concepts into small, easy-to-digest "atoms," along with exercises supported by hints and solutions directly inside IntelliJ IDEA!
Introducing EventStormingAlberto Brandolini
The deepest tutorial and explanation about EventStorming, straight from the inventor.
Cloud StrategyGregor Hohpe
“Strategy is the difference between making a wish and making it come true.” A successful migration to the cloud can transform your organization, but it shouldn’t be driven by wishes. This book tells you how to develop a sound strategy guided by frameworks and decision models without being overly abstract nor getting lost in product details.
Ansible for DevOpsJeff Geerling
Ansible is a simple, but powerful, server and configuration management tool. Learn to use Ansible effectively, whether you manage one server—or thousands.
node-opcua by exampleEtienne Rossignon
Get the best out of node-opcua through a set of documented examples by the author himself that will allow you to create stunning OPCUA Servers or Clients.
R Programming for Data ScienceRoger D. Peng
This book brings the fundamentals of R programming to you, using the same material developed as part of the industry-leading Johns Hopkins Data Science Specialization. The skills taught in this book will lay the foundation for you to begin your journey learning data science. Printed copies of this book are available through Lulu.
Software Architecture for Developers: Volumes 1 & 2 - Technical leadership and communication
2 Books"Software Architecture for Developers" is a practical and pragmatic guide to modern, lightweight software architecture, specifically aimed at developers. You'll learn:The essence of software architecture.Why the software architecture role should include coding, coaching and collaboration.The things that you really need to think about before...
Django for Beginners/APIs/Professionals
CCIE Service Provider Ultimate Study Bundle
2 BooksPiotr Jablonski, Lukasz Bromirski, and Nick Russo have joined forces to deliver the only CCIE Service Provider training resource you'll ever need. This bundle contains a detailed and challenging collection of workbook labs, plus an extensively detailed technical reference guide. All of us have earned the CCIE Service Provider certification...
Cisco CCNA 200-301 Complet
4 BooksCe lot comprend les quatre volumes du guide préparation à l'examen de certification Cisco CCNA 200-301.
Linux Administration Complet
4 BooksCe lot comprend les quatre volumes du Guide Linux Administration :Linux Administration, Volume 1, Administration fondamentale : Guide pratique de préparation aux examens de certification LPIC 1, Linux Essentials, RHCSA et LFCS. Administration fondamentale. Introduction à Linux. Le Shell. Traitement du texte. Arborescence de fichiers. Sécurité...
Modern Management Made Easy
3 BooksRead all three Modern Management Made Easy books. Learn to manage yourself, lead and serve others, and lead the organization.
2 BooksDocker and Kubernetes are taking the world by storm! These books will get you up-to-speed fast! Docker Deep Dive is over 400 pages long, and covers all objectives on the Docker Certified Associate exam.The Kubernetes Book includes everything you need to get up and running with Kubernetes!
CCDE Practical Studies (All labs)
3 BooksCCDE lab
All the Books of The Medical Futurist
6 BooksWe put together the most popular books from The Medical Futurist to provide a clear picture about the major trends shaping the future of medicine and healthcare. Digital health technologies, artificial intelligence, the future of 20 medical specialties, big pharma, data privacy, digital health investments and how technology giants such as Amazon...
Cloud Architect: Transform Technology and Organization
2 BooksArchitects don't just recite product names and features. They understand the options, decisions, and trade-offs behind them. They earn credibility and maintain authenticity by connecting the penthouse with the engine room. Get two essential books that redefine the role of the software and IT architect at one low price:37 Things One Architect...