Blogs

Hibernate Schema-based Multi-Tenancy using StatementInspector

When using schema-based multi-tenancy with Hibernate, a simple way to define the schema is using a MultiTenantConnectionProvider where we call SET SCHEMA on the connection. However, this approach does not work with certain databases like MS SQL.

When using schema-based multi-tenancy with Hibernate, a simple way to define the schema is using a MultiTenantConnectionProvider where we call SET .....

08.01.2024

How do you get a Spring Bean without Dependency Injection?

Sometimes, you want to use a Spring Bean in a class that is not a Spring Bean, but then dependency injection doesn’t work. This article shows a way to get around that limitation.

Sometimes, you want to use a Spring Bean in a class that is not a Spring Bean, but then dependency injection doesn't work. This article shows a way to.....

04.01.2024

2023 – What a Year!

I’ve been a software developer since 1995, but 2023 was by far the most exciting year of my IT career. Let’s look back on projects, conferences, and recognitions and an outlook to 2024.

I've been a software developer since 1995, but 2023 was by far the most exciting year of my IT career. Let's look back on projects, conferences, and .....

27.12.2023

Durable Subscription with JMS and Spring Boot

When using the publish-subscribe domain with JMS we often want to use durable subscriptions. But how can this be done with Spring Boot?

When using the publish-subscribe domain with JMS we often want to use durable subscriptions. But how can this be done with Spring Boot?.....

12.12.2023

Testing Spring Boot JMS with ActiveMQ Artemis and Testcontainers

Currently, I’m teaching JMS with Spring Boot at the University of Applied Science in Bern, Switzerland.
We use Apache ActiveMQ Artemis as the JMS message broker. But how can we test our Spring Boot application?

Currently, I'm teaching JMS with Spring Boot at the University of Applied Science in Bern, Switzerland. We use Apache ActiveMQ Artemis as the JMS .....

09.12.2023

Resolving SonarQube Rule S2699 with Karibu Testing Assertions 

I’m using Karibu Testing for testing my Vaadin applications which work perfectly. But recently, I encountered a problem when I analyzed my code with SonarQube. Karibu Testing’s assertion methods are not recognized by SonarQube.

I'm using Karibu Testing for testing my Vaadin applications which work perfectly. But recently, I encountered a problem when I analyzed my code with .....

10.06.2023

Videos

About Me

Simon Martinelli is a Java Champion, a Vaadin Champion, and an Oracle ACE Associate. He regularly shares his knowledge in articles, speaks at international conferences, and writes his blog.

His current interest is increasing the efficiency of full-stack development with Java.

He owns 72 Services LLC and has worked as a software architect, developer, consultant, and trainer for three decades, especially in the Java Enterprise environment.

Besides his work, he has been a lecturer at the Bern University of Applied Sciences BFH and the University of Applied Science Northwestern Switzerland FHNW for modern architecture and integrating distributed systems and persistence technologies with Java and DevOps since 2007. He also served as an expert group member of JSR-352 Java Batch and JSR-354 Money and Currency.

Contact Me

I look forward to your contact