Home » All Posts

All Posts

by rieckpil

Jakarta EE 8 CRUD API Tutorial using Java 11

As part of the Jakarta EE Quickstart Tutorials on YouTube, I've now created a five-part series to create a Jakarta ...
Read More

Deploy a Jakarta EE application to the root context

With the presence of Docker, Kubernetes and cheaper hardware, the deployment model of multiple applications inside one application server has ...
Read More

Writing JavaScript code with Kotlin using Gradle

With the past KotlinConf 2019 a lot of great updates for the Kotlin ecosystem were announced. Sebastian Aigner gave an ...
Read More

GitHub Actions for Java – automate your Maven workflows

I was recently wasting time and energy to get the CI pipelines for my two main GitHub repositories working with ...
Read More

Hypersistence Optimizer Review – detect JPA & Hibernate improvements

Recently I got the chance to review Vlad Mihalcea's Hypersistence Optimizer. It... checks your JPA and Hibernate mappings and provides ...
Read More

Jakarta EE Quickstart Guides for each application server

Read about my latest YouTube series: Jakarta EE Quickstart Guides. It targets both Jakarta EE newcomers and experienced developers to ...
Read More

Jakarta EE & React file up- and download using Java 11 and TypeScript

Given the latest release of Payara, we can now officially use it with Java 11 and Jakarta EE. I'm using ...
Read More

Spring WebTestClient for efficient testing of your REST API

Alongside the WebClient, Spring provides a WebTestClient for testing purposes. The API of this class is similar to the WebClient ...
Read More

Create Spring Boot applications with Maven and Kotlin

With this blog post, you'll get a tutorial on how to start using Kotlin for Spring Boot Maven application. I ...
Read More

Joyful Open Liberty Developer Experience with Liberty Maven Plugin

Short feedback cycles during development are essential for your productivity. If you practice TDD you'll agree on this even more ...
Read More

Spring Boot Integration Tests with WireMock and JUnit 5

In one of my previous blog posts, I demonstrated how to write integration tests with Spring Boot and Testcontainers. As ...
Read More

Jakarta EE integration tests with MicroShed Testing

Integration tests for your Jakarta EE application are essential. Testing the application in a full setup will ensure all of ...
Read More

Spring WebClient OAuth2 Integration for Spring Web (Servlet)

In one of my previous blog posts, I gave an example of how to configure the Spring WebClient for OAuth2 ...
Read More

Create real-time applications with Jakarta EE WebSocket

If your application has real-time requirements like within a chat, the WebSocket technology might be a good fit. With WebSockets, ...
Read More

Spring WebClient OAuth2 Integration for Spring WebFlux

With OAuth2 being the current de-facto authorization framework, a lot of vendors use it to secure their APIs. Furthermore, you ...
Read More

Top 3 Maven Plugins to ensure Quality and Security for your project

Detecting vulnerabilities inside your dependencies is crucial for creating secure applications. Besides that, static code analysis tools and pre-defined rules ...
Read More

Create your own Maven Archetype in 5 simple steps

Manually creating a new Maven project is cumbersome. Most companies have a set of shared libraries (e.g. security) and pre-defined ...
Read More

Bootstrap a Jakarta EE 8 Maven project with Java 11 in seconds

In one of my previous blog posts, I showed you what you need to create your first Jakarta EE 8 ...
Read More

#REVIEW: What’s new in Spring Boot 2.2

Almost one year after the release of Spring Boot 2.1, we get a new release: Spring Boot 2.2. The Spring ...
Read More

#REVIEW: What’s new in MicroProfile 3.1

The third MicroProfile release of 2019 is now available: MicroProfile 3.1. With the last release of MicroProfile 3.0 in June, ...
Read More

Jakarta EE and MicroProfile applications with React and PostgreSQL

As now all major application server vendors are Jakarta EE 8 certified, we are ready to start a new era ...
Read More

Contexts and Dependency Injection (CDI) – A specification introduction

Dependency Injection (DI) is one of the central techniques in today's applications and targets Separation of concerns. Not only makes ...
Read More

#REVIEW: Pro CDI 2 in Java EE 8 (book)

When it comes to creating an application with Java (now Jakarta) EE, the first specification you usually get in touch ...
Read More

Create REST applications with Jakarta RESTful Web Services (JAX-RS)

The REST architectural pattern is widely adopted when it comes to creating web services. The term was first introduced by ...
Read More

Process JSON data with the JSON Processing (JSON-P) specification

