#WHATIS? GraalVM

With Red Hat announcing Quarkus as a … next-generation Kubernetes native Java Framework tailored for GraalVM and HotSpot, crafted from best-of-breed Java libraries and standards. I was impressed by the startup speed and memory consumption of the examples provided by Red Hat. One of the main reasons for these impressive numbers is the fact, that…

#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 language named PL/pqSQL which enhances plain SQL with control flow predicates and is similar to Oracle’s PL/SQL proprietary language. Besides this SQL-like language, PostgreSQL also offers built-in support for using Perl 5, Python and TCL as possible…

#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 a new feature, you lose a lot of time just “idling”. As a Java/Jakarta EE developer, you will most likely have a local installation for the target application server and deploy the application several times…

#HOWTO: Preview PDF files with React

In addition to my blog post #HOWTO: Up- and downloading files with React and Spring Boot, I want to show you a simple way to display PDF files in the browser with React. I’m using create-react-app to bootstrap the React application. For styling purposes I’ve added semantic-ui-react and semantic-ui-css. The library for previewing the PDF files is called react-pdf: {…

#HOWTO: MicroProfile JWT Authentication with Keycloak and React

For securing your enterprise applications you have several choices which require different configuration setups. Lately, the stateless approach is the de-facto standard for securing your microservice based landscape. With the choice, your applications don’t store session data as the client mostly sends a JWT token with each request and thus the applications know about his metadata…

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

Recently I had to convert generated .docx files to .pdf files for a more convenient distribution. The Word documents contained some custom formatting and additional pictures. I tried several Java libraries for doing this job (Docx4j, XDocReport and Apache POI) but all of them couldn’t generate the output I got from manually converting the .docx files with Microsoft Word’s native…

#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 task, I compared the following Java libraries: Apache POI, iText PDF, Docx4j and XDocreports.  I compared them while using the following characteristics: Possibility to replace variables, amount of additional dependencies, lines of code to generate…

#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 EE I came along the Java Message Service (JMS) specification and gave it a try. In addition, I wanted to learn more about the JMS capabilities of the Open Liberty application server. In this blog post, I’ll show you how to create a…

#HOWTO: 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 Security API (JSR-375) and it was quite simple. In this blog post, I’ll show you the required configuration steps for securing your JSF application with a form-based authentication mechanism. In the example, I’ll use an…

#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” by Simon Harrer, Jörg Lenhard, and Linus Dietz while I was reading Venkat Subramaniam’s blog. Venkat did the foreword of this book and as I am a fan of him, I instantly bought the book.…

#REVIEW: My first Hackathon

From July 10th to the 11th I took part in the Hackathon HACK|BAY which was organized by the tech incubator Zollhof in Nuernberg. Even if I participated in several coding challenges and a company internal Hackathon, this was my first Hackathon with a jury and multiple competing teams. The event was sponsored by several local…