Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Mastering Microservices with Java. - Third Edition

You're reading from  Mastering Microservices with Java. - Third Edition

Product type Book
Published in Feb 2019
Publisher Packt
ISBN-13 9781789530728
Pages 446 pages
Edition 3rd Edition
Languages
Author (1):
Sourabh Sharma Sourabh Sharma
Profile icon Sourabh Sharma

Table of Contents (22) Chapters

Preface 1. Section 1: Fundamentals
2. A Solution Approach 3. Environment Setup 4. Domain-Driven Design 5. Implementing a Microservice 6. Section 2: Microservice Patterns, Security, and UI
7. Microservice Patterns - Part 1 8. Microservice Patterns - Part 2 9. Securing Microservices 10. Consuming Services Using the Angular App 11. Section 3: Inter-Process Communication
12. Inter-Process Communication Using REST 13. Inter-Process Communication Using gRPC 14. Inter-Process Communication Using Events 15. Section 4: Common Problems and Best Practices
16. Transaction Management 17. Service Orchestration 18. Troubleshooting Guide 19. Best Practices and Common Principles 20. Converting a Monolithic App to a Microservice-Based App 21. Other Books You May Enjoy

Maven build

Maven's pom.xml build file contains the description that would allow the REST sample service code to compile, build, and execute. It packages the executable code inside a JAR file. We can choose one of the following options to execute the packaged executable JAR file:

  • Running the Maven tool
  • Executing with the Java command

The following sections will cover them in detail.

Running the Maven build from IDE

All popular IDEs, such as Eclipse, Netbeans, and IntelliJ IDEA, support Java 11 and Spring. You can use any of the preferred IDEs having Java 11 support.

Here, we use the Maven executable to package the generated JAR file. The steps for this are as follows:

  1. Right-click on the pom.xml file for Eclipse/NetBeans...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime}