Using java.time Classes with JAXB
JAXB (Jakarta XML Binding) is a popular way to bind XML schemas to Java objects. However, out of the box, JAXB doesn’t support the modern Java 8+ java.time API like LocalDate or LocalDateTime. It still defaults to javax.xml.datatype.XMLGregorianCalendar. In this post, I’ll show you how to configure JAXB and the jaxb2-maven-plugin to generate Java classes [...]
Verschwendung eliminieren: Das Fundament von Lean Software Development
Die Welt der Softwareentwicklung befindet sich in einem stetigen Wandel. Entwicklungsmethoden kommen und gehen, neue Technologien entstehen und verschwinden oft ebenso schnell. Gleichzeitig ändern sich die Marktanforderungen in rasantem Tempo. Und doch behalten bestimmte Grundprinzipien trotz all dieser Veränderungen ihre Gültigkeit. Vor über zwanzig Jahren veröffentlichten Mary und Tom Poppendieck ihr wegweisendes Werk Lean Software Development: [...]
How to Deploy a Vaadin Application as a WAR on Tomcat 11
If you want to run a Vaadin application on an external servlet container like Apache Tomcat 11, you need to package your application as a WAR (Web Application Archive) instead of the usual executable JAR. In this post, I’ll show you step-by-step how I did it.
Effortless Cloud Deployment of a Vaadin App with Virtuozzo
As a developer who values simplicity, automation, and data residency in Switzerland, I recently started using Hidora to host my Java application. In this post, I’ll show you how to, create an environment in Hidora and automatically deploy a Java app from GitHub.
Configuring the Entra Spring Boot Starter Behind a Proxy
I recently encountered a challenge when using the Spring Boot integration for Microsoft Entra (spring-cloud-azure-starter-active-director) behind a corporate proxy. It was a pain at first, but I solved the issue by customizing the RestTemplate used by the library. I’ll explain the problem in this post and share my implemented solution.
Dysfunktionales Scrum: Warum viele Unternehmen die Agilität verlieren und wie Lean Software Development helfen kann
Scrum gilt als das am weitesten verbreitete agile Framework. Doch in vielen Unternehmen wird es nicht als flexibles Rahmenwerk, sondern als starrer Prozess mit zahlreichen Zeremonien angewendet. Das Ergebnis ist oft alles andere als agil: Statt schneller Anpassungsfähigkeit und Kundennutzen stehen Prozesse, Meetings und Werkzeuge im Mittelpunkt. In diesem Beitrag möchte ich die typischen Probleme [...]
Securing Vaadin Applications with One-Time Token
Logging into an application should be simple for users but still safe and secure. Traditional logins with usernames and passwords work, but they can be inconvenient and sometimes risky if passwords are stolen. A one-time token login offers a solution—it’s both easy for users and secure.
Securing Vaadin Applications with Microsoft Entra
Many companies use Microsoft 365, so letting users log in with their Microsoft account is a good choice. This blog post shows how to secure your Vaadin applications using Microsoft Entra for authentication and authorization and explains how Karibu Testing must be configured.
Secure and Efficient Oracle DB Setup with Spring Boot and Testcontainers
Having one user for creating database objects (DDL) and another for application-level data operations (DML) has many benefits. It improves security, keeps things organized, and makes maintenance easier.
CQRS meets modern Java
Developing robust yet maintainable software solutions remains at the heart of modern software development. The Command Query Responsibility Segregation (CQRS) pattern offers an efficient method by creating a clear separation between executing commands and querying data, simplifying the system architecture and improving performance. At the same time, the Data-Oriented Programming (DOP) approach strongly focuses on [...]
2024: A Year of Sharing Knowledge and Software Modernization
As 2024 comes to an end, I want to share my journey through this eventful year. It has been filled with exciting projects, knowledge sharing, and connecting with developer communities worldwide.
Using Oracle JSON-Relational Duality Views with Spring Boot. The ORM Killer?
Oracle Database 23ai introduced a powerful feature called JSON-Relational Duality Views. These views let you work with relational data in a document-oriented way. In this post, I’ll show you how to use this feature with Spring Boot.