One Jar To Rule Them All: RxJava + Java8 + Java EE 7 + Arquillian = Bliss
Microservices are an architectural style where each service is implemented as an independent system. They can use their own persistence system (although it is not mandatory), deployment, language, ...
Because a system is composed by more than one service, each service will communicate with other services, typically using a lightweight protocol like HTTP and following a Restful Web approach. You can read more about microservices here: http://martinfowler.com/articles/microservices.html
Let's see a really simple example. Suppose we have a booking shop where users can navigate through a catalog and when they find a book which they want to see more information, they click on the isbn, and then a new screen is opened with detailed information of the book and comments about it written by readers.
This system may be composed by two services:
- One service to get book details. They could be retrieved from any legacy system like a RDBMS.
- One service to get all comments written in a book and in this case that information could be stored in a document base database.
Read full article from One Jar To Rule Them All: RxJava + Java8 + Java EE 7 + Arquillian = Bliss
No comments:
Post a Comment