Besides binding and converting JSON from an to Java objects with JSON-B, the Java EE specification (now Jakarta EE) offers ...
Read More

Convert Java objects to JSON with JSON Binding (JSON-B)

JSON is the current de-facto data format standard for exposing data via APIs. The Java ecosystem offers a bunch of libraries ...
Read More

Bootstrap your first Jakarta EE 8 application

As Jakarta EE 8 was now finally released on the 10th of September 2019, we can start using it. This ...
Read More

Adding resiliency with Eclipse MicroProfile Fault Tolerance

With the current trend to build distributed-systems, it is increasingly important to build fault-tolerant services. Fault tolerance is about using ...
Read More

Secure your application with Eclipse MicroProfile JWT Auth

In today's microservice architectures security is usually based on the following protocols: OAuth2, OpenID Connect, and SAML. These main security ...
Read More

Specification overview for Eclipse MicroProfile Rest Client

In a distributed system your services usually communicate via HTTP and expose REST APIs. External clients or other services in ...
Read More

Enable distributed tracing with Eclipse MicroProfile OpenTracing

Tracing method calls in a monolith to identify slow parts is simple. Everything is happening in one application (context) and ...
Read More

Create OpenAPI specifications with Eclipse MicroProfile OpenAPI

Exposing REST endpoints usually requires documentation for your clients. This documentation usually includes the following: accepted media types, HTTP method, ...
Read More

Create health checks with Eclipse MicroProfile Health

Once your application is deployed to production you want to ensure it's up- and running. To determine the health and ...
Read More

Create custom metrics with Eclipse MicroProfile Metrics

Ensuring a stable operation of your application in production requires monitoring. Without monitoring, you have no insights about the internal ...
Read More

Injecting configuration properties with Eclipse MicroProfile Config

Injecting configuration properties like JDBC URLs, passwords, usernames or hostnames from external sources is a common requirement for every application. Inspired ...
Read More

Feature Toggles for Spring Boot applications with Togglz

With continuous integration (CI) and continuous deployment (CD) your changes and features are usually deployed to production whenever your pipeline passes ...
Read More

Guide to writing Java EE applications with Kotlin

The precise and clean style of writing code with Kotlin is tempting as a Java developer. In addition, switching to ...
Read More

#HOWTO: Send Telegram Bot notifications with Java

Telegram is widely adopted as a messenger app and a good alternative to WhatsApp. With Telegram, you are not limited ...
Read More

#REVIEW: CKAD (Certified Kubernetes Application Developer) program

When it comes to certification I'm usually a bit skeptical. Achieving a certificate for the sake of getting a formal ...
Read More

Deploy a Spring Boot application to GKE

Once your Spring Boot application is ready for deployment, you'll have to find an environment to deploy to.  Over the ...
Read More

Generate random data in Java using Java Faker

Once your new prototype is ready for a first demo, you usually need some data to present. If you already ...
Read More

#HOWTO: Intercept method calls using CDI interceptors

If you have cross-cutting concerns for several parts of your application you usually don't want to copy and paste the ...
Read More

#HOWTO: Deploy a React application to Kubernetes

I've recently published my first article on dev.to about how to deploy a React application to Kubernetes in 5 easy ...
Read More

MicroProfile Rest Client for RESTful communication

In one of my recent blog posts, I presented Spring's WebClient for RESTful communication. With Java EE we can utilize ...
Read More

#HOWTO: Deploy Java EE applications to Kubernetes

Kubernetes is currently the de-facto standard for deploying applications in the cloud. Every major cloud provider offers a dedicated Kubernetes ...
Read More

#REVIEW: Kotlin for Java Developers (Udemy Course)

I've recently worked through Tim Buchalka's Learn Programming Academy Kotlin for Java Developers Udemy course and want to give you ...
Read More

Use Spring WebClient for RESTful communication

RESTful communication is the de-facto standard for interchanging data in a microservice-based environment. Usually, every participating microservice offers different parts ...
Read More

#REVIEW: What’s new in MicroProfile 3.0

With the MicroProfile release cycle of three releases every year in February, June, and October we got MicroProfile 3.0 on ...
Read More

#HOWTO: Send emails with Java EE and JavaMail using Payara

Sending emails to your application's clients or customers is a common enterprise use case. The emails usually contain invoices, reports ...
Read More

CRUD application with Spring Boot 2.2, Java 11 and H2

Today I want to share with you my first YouTube series about CRUD application with Spring Boot 2.2, Java 11 ...
Read More

