Java and Java Programming Models. Open Source Microservices Frameworks
- Java Programming Models (Frameworks)
- Jakarta EE
- Eclipse MicroProfile
- Kogito cloud-native business automation framework
- Thorntail (aka WildFly Swarm)
- Spring Boot VS MicroProfile
- Quarkus vs Spring Boot
- More Java Frameworks or Libraries
- Java Logger Implementations
- Java Testing Frameworks
- Debugging Java Threads
- Project Helidon
- medium.com/@javachampions : Java is still free
- Oracle Java 11 and OpenJDK
- developers.redhat.com: The future of Java and OpenJDK updates without Oracle support
- redhat.com: The history and future of OpenJDK
- javarevisited.blogspot.com: The 2020 Java Developer RoadMap 🌟
- marcobehler.com: Java Versions and Features 🌟
- advancedweb.hu: A categorized list of all Java and JVM features since JDK 8 to 14
- JDK 15: The new features in Java 15 Just-arrived update to standard Java features text blocks, hidden classes, the Z Garbage Collector, and previews of pattern matching and records.
- GitHub Welcomes the OpenJDK Project!
- advancedweb.hu: A categorized list of all Java and JVM features since JDK 8 to 16
- javaconceptoftheday.com: Java 9 Interface Private Methods
- javatechonline.com: Making Java easy to learn - Microservices In Java 🌟 The top five languages that are using Microservices are Java, Python, C++, Ruby and Golang. Although this data is based on the number of companies using it. Again Microservices in Java is leading the table.
- java-success.com: 01: Q07 – Q12 Java Micro & Web services Interview Q&As
- javatechonline.com: Making Java easy to learn - OOPs Design Principles
- javatechonline.com: Making Java easy to learn - Spring Boot Annotations With Examples
- dzone: Java Creator James Gosling Interview
- dzone: How can Java bring you into Kubernetes-Native Future
- infoq.com: Java 17, the Next Long-Term Support Release, is Now Available
- developers.redhat.com: Shenandoah in OpenJDK 17: Sub-millisecond GC pauses
- tschatzl.github.io: JDK 17 G1/Parallel GC changes
- dzone: Choosing Library To Build Rest API in Java Java library for restful API, tech stack choices for building REST API in Java.
- developers.redhat.com: Modernizing Enterprise Java: A cloud native guide for developers
- medium.com/javarevisited: Top 5 Frameworks Java developers can learn for Microservices Development in 2022
- java67.com: How to Create and Start Multiple Threads in Java? - Example Tutorial
- foojay.io: Top 10 Java Language Features
- geeksforgeeks.org: 5 Best Java Frameworks For Microservices
How to migrate Java workloads to containers
- enterprisersproject.com: How to migrate Java workloads to containers: 3 considerations As IT teams weigh what to containerize and migrate to a cloud environment, they need to evaluate many Java workloads. Experts explain three key factors
Existing Java Implementations
- Oracle Java
- Oracle OpenJDK
- IBM JDK (based on Eclipse OpenJ9)
- Red Hat OpenJDK
- AdoptOpenJDk (based on Eclipse OpenJ9)
- docs.microsoft.com: Microsoft OpenJDK
Which Version of JDK Should I Use?
Amazon Corretto OpenJDK distribution
- Amazon Corretto No-cost, multiplatform, production-ready distribution of OpenJDK. Corretto comes with long-term support that will include performance enhancements and security fixes. Amazon runs Corretto internally on thousands of production services and Corretto is certified as compatible with the Java SE standard. With Corretto, you can develop and run Java applications on popular operating systems, including Linux, Windows, and macOS.
- Amazon has been putting a lot of effort into Java. One of the central themes has been the reduction of latency. - youtube: Amazon Corretto, A Journey into Latency Reduction Corretto is a multi-platform, production-ready distribution of OpenJDK, supported by Amazon. We will talk about the Corretto project, it’s principals, and walk through examples that drove performance gains, latency reduction, and cost reduction in some of the biggest services in AWS.
Use Java 11
- It’s time! Migrating to Java 11 🌟
- Oracle’s Java 11 trap - Use OpenJDK instead! 🌟
- AdoptOpenJDK 11 Is the New Default 🌟
- All You Need To Know For Migrating To Java 11
- tecmint.com: How to Install Java 17 on RHEL-based Linux Distributions
- kstefanj.github.io: GC progress from JDK 8 to JDK 17 JVM with <5ms GC pauses (ZGC). JDK17 is a huge leap forward in benchmark after benchmark. Upgrade as fast as you can. Amazon’s Corretto builds are available for a huge number of platforms and distribution channels. The JRE disappeared with jdk9: use jlink to assemble exactly the JRE you need.
Java Programming Models (Frameworks)
- Best Java Frameworks Solutions The best Java Frameworks vendors are Apache Spark, Spring Boot, Oracle Application Development Framework (Oracle ADF), Jakarta EE, and Open Liberty. Apache is the top solution according to IT Central Station reviews and rankings. One reviewer writes: “Fast performance and has an easy initial setup”, and another reviewer writes: “Easy to use and is capable of processing large amounts of data”. The 2nd best product is Spring Boot. A user writes: “Very smooth implementation; excellent features for monitoring and tracking network calls “, and another reviewer writes: “Makes it difficult to support a specific functionality in a user-friendly manner, but simplifies application deployment”.
- Open Source Microservices Frameworks (frameworks for microservices development):
|Java Programming Model||Technology||Cloud Native (microservices)||Platform|
Java EE at a Glance
|Frontend + Backend
Java EE Monoliths
|No||Java EE Middleware Servers (WAS, WebLogic, JBoss EAP, etc)|
|Jakarta EE (Java EE renamed)||Frontend + Backend||Yes||OpenShift, Kubernetes, etc|
|MicroProfile||Backend (RESTful)||Yes||OpenShift, Kubernetes, etc|
|SpringBoot (Spring)||Backend (RESTful)||Yes||OpenShift, Kubernetes, etc|
|Spring Cloud (Spring)||Backend (RESTful)||Yes||OpenShift, Kubernetes, etc|
|Quarkus||Backend (RESTful)||Yes||OpenShift, Kubernetes, etc|
|Thorntail||Backend (RESTful)||Yes||OpenShift, Kubernetes, etc|
- developers.redhat.com: Jakarta EE 8: The new era of Java EE explained
- developers.redhat.com: Making Java programs cloud-ready, Part 1: An incremental approach using Jakarta EE and MicroProfile
- developers.redhat.com: Making Java programs cloud-ready, Part 2: Upgrade the legacy Java application to Jakarta EE
- Eclipse MicroProfile Project The Eclipse MicroProfile project is aimed at
optimizing Enterprise Java for the microservices architecture.
- Many innovative “microservice” Enterprise Java environments and frameworks already exist in the Java ecosystem. These projects are creating new features and capabilities to address microservice architectures – leveraging both Java EE and non-Java EE technologies.
- The goal of the Eclipse MicroProfile project is to iterate and innovate in short cycles to propose new common APIs and functionality, get community approval, release, and repeat. Eventually, the outputs of this project could be submitted to the Eclipse Jakarta EE, JCP, OpenJDK or any relevant standards body.
- MicroProfile.io Optimizing Enterprise Java for a Microservices Architecture
- developers.redhat.com: Eclipse MicroProfile for Spring Boot developers
- Eclipse MicroProfile: 5 Things You Need to Know 🌟
- developers.redhat.com: Develop Eclipse MicroProfile applications on Red Hat JBoss Enterprise Application Platform Expansion Pack 1.0 with Red Hat CodeReady Workspaces
- infoq.com: Virtual Panel: The MicroProfile Influence on Microservices Frameworks
Server Vendors providing MicroProfile runtimes
- Spring Framework Architecture 🌟
- javatutorial.net: Introduction to Spring Web Framework
- javarevisited.blogspot.com: 10 JdbcTemplate Examples in Spring Framework
- medium.com: Top 10 Courses to Learn Microservices in Java and Spring Framework
- dzone: How to Create Microservices Using Spring 🌟 Let’s consider the use case of BookMyHotel Web Application, developed by a company known as MyInternetSolutions.
- spring.io: A Java 17 and Jakarta EE 9 baseline for Spring Framework 6
- blog.frankel.ch: Annotation-free Spring
- java67.com: 10 Spring Framework Annotations Java Developer should learn - Example Tutorial
- javarevisited.blogspot.com: Role based Access control using Spring Security and MVC, Mapping LDAP Groups to Authorities for Authorization
- dzone: All About Spring Boot (Tutorials and Articles)
- jaxenter.com: CI/CD for Spring Boot Microservices: Part 1
- jaxenter.com: CI/CD for Spring Boot Microservices: Part 2. Extending CI/CD: Kubernetes Continuous Deployment for Microservices
- dzone: Deploying Spring Boot App to JBoss Wildfly
- Spring Boot: ¿war o jar? Ambos
- javatutorial.net: Spring vs. Java EE
- medium.com: Spring Cloud kubernetes for hybrid microservices architecture
- 10 Free Spring Boot Courses and Tutorials for Java Developers
- Spring Boot Istio library: Spring Boot library for integration with Istio
- Spring Boot native images. The path towards Spring Boot native applications
- piotrminkowski.com: Best practices for microservices on kubernetes 🌟
- piotrminkowski.com: Spring Boot Autoscaling on kubernetes 🌟
- spring.io: What’s new in Spring Boot 2.4 🌟
- arnoldgalovics.com: Java and Spring Boot multiline log support for Fluentd (EFK stack)
- developers.redhat.com: Spring Boot on Quarkus: Magic or madness?
- codecentric’s Spring Boot Admin UI 🌟 Admin UI for administration of spring boot applications
- piotrminkowski.com: Spring Boot Tips, Tricks and Techniques
- javatechonline.com: How To Work With Apache Kafka In Spring Boot?
- dzone: How To Run the Spring Boot Application as a Stand-Alone Java Application In this Spring Boot video tutorial, take a closer look at how to run the Spring Boot application as a stand-alone Java application and RESTful Web Services.
- medium: Multi-Tenancy Implementation using Spring Boot + Hibernate 🌟
- vladmihalcea.com: The best way to log SQL statements with Spring Boot
- vladmihalcea.com: How to encrypt and decrypt data with Hibernate
- stackoverflow.com: How to map a MySQL JSON column to a Java entity property using JPA and Hibernate
- javarevisited.blogspot.com: Spring Boot + Angular Example Tutorial for Java Developers
- piotrminkowski.com: Distributed Transactions in Microservices with Kafka Streams and Spring Boot
- vladmihalcea.com: Spring Boot Application Properties
- javarevisited.blogspot.com: How to log SQL statements in Spring Boot? Example Tutorial
- geeksforgeeks.org: Best way to master spring boot , a complete roadmap
SpringBoot with Docker
- spring.io: spring boot with docker
- spring.io: Creating Docker images with Spring Boot 2.3.0.M1
- learnk8s.io: Developing and deploying Spring Boot microservices on Kubernetes
- youtube: Creating Docker Images With Spring Boot
- dev.to: The Simple Guide To Dockerizing Spring Boot
- infoq.com: Spring Boot 2.6 Improves Docker Images and Metrics, Version 2.4 Is EOL
High-level abstractions/tools to run SpringBoot application on kubernetes without having to write 10,000 lines YAML. Tools that can automate the generation of Kubernetes manifests, so you concentrate only on building your business logic. Dekorate even supports annotations spring-like
@KubernetesApplication(name="my-app") in your code, that generates your deployment manifest yml:
- odo CLI tool
- Dekorate Java library, has a Spring Boot support
- JKube Maven plugin
- Skaffold –generate-manifests
- Spring Cloud Kubernetes
- testcontainers-spring-boot 🌟 Container auto-configurations for spring-boot based integration tests. If you use Testcontainers with Spring Boot Hoja balanceándose en el viento you may be interested in the Playtika_Ltd Testcontainers library that provides auto-configurations for springboot based integration tests. It contains modules e.g. for kafka rabbitmq mongodb
- Salaboy/From Monolith to K8s Workshop-style guide for rearchitecting a Java Monolith application to a Cloud Native architecture running in Kubernetes
Spring Cloud Kubernetes
- github: Spring Cloud Kubernetes 🌟
- Spring Cloud Kubernetes for hybrid microservices architecture
- piotrminkowski.com: Microservices with spring cloud kubernetes
Spring Cloud Config and Spring Cloud Config Server
- Spring Cloud Config
- Spring Cloud Config Server: Git Backend
- developer.okta.com: Spring Cloud Config for Shared Microservice Configuration
- redhat.com: Spring Boot Microservices on Red Hat OpenShift Container Platform 3 - Software Stack - Externalized Configuration Spring Cloud Config provides server and client-side support for externalized configuration in a distributed system. With the Config Server you have a central place to manage external properties for applications across all environments.
- dzone: Spring Cloud Config Server on Kubernetes (Part 1)
- dzone: Spring Cloud Config Server on Kubernetes (Part 2) Time to bring your services to Kubernetes.
- piotrminkowski.com: Spring Microservices Security Best Practices 🌟
- baeldung.com: Using Spring Cloud Config Without Git
Secure Secrets with Spring Cloud Vault and alternatives
- cloud.spring.io: Spring Cloud Vault 🌟
- developer.okta.com: Secure Secrets With Spring Cloud Config and Vault 🌟 Nowadays it is widely recommended to never store secret values in code. Therefore, this tutorial will demonstrate the following alternatives:
- Using environment variables for Spring Boot secrets
- Secrets encryption with Spring Cloud Config
- Secrets management with HashiCorp’s Vault
- Using Spring Cloud Vault
- quarkus.io Quarkus is a Kubernetes-native Java stack that is crafted from best-of-breed Java libraries and standards, and tailored for containers and cloud deployments
- Quarkus Images This repository contains the container images used by Quarkus.
- quarkus.io: Quarkus for Spring Developers
- redhat.com: Red Hat drives future of Java with cloud-native, container-first Quarkus
- developers.redhat.com: Quarkus: A quick-start guide to the Kubernetes-native Java stack
- quarkus.io: Quarkus support in IDE’s
- dzone: quarkus refcard
- dzone: Build a Java REST API With Quarkus
- developers.redhat.com: Autowire MicroProfile into Spring with Quarkus
- dmcommunity.org: Who will win? Spring Boot or Quarkus
- developers.redhat.com: How Quarkus brings imperative and reactive programming together
- developers.redhat.com: Migrating a Spring Boot microservices application to Quarkus
- Quarkus, a Kubernetes-native Java runtime, now fully supported by Red Hat
- The road to Quarkus GA: Completing the first supported Kubernetes-native Java stack
- containerjournal.com: Red Hat Adds Java Runtime for Kubernetes to Subscription Quarkus provides access to a library of more than 200 extensions, including tools such as RESTEasy, Hibernate and Eclipse MicroProfile, along with specific extensions fo Red Hat cloud services such as Red Hat AMQ Streams, Red Hat AMQ Broker and Red Hat Fuse.
- developers.redhat.com: Quarkus and Jakarta EE: Together, or not?
- youtube: CyberJUG-HH:Why is everybody talking about Quarkus? In this (Why is everybody talking about Quarkus?) Java User Group Hamburg (CyberJUG-HH) session I highlighted possible reasons for Quarkus’ popularity, explained Quarkus’ optimisation tricks, the differences between Jakarta EE / J2EE / Java EE application servers and Quarkus, discussed the role of MicroProfile and Jakarta EE, migrated a Java EE application to Quarkus, performed multiple deployments, decompiled some code, measured memory consumption and finally cross compiled the Java service to native code using GraalVM.
- developers.redhat.com: Build an API using Quarkus from the ground up 🌟
- developers.redhat.com: RESTEasy Reactive and more in Quarkus 2.0
- opensource.com: 3 reasons Quarkus 2.0 improves developer productivity on Linux 🌟 New features in Quarkus 2.0 make it easier to test code in the developer console.
- redhat.com: Four reasons to try Quarkus (pdf checklist) Quarkus is an open source, Kubernetes-native Java™ framework tailored for GraalVM and OpenJDK HotSpot. It offers a full-stack framework, using top Java libraries and standards. With Quarkus, Java can be a leading platform in Kubernetes and serverless environments, while offering developers a unified reactive and imperative programming model to address a wider range of distributed application architectures. Download this checklist to learn 4 reasons why developers should use Quarkus as a programming tool.
- developers.redhat.com: Deploy Quarkus everywhere with Red Hat Enterprise Linux (RHEL)
- infoq.com: Quarkus 2.0 Delivers Continuous Testing, CLI and Supports Minimal JDK 11
- Quarkus - Dev UI 🌟
- dzone: A Java developer’s guide to Quarkus A new eBook demonstrates how developers can keep using the Java framework to build new serverless functions.
- developers.redhat.com: Why should I choose Quarkus over Spring for my microservices?
- Quarkus Tip: if you DON’T set a database URL, user, and password, QuarkusIO automatically starts your database using testcontainers if a Docker daemon is running. It is enabled in dev, test mode and applies to e.g. postgresql, mysql and mongodb.
- developers.redhat.com: Quarkus for Spring developers: Getting started 🌟
- dzone refcard: Getting Started With Quarkus Serverless Functions
- piotrminkowski.com: Quarkus Tips, Tricks and Techniques 🌟
- developers.redhat.com: Boost throughput with RESTEasy Reactive in Quarkus 2.2
- javaadvent.com: You need more than containers. A short history of the mess we’re in
- developers.redhat.com: Quarkus for Spring developers: Kubernetes-native design patterns
- infoq.com: Kubernetes Native Java with Quarkus
Kogito cloud-native business automation framework
- redhat.com: Cloud-native business automation with Kogito
- kie.org Kogito is the next generation of business automation platforms focused on cloud-native development, deployment, and execution. Kogito is composed of the battle-tested projects of the KIE group: Drools, jBPM, and OptaPlanner.
- dzone: Getting Started With Red Hat Business Automation Version 7.11 (i.e. Retail online web shop) This last week the new release of the Red Hat Business Automation products went live, spanning Red Hat Process Automation Manager and Red Hat Decision Manage…
Thorntail (aka WildFly Swarm)
- Red Hat Thorntail is a framework based on the popular WildFly Java application server to enable the creation of small, stand-alone microservice-based applications. Thorntail is capable of producing so-called just enough app-server to support each component of your system.
Spring Boot VS MicroProfile
- Dzone: Programming Styles Compared: Spring Framework vis-a-vis Eclipse MicroProfile 🌟🌟
- ibm.com: Java Microservices with MicroProfile – RESTful APIs and Dependency Injection. For microservices-based Java apps, knowing how to create REST APIs is an essential skill. Eclipse MicroProfile makes it easier Spring Boot or MicroProfile for Java microservices apps? Choose the path of least resistance. The Spring Boot and MicroProfile frameworks have many of the same goals (i.e., you can do everything in MicroProfile that you can do in Spring Boot). Both of them are built on top of the same core APIs; even though there are differences in some of the APIs, the work they do is similar.
Quarkus vs Spring Boot
- dzone: Microservices: Quarkus vs. Spring Boot In the era of containers (the ‘’Docker Age’‘) Java is still on top, but which is better? Spring Boot or Quarkus?
More Java Frameworks or Libraries
- JPA streamer 🌟 JPAstreamer is a library for expressing JPA/Hibernate queries as Java streams. It can be also integrated with Spring.
- logbook An extensible Java library for HTTP request and response logging
Java Logger Implementations
- GoodforGod/java-logger-benchmark JMH Benchmark for different Java Logger implementations.
Java Testing Frameworks
- dzone: The Best Java Testing Frameworks to focus in 2021 Java Testing Frameworks provide standardized, extendable ways for programmers and developers to build any software application or web apps.
- jfrunit A JUnit extension for asserting JDK Flight Recorder events
Debugging Java Threads
Click to expand!
Click to expand!
Imagine needing to spend less😉— Sanne (@SanneGrinovero) July 2, 2021
Guess what minimum heap size you need to run a @QuarkusIO 2.0 *on JVM* to run a simple CRUD endpoint? (no toy: including @Hibernate , @resteasy, Jackson, JTA transactions, DB connection pool, caching, @vertx_project ,Netty, CDI via ArC, ...)
I'm observing @QuarkusIO for a long time. I think it's time to consider migration from Spring Boot into Quarkus especially if you develop on the Kubernetes-native platform. You may expect some tips in the near future - smth similar to #SpringBootTip series some months ago.— Piotr Mińkowski (@piotr_minkowski) September 2, 2021
Quarkus Tip 💡— Piotr Mińkowski (@piotr_minkowski) September 8, 2021
You can deploy the @QuarkusIO application to #Kubernetes without creating any #YAMLs manually. To do that you should include the Quarkus Kubernetes module, use dedicated application properties, and enable deployment during your Maven build. 👇👇👇
🏷️ #QuarkusTips pic.twitter.com/pju8vVYBz7
Quarkus Tip 💡— Piotr Mińkowski (@piotr_minkowski) September 9, 2021
You can easily build and run a native Quarkus @graalvm image on OpenShift using a single `oc` command and `ubi-quarkus-native-s2i` image builder. Such a build is performed fully on the cluster side. 👇
🏷️ #QuarkusTips pic.twitter.com/98fCXNUWv6
Java 8 best practices cheat sheet: pic.twitter.com/jbyzbxJs28— Java Guides (@GuidesJava) December 12, 2021
Best Java blog websites for Java developers— Java Guides (@GuidesJava) January 9, 2022