Paul Sterl has written 57 articles

Install minishift

Install on Windows Startup Guide Note: Windows 10 Pro or higher is required for Hyper-V — the install was recommended to be on the C: drive. Auto Install Check that your CPU virtualization is enabled Download minishift and extract it into a folder Add your user to the Hyper-V Administrators Open Command-Line as Admin User…

Reconnecting JMS listener

Problem In some projects we still may need to manually to reconnect to our JMS provider. For what ever reason the framework or the container cannot do the job for us. As so we have to ensure that an once registered JMS listener re-register itself if something bad happens. Note: Check first if your container…

Quartz integration in JEE

Nowadays everybody talks about cloud and Microservices. The JEE container isn’t that sexy anymore. With microprofile.io the JEE world started to move into the direction of a more lightweight structure. We should also mention docker and friends which changed the way we deploy and run applications now.

Spring Boot RestTemplate no SSL check

Problem By default the Spring RestTempalte and the swagger OpenAPI client does an SSL check. This is usually not required on the test system, as so the goal is to remove the SSL check from the Spring Boot Rest Template. RestTemplate Apache HTTP Client pom.xml Swagger OpenAPI Client Furthermore sometimes it is required to remove…

Angular & Spring Boot

Problem We want to combine Spring and Angular use the Angular developing features but also be able to use the Spring IDE, in the end, everything should be build using maven and nicely packed into a JAR.Let’s get started. Overview Less text more code get me to the source. Multi-Module project It may make sense…

IDE: Eclipse & VSCode

IDE & Plugins & Tools Tools Tools for Linux / MAC Tools for Windows Database Tools Java Test Libs Visual Studio Code & Windows Install PowerShell 7.x.x Check the current version $PSVersionTable.PSVersion This requires admin permissions on the windows system. Configure PowerShell 7 as CMD default Open the windows shell, select in the menu the…

Eclipse on a hight resolution screen

Problem Nowadays we have a screen with a resolution of 2560×1440 or 3440×1440 4K. The problem with Eclipse is, that all the icons and buttons stay very tiny and are hard to interact with. Solution The easiest solution is to adjust the eclipse.ini or STS.ini with the following parameters at the end: Fixed 200% scale…

Dates, DateTime, Timezone and the DB

TL;DR Summary Java Type DB Type Description SAVE Long NUMBER Just using a long as milliseconds, between the current time and midnight, January 1, 1970 UTC is the most secure way. SAVE Instant NUMBER Using in Java an Instant and converting it into a NUMBER to save it in the DB will also avoid any…