Leanpub Header

Skip to main content

Applied Modularity

Do we really need OSGi, Micro Services and the Java Module System?

How can a book offer anything “applied” on an abstract topic such as modularity in software development? – Well, for instance, by runnable examples and code to play with, by comparing different approaches of modularity applied to the same business domain and by field reports from projects where modularity has been intensively applied.

The author is letting you choose the price you pay for this book!

Pick Your Price...
PDF
EPUB
WEB
29
Readers
102
Pages
25,850Words
About

About

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.

Price

Pick Your Price...

Minimum price

$7.99

$10.00

You pay

$10.00

Author earns

$8.00
$

All prices are in US $. You can pay in US $ or in your local currency when you check out.

EU customers: prices exclude VAT, which is added during checkout.

...Or Buy With Credits!

Number of credits (Minimum 1)

1
The author will earn $12.00 from your purchase!
You can get credits monthly with a Reader Membership

Author

About the Author

Reik Oberrath

Geboren / Born in 1969

Nationalität: Deutsch / Citizenship: German

Promotion in Biologie / PhD in Biology 2000

Seit dem Softwareentwickler und Berater / Software Developer and Consultant until now

Seit 2014 Hobby Leanpub-Autor / Since 2014 Hobby Leanpub Author

Bisher Veröffentlicht / Published until now: 7 E-Books

Contents

Table of Contents

Preface

1. What modularity is

  1. 1.1 Why are many small pieces easier to maintain than one big one?
  2. 1.2 How small or big can a piece of software be?
  3. 1.3 How to structure pieces of software
  4. 1.4 How to cut software into pieces?
  5. 1.5 What kind of boundaries exist that separate pieces of software from each other?
  6. 1.6 How to set up impermeable boundaries?
  7. 1.7 What is modularity not good for?
  8. Chapter Summary

2. The example business domain HOO

  1. 2.1 Requirements
  2. 2.2 Implementation
  3. 2.3 The search for alternative ways to modularity

3. What OSGi is

  1. 3.1 How does OSGi work?
  2. 3.2 A real life OSGi example
  3. 3.3 The HOO service as OSGi application
  4. 3.4 What is OSGi good for?

4. What micro-services are

  1. 4.1 What is the relationship between SOA and micro-service architecture?
  2. 4.2 How do micro-services work?
  3. 4.3 A real life micro-service example
  4. 4.4 The HOO Service as micro-service system
  5. 4.5 What are micro-services good for?

5. What a modular monolith is

  1. 5.1 How does a classic monolith work?
  2. 5.2 How does a pseudo-modular monolith work?
  3. 5.3 How does a true modular monolith work?
  4. 5.4 How is a true modular monolith built?
  5. 5.5 A real life modular monolith example
  6. 5.6 The HOO service as ODDM modular monolith

6. What Java Modules are

  1. 6.1 How do Java Modules work?
  2. 6.2 The HOO service as a Java modulular monolith
  3. 6.3 What are Java Modules good for?

7. The HOO Service in Choreography Design

  1. 7.1 Choreography with micro-services
  2. 7.2 Choreography with OSGi
  3. 7.3 Choreography with ODDM
  4. 7.4 Choreography design with Java Modules
  5. 7.5 Asynchronuous communication

8. Comparing the different modularity approaches

  1. 8.1 Implementation Details
  2. 8.2 Dependency and Reference Types
  3. 8.3 The degree of module coupling
  4. 8.4 Costs and disadvantages
  5. 8.5 Dependency levels, dependency cycles and dependency hell
  6. 8.6 Asynchronous communication

9. Conclusions

  1. 9.1 Combining different modularity approaches
  2. 9.2 Orchestration versus Choreography
  3. 9.3 Transactionality and modularity
  4. 9.4 Domain Driven Design (DDD) and modularity
  5. 9.5 Towards a new modularity mind-set for developers
  6. 9.6 Different ways to achieve the same goal
  7. 9.7 How bad are monoliths?

Postface

Get the free sample chapters

Click the buttons to get the free sample in PDF or EPUB, or read the sample online here

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

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) and EPUB (for phones, tablets and 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.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub