Java Microservices [Tutorials and Articles]
Java Microservices [Tutorials and Articles]
A look into DZone's best tutorial on building Java microservices using Java EE, Spring Boot, and the more standard flavors of the Java language.
Join the DZone community and get the full member experience.Join For Free
Java and microservices go together like spring and boots. In this article, we take a deep dive into the world of Java microservices. We examine tutorials that demonstrate how to develop microservices using Java EE, Spring Boot, and the more standard flavors of the Java language.
Introduction to Microservices
- Quick Introduction to Software Architecture by Ranga Karanam. A quick look into the role of architecture in the software development process and how architects approach the problems they face.
What Are Microservices? An Introduction to Microservice Architecture by Sahiti Kappagantula. Get a better understanding of microservices architecture, its advantages, and best practices for designing it.
An Introduction to Microservices by Tom Porter, Ph.D. Learn everything you need to know about microservices, like their architecture, the best coding languages, and how they make calls.
Microservices Introduction (Monolithic vs. Microservice Architecture) by Jahid Akhtar. Learn about the disadvantages of monolithic architecture and how they're solved by microservices.
Microservices Architecutre: Introduction to Auto Scaling by Ranga Karanam. In this article, we look at auto scalingand the important parts of implementing auto scaling in a microservices architecture.
Tutorials on Java Microservices
Java Microservices: Code Examples, Tutorials, and More by Angela Stringfellow. Here we explore microservices and their benefits in the context of various Java-friendly frameworks, including Spring Boot, Jersey, Play, and Restlet.
Configuring Java Apps With Kubernetes ConfigMaps and Helm by Ryan Dawson. This tutorial will show you how to develop Java microservices that use ConfigMaps, see how ConfigMaps are used, and update them in the app.
Java vs. Go Microservices — Load Test With Multiple Users by Ivan Nikitsenka. Learn about performance differences between microservices in Java and Go to help you plan the language you choose to build your own microservices applications.
Invoking REST APIs From Java Microservices by Niklas Heidloff. A developer goes through a quick tutorial on how to invoke and work with REST APIs and their clients while coding up Java microservices.
How to Run Java Microservices on OpenShift Using Source-2-Image by Piotr Minkowski. A dev gives a tutorial on how to easily create several different Java-based microservice applications using OpenShift and its Source-2-Image functionality.
Using Quarkus to Run Jaa Microservice Apps on Kubernetes by Niklas Heidloff. Take a look at how to combine these awesome open source technologies to develop and run Java-based microservices.
Writing Java Microservices WIth WSO2 Microservices Framework for Java (MSF4J) by Chanaka Fernando. Learn about writing Java microservices with WSO2 Microservices Framework for Java (MSF4J) to enable capabilities for an enterprise production environment.
How to Build and Run a Hello World Java Microservice by Niklas Heidloff. A developer advocate gives a quick tutorial on how to create a 'Hello World' microservices application using Java and the MicroProfile framework.
OpenLiberty.io:Java EE Microservices Done Right by Pavel Pscheidl. See how the fully open source OpenLiberty Java EE stack works and compares to Spring Loaded and other microservices-oriented, enterprise-grade tools.
Microservices in Java Refcard by Joshua Long. How quickly can you stand up a new Java microservice? You've either bought the idea of microservices – isn't this just the UNIX philosophy generalized? – or you're wondering how we're not just going to rehearse the migraines of CORBA and DCOM and EJB. Nice concept, but the devil is in the implementation details. This Refcard turns concepts into code and lets you jump on the design and runtime scalability train right away – complete with working Java snippets that run the twelve-factor gamut from config to service registration and discovery to load balancing, gateways, circuit breakers, cluster coordination, security, and more.
Building Microservices With Java by Ivar Grimstad. Learn how to build microservices and use containers in Java.
Microservices in the Cloud, Part One by Otavio Santana. Everything you need to know about Java microservices and microservices in the cloud; databases, Eclipse MicroProfile implementations.
Microservices Architecture on the Modern Stack of Java Technologies by Roman Kudryashov. In this post, we take a look at microservices architectures based on technologies relevant to the Java world. Read on to get started!
Building a Java Cloud-Native Spring Microservices Application on Azure, Part 1 by Zach Gardner. A guide for using Azure to build cloud-native Java microservices with Spring.
Reactive Microservices With Lagom and Java Refcard by Markus Eisele. Building Reactive Systems can be hard, but Lagom abstracts the complexities away. Using this open-source framework, you can build Microservices as reactive systems that are elastic and resilient from within. Lagom also provides a development environment that saves you from monotonous setup and scripting, allowing you to use a single command to build your project and start your services.
Java: ChronicleMap Part 3, Fast Microservices by Per-Ake Minborg. In this article, you will learn how you can start your microservices applications in seconds by using memory-mapped ChronicleMap instances. If you enjoy this article, be sure to check out Part 1 and Part 2 as well.
Develop and Deploy Microservices With JHipster by Matt Raible. This comprehensive guide will walk you through developing and deploying Java microservices with the help of the open source JHipster.
Microservices Communication: Eureka Client by Shamik Mitra. Service discovery is great for microservice communication, so here's how you can do it in Java using Spring Boot and Eureka, including a Eureka primer.
How to Build Microservices With Java EE and JBoss Forge by Thorben Janssen. In this post we take a look at how you can get started with building and implementing microservices using Java EE and JBoss Forge.
Microservices and Java 9: New Features by Andre Luis de Oliveira Dias. See how Java 9's Project Jigsaw, JShell, concurrency updates, semantic versioning, and new version string format will impact your microservices development.
Microservices on the JVM With Actors by Markus Eisele. When it comes to bringing microservices to the JVM, it's hard to go wrong with Akka and its actor model. Let's see how they contribute to microservices adoption.
Developing and Debugging Microservices With Java by Niklas Heidloff. A developer advocate gives a quick tutorial on how devs can use the Microclimate framework to easily debug their Java-based microservices applications.
Persistence for Java Microservices in Kubernetes Via JPA by Niklas Heidloff. We build out a microservice application by using JPA to add data persistence.
Create Production-Grade Java Microservice Architecture With JHipster and Couchbase by Tayeb Chlyah. In this tutorial, you'll learn about the architecture of microservices and NoSQL with Couchbase so you can build Java microservice applications with JHipster.
Java EE Microservices on Kubernetes With KumuluzEE by Zvone Gazvoda. This tutorial will show you how to use the KumuluzEE framework to deploy Java microservices, plus how to perform health checks and scaling.
Java Microservices With Spring Boot
Event-Driven Microservices With Spring Boot and ActiveMQ by Swathi Prasad. A guide to using Spring Boot and ActiveMQ for event-driven microservices; including coding snippets and an overview to what Spring Boot is.
Spring Boot Microservices: Building a Microservices Application Using Spring Boot by Samarpit Tuli. In this tutorial, we'll see how to build a microservices application using Spring Boot, following up on Part 1 of this series.
Extending Spring Boot's Zuul Proxy to Record Requests and Responses by Dan Erez. A code snippet that allows the user to extend Spring Boot's Zuul proxy to record requests and responses.
Redirecting HTTP Requests With Zuul in Spring Boot by Jesus J. Puente. A developer provides a tutorial on how to use the Zuul and Spring Boot frameworks to redirect HTTP requests to and from our microservices applications.
Quick Guide to Microservices With Spring Boot 2.0, Eureka, and Spring Cloud by Piotr Minkowski. This article provides a brief summary of the Spring Boot and Spring Cloud frameworks' most important components for developing microservices applications.
Microservices Using Spring Boot and Spring Cloud — Part 1: Overview by Siva Prasad Reddy Katamreddy. This series on starting your microservices journey by leveraging Spring Boot and Spring Cloud begins with an introduction to the concepts of the application.
Microservices Architecture With Spring Boot and Spring Cloud by Matt Raible. In this tutorial, we take a closer look at building a secure microservices architecture with Spring Boot and Spring Cloud in Java.
- Spring Boot Autoscaler by Piotr Minkowski. In this microservice tutorial, we'll learn how to achieve auto-scaling for microservices architecture in a Spring Boot application with a Jenkins pipeline
Kotlin Microservice With Spring Boot Tutorial by Piotr Minkowski. A developer and architect gives a tutorial on how to develop a simple microservice-based application using the Kotlin language and the Spring Boot framework.
Chaos Monkey for Spring Boot Microservices by Piotr Minkowski. Learn how to use the Chaos Monkey library to test the resiliency and performance of your Spring Boot microservices.
Microservices Tutorial: Using Spring Boot and Feign for Communication [Video] by Shamik Mitra. In the video-based tutorial/coding session, a dev discusses the concepts of microservices communication and how to implement synchronous communication.
Microservices With Spring Boot, Part 1 — Getting Started by Ranga Karanam. To begin this microservice architecture series, we'll learn about the concept of microservices and look at how to create them with Spring Boot and Spring Cloud.
Microservices With Spring Boot, Part 2 — Creating a Forex Microsevice by Ranga Karanam. This microservices architecture series continues with a tutorial on a microservice with Spring Boot and get it to work with Spring MVC, JPA, Hibernate, and H2.
Microservices With Spring Boot, Part 3 — Creating a Currency Conversion Microservice by Ranga Karanam. Today, we'll learn how to build a currency conversion microservice as part of this tutorial on setting up a microservices architecture with Spring Boot.
Microservices With Spring Boot, Part 4 — Using Ribbon for Load Balancing by Ranga Karanam. This tutorial series on microservice architecture continues by teaching you how to use Ribbon as a load balancer in your Spring Boot microservices project.
Microservices With Spring Boot, Part 5 — Using Eureka Naming Server by Ranga Karanam. In this microservices architecture tutorial, we will learn to enable a Eureka Naming Server and allow our Spring Boot microservices to communicate with it.
Building a Microservice Chassis With Spring Boot and Spring Cloud by Darryl Anderson. Learn how to build a reusable microservice chassis - which helps save time and enforce consistency across teams and services - in this microservices tutorial.
Microservices Using Spring Boot Applications by Mandar Dharukar. In this tutorial, you'll learn how to use Spring Boot to build microservices, which reduces the configuration and boilerplate code you need to write.
Event Messaging for Microservices With Spring Boot and RabbitMQ by Tom Hombergs. This article will show you how to implement a messaging solution to exchange events between services in a distributed system using RabbitMQ and Spring Boot.
Opinions expressed by DZone contributors are their own.