Welcome!

... to the digital home of Steven Schwenke.

This site is supposed to be a showcase for my thoughts about software engineering, less a personal homepage. If you want to know more about me, invite me to a beer.

 

Posted by Steven

ArchUnit can be used to test dependencies between packages in Java. I use it to test that application slices do not depend on each other, but are disjunct:

Posted by Steven

This article is about why annotating the Spring application class with @ComponentScan may cause problems when also using Spring Web MVC Test.

The code can be found here.

General Setup

The demo application is a simple Spring Boot application with a component scan directly in the application class:

Posted by Steven

This is what I learned in November and December 2020:

Posted by Steven

This is what I learned in September and October 2020:

Posted by Steven

Recently, I moved the IT Hub from Pivotal Cloudfoundry to Amazon Web Services (AWS). This article highlights some of the decisions and illustrates the resulting architecture.

Some weeks ago, Pivotal announced the end of availability (EOA) for Pivotal Web Services (PWS), effective as of January 15, 2021. As the maintainer of the IT Hub, this forced me to move the application to a different solution pretty fast.

Posted by Steven

To access a database on AWS, the following dependency is needed:

  1. implementation('org.springframework.cloud:spring-cloud-starter-aws-jdbc:2.2.4.RELEASE')

As soon it is added to a Spring Boot project, it can not be started locally because it will throw exceptions like this one:

Pages