#HOWTO: Consumer-Driven Contracts with Spring Cloud Contract

Calling other services and getting data is essential in a microservice-based architecture. Besides the downtime of the other service, a ...
Read More

#HOWTO: Remote Debug Spring Boot Applications (IntelliJ + Eclipse)

Local development on your machine is easy. But once you deploy your application you have a quite different environment. This ...
Read More

#HOWTO: Java Benchmarking with JMH (Java Microbenchmark Harness)

In one of my previous blog posts, I showed you a simple way to load-test your application with Apache Benchmark ...
Read More

#HOWTO: Create nice-looking JSF 2.3 applications with PrimeFaces 7.0

..With the release of PrimeFaces 7.0 (JSF component library) in March 2019, the PrimeTek team introduced over 500 improvements featuring new ...
Read More

#HOWTO: Messaging with JMS using Payara with embedded OpenMQ broker

.Messaging is a key concept for distributed enterprise applications. There are a lot of use cases, where you don't want ...
Read More

#HOWTO: RESTEasy (WildFly – JAX-RS 2.1) file handling

In my latest blog post, I demonstrated a solution for up- and downloading files with Jersey (JAX-RS 2.1) on Payara ...
Read More

#HOWTO: Up- and download files with Java EE and Web Components

In one of my last blog post, I showed you how to upload and download files with React and Spring ...
Read More

#REVIEW: 5 Java 9 Features you might not know yet

Java SE 9 has been released in September 2017, three years after the Java SE 8 release from Oracle. The ...
Read More

Best Practices for Flyway and Hibernate with Spring Boot

Manually applying your database schema is cumbersome and error-prone. Fortunately, there are technologies for version-controlling your database scripts to automate ...
Read More

#REVIEW: SQL Performance Explained

Recently I've read the book SQL Performance Explained from Markus Winand (@MarkusWinand) and want to give you a review of ...
Read More

#CHEATSHEET: Java/Jakarta EE application servers

As a Java/Jakarta EE developer, we can rely on the javax standards to work on every certified application server in ...
Read More

GraalVM – an introduction into the next level Java Virtual Machine (JVM)

With Red Hat announcing Quarkus as a ... next-generation Kubernetes native Java Framework tailored for GraalVM and HotSpot, crafted from ...
Read More

#HOWTO: Writing PostgreSQL functions with Java using PL/Java

The PostgreSQL RDBMS offers a great variety for writing server-side functions and with PostgreSQL 11 now also stored procedures. PostgreSQL comes with a ...
Read More

#REVIEW: Improved Java/Jakarta EE productivity with Adam Bien’s WAD (Watch and Deploy)

The productivity of your developers is crucial for the success of your project. Without fast deployments and short feedback-cycles about ...
Read More

#HOWTO: Generate PDFs (Apache PDFBox) including Charts (XChart) with Java EE

Generating documents for e.g. invoices or reports is a central use case for enterprise applications. As a Java developer, you ...
Read More

Simple load-testing with Apache Benchmark

Testing your application's performance during development as a single user is easy but often misleading. With writing unit- and integration-tests ...
Read More

#REVIEW: 30 minutes every day for your craft: Committing code to GitHub for 365 consecutive days

I published my first article on Medium about a developer habit I started one year ago. To improve my personal ...
Read More

Simple database documentation with SchemaSpy

Recently I was looking for a simple solution to generate visual documentation of the underlying database. The solution should be ...
Read More

#HOWTO: MicroProfile JWT Authentication with Keycloak and React

For securing your enterprise applications you have several choices that require different configuration setups. Lately, the stateless approach is the ...
Read More

#HOWTO: Bootstrap a JSF 2.3 Maven project in seconds

Bootstrapping a new JSF can be quite cumbersome if you are new to Java EE. Even after weeks of training, ...
Read More

#HOWTO: Dynamic SQL Querying & Pagination with Querydsl and Spring Data JPA

.Returning all the data in a table within a REST call can be slow if your table grows. Imagine a ...
Read More

#REVIEW: What’s new in Spring Boot 2.1

Recently Andy Wilkinson (@ankinson) from the Spring Boot core team announced the release of Spring Boot 2.1. During the last days, ...
Read More

#REVIEW: Making first place at my second Hackathon

From the 19th to 21st of October 2018 the Hackathon Digital Tech Summit took place in Nuremberg as part of ...
Read More

#HOWTO: JPA integration tests with Java EE

Writing good unit tests for your central business logic is essential. Both to speed up your development and have confident ...
Read More

#HOWTO: Bootstrap a Java EE 8 and MicroProfile 2.0.1 Maven project in seconds

Manually creating a new Java EE Maven project can be quite cumbersome. Creating all required folders and files for a ...
Read More

#REVIEW: Baeldung REST with Spring masterclass course review

Recently Baeldung announced to increase the price of his REST with Spring's course from $ 249 to $ 299. As ...
Read More

#HOWTO: Convert docx files to pdf files format loss-free with Java

Recently I had to convert generated .docx files to .pdf files for more convenient distribution. The Word documents contained some ...
Read More

#HOWTO: Generate documents from Word templates with Docx4j on Wildfly 14

Lately, I had the requirement to generate Word documents from specific templates and fill them dynamically with data. For this ...
Read More

Up- and download files with React and Spring Boot

Today I want to share a simple approach for up- and downloading files with JavaScript (ES6), React and a Spring Boot ...
Read More

#HOWTO: JAX-RS user-based rate-limiting with JSR-375

Recently I had the requirement for rate-limiting access to specific JAX-RS endpoints and to keep track of the user's current ...
Read More

#HOWTO: Simple JMS application with the embedded messaging engine in Open Liberty

For messaging, I have always thought of Apache Kafka as the central solution for messaging. While learning more about Java ...
Read More

Simple form-based authentication for JSF 2.3 with Java EE 8 Security API

Securing your web application can be cumbersome. I recently tried to secure a JSF 2.3 application with the latest Java EE 8 ...
Read More

Simple CRUD table with JSF 2.3 and PrimeFaces

As my last blog post about a short intro to JavaServer Faces 2.3 got a lot of attention (my tweet ...
Read More

#WHATIS?: JavaServer Faces. An introduction to JSF 2.3

.Scrolling through my news feed on Twitter I get flooded with new releases of npm modules and more and more ...
Read More

#REVIEW: Java by Comparison

In today's post, I want to review the latest technical Java book I read. I came across the book "Java by Comparison" ...
Read More

#REVIEW: My first Hackathon – HACK|BAY by ZOLLHOF

From July 10th to the 11th I took part in the Hackathon HACK|BAY which was organized by the tech incubator ...
Read More

#HOWTO: Send E-Mails with SendGrid and Spring Boot

In the last weeks, I was searching for a nice solution to send emails to users for one of my ...
Read More

#HOWTO: Deploy a Spring Boot Uber-Jar application within Open Liberty

While I was scrolling through my twitter feed I noticed a post about the new Open Liberty 18.0.0.2 release on ...
Read More

#HOWTO: Lazy Loading of JPA attributes with Hibernate

Modeling your domain model with JPA is quite easy and for a smaller amount of data, you can easily rely ...
Read More

#HOWTO: Avoid repeating attributes in JPA entities

Today I want to show you a way to avoid repeating the same attributes in your JPA entities over and ...
Read More

Write Spring Boot integration tests with a real database (Testcontainers)

Today I'll show you a way to write integration tests for your Spring Boot based application with a real database ...
Read More

#HOWTO: Expose Git information with Spring Boot Actuator

In today's #HOWTO blog post I want to show you a way to expose Git information (like commit hash, commit ...
Read More

#REVIEW: Effective Java Book review

In today's #REVIEW post I want to review one of my latest Java books: Effective Java. I was looking for a ...
Read More

#REVIEW: Why I joined Stack Overflow and why you should consider doing the same

Today I want to inform you about one of my latest milestones as a software developer and convince you that ...
Read More

#WHATIS?: Spring Cloud Config

In today's #WHAT IS? blog post I want to present you one of my latest learning experiences: Spring Cloud Config ...
Read More

#HOWTO: Sync Atom editor settings

You are using the awesome Atom editor from GitHub and working with this editor on several machines?  You don't want ...
Read More

#REVIEW: React 16 – Udemy course

Welcome to my first article in the #REVIEW genre. Today I want to give you a review about a React ...
Read More

#WHATIS?: Dependency Injection

Welcome to my first article for my genre #WHAT IS?. Today I'll show you how I started to appreciate the ...
Read More

#REVIEW: Summary of the Container Conf 2017

From the 14th to the 16th of November I visited the Container Conf 2017 in Mannheim. This conference focussed on ...
Read More

Introduction of the rieckpil blog about the Java ecosystem

Welcome to my blog about software development. I am a twenty-four years old software developer and living in Germany. As ...
Read More
>