Java and Java Programming Models. Open Source Microservices Frameworks¶
- Java Programming Models (Frameworks)
- Jakarta EE
- Eclipse MicroProfile
- Thorntail (aka WildFly Swarm)
- Spring Boot VS MicroProfile
- 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
Existing Java Implementations¶
- Oracle Java
- Oracle OpenJDK
- IBM JDK (based on Eclipse OpenJ9)
- Red Hat OpenJDK
- AdoptOpenJDk (based on Eclipse OpenJ9)
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
Java Collections Interview Questions¶
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|
- 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.
- 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?
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
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.
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
- dzone.com: Microservices: Quarkus vs. Spring Boot In the era of containers (the “Docker Age”) Java still keeps alive, being struggling for it or not. 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 🌟
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.