
Learn Microservices with Spring Boot
A Practical Approach to RESTful Services using RabbitMQ, Eureka, Ribbon, Zuul and Cucumber
Moises Macero(Author)
Apress
Published on 10. December 2017
Book
Paperback/Softback
XI, 330 pages
978-1-4842-3164-7 (ISBN)
Article exhausted; check for reprint
Description
Build a microservices architecture with Spring Boot, by evolving an application from a small monolith to an event-driven architecture composed of several services. This book follows an incremental approach to teach microservice structure, test-driven development, Eureka, Ribbon, Zuul, and end-to-end tests with Cucumber.
Author Moises Macero follows a very pragmatic approach to explain the benefits of using this type of software architecture, instead of keeping you distracted with theoretical concepts. He covers some of the state-of-the-art techniques in computer programming, from a practical point of view. You'll focus on what's important, starting with the minimum viable product but keeping the flexibility to evolve it.
What You'll Learn
Who This Book Is For
Those with at least some prior experience with Java programming. Some prior exposure to Spring Boot recommended but not required.
Author Moises Macero follows a very pragmatic approach to explain the benefits of using this type of software architecture, instead of keeping you distracted with theoretical concepts. He covers some of the state-of-the-art techniques in computer programming, from a practical point of view. You'll focus on what's important, starting with the minimum viable product but keeping the flexibility to evolve it.
What You'll Learn
-
Build microservices with Spring Boot
-
Use event-driven architecture and messaging with RabbitMQ
-
Create RESTful services with Spring
-
Master service discovery with Eureka and load balancing with Ribbon
-
Route requests with Zuul as your API gateway
-
Write end-to-end rests for an event-driven architecture using Cucumber
-
Carry out continuous integration and deployment
Who This Book Is For
Those with at least some prior experience with Java programming. Some prior exposure to Spring Boot recommended but not required.
More details
Edition
1st ed.
Language
English
Place of publication
CA
United States
Target group
Professional and scholarly
Illustrations
1
32 farbige Abbildungen, 1 s/w Abbildung
32 Illustrations, color; 1 Illustrations, black and white; XI, 330 p. 33 illus., 32 illus. in color.
Dimensions
Height: 23.5 cm
Width: 15.5 cm
Weight
5212 gr
ISBN-13
978-1-4842-3164-7 (9781484231647)
DOI
10.1007/978-1-4842-3165-4
Schweitzer Classification
Other editions
New editions

Moisés Macero García | Tarun Telang
Learn Microservices with Spring Boot 3
A Practical Approach Using Event-Driven Architecture, Cloud-Native Patterns, and Containerization
Book
11/2023
3rd Edition
APress
€58.84
Shipment within 15-20 days

Moisés Macero García
Learn Microservices with Spring Boot
A Practical Approach to RESTful Services Using an Event-Driven Architecture, Cloud-Native Patterns, and Containerization
Book
11/2020
2nd Edition
Apress
€53.49
Article exhausted; check for reprint
Additional editions

Moises Macero
Learn Microservices with Spring Boot
A Practical Approach to RESTful Services using RabbitMQ, Eureka, Ribbon, Zuul and Cucumber
E-Book
12/2017
APress
€34.99
Available for download
Person
Moises Macero has been a software developer since he was a kid. He has also worked at start-ups where being a full-stack developer is essential. In his career, Moises has most often worked in development, design and architecture - for small and large projects, and in both agile and "waterfall" environments.
Content
Chapter 1: IntroductionSetting the sceneWho are you?Why is this book different from other books and guides?Reasoning behind the technicsLearning: an incremental processIs this a guide or a book?ContentsFrom the basics to advanced topicsSkeleton with Spring Boot, the professional wayTest-Driven DevelopmentConnecting microservicesEvent Driven systemEnd-to-End testingChapter 2: The basic Spring Boot applicationOur Business RequirementsRequirementsThe (skeletal) Hello World appCreating the skeletonSome TDD in actionSummaryChapter 3: A real 3-tier microservice3-tier-ing our serviceCompleting the basicsDesigning our Domain (and the Business Logic layer)Presentation layer (REST API)WebData layerPlaying with the applicationSummaryChapter 4: Starting with MicroservicesIntroductionThe small monolith approachAnalyzing our monolithMoving forwardGamification BasicsWhat is Gamification?Points, Badges and LeaderboardsApplying it to our exampleMoving to Microservices ArchitectureWhy microservices?How microservices will interact with each other?Event Driven ArchitectureConceptRelated techniquesPros and Cons of Event Driven ArchitectureFurther readingApplying Event Driven Architecture to our applicationDeeper look at the Gamification ServiceCode OverviewCommunication with RabbitMQA great power comes with great responsibilitySummaryChapter 5: The Microservices Journey through toolsIntroductionExtracting the UI and connecting it to GamificationMoving the static contentConnecting UI with GamificationChanges in existing servicesA new, better UI with (almost) no effortThe current ArchitectureService Discovery, Load Balancers and RoutingService DiscoveryGateway ServiceHands on codeCircuit Breakers and REST consumersCircuit Breaker with HystrixREST consumers with FeignSummaryChapter 6: Testing our Distributed SystemIntroductionSetting the sceneHow Cucumber worksHands on codeCreating an empty project and choosing our toolsMaking our system testableWriting our first Cucumber testLinking our feature to Java codeReusing steps across FeaturesRunning our tests and checking the reportsSummaryEpilogueAcknowledgmentsNotes