Legacy: a hell or an occasion?

JBoss to Spring Boot migration story
05 May 2022
From legacy hell to modern efficiency: Learn about our JBoss to Spring Boot migration journey. Discover insights at our blog.
From legacy hell to modern efficiency: Learn about our JBoss to Spring Boot migration journey. Discover insights at our blog.
Łukasz Kotyński
Java Developer
Reading time
min
Share article
Contents

ACT 1

Author’s note

ETF Manager world

Our (un)expected journey

ACT 2

Initial configuration

JBoss provided services

JNDI-dependent legacy code

ACT 3

Configuration cleaning

Password management

Generating a simple PKCS12 Keystore with some passwords provided looks like this.
Then to use it with java.
Where example key store usage would be like.

Unknown legacy configuration interfering with the Spring Boot libraries

Bean without superclass

ACT 4

Spring XML configuration problems

For the sake of simplicity, let’s consider the following classes
Someone made a mistake and injected Consumer<String> instead of Consumer<Integer> in the constructor. When using Java annotations, Spring auto-wiring injects the Bar class, and that lead to the RuntimeException
On the other hand, this problem was not observed in case of the XML configuration

Transaction manager performance issues

Quartz delays

Happily ever after

 

Read more