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.

Also, have a look at my book "Developer on the Stage".

 
 
 
 

Posted by Steven

Yesterday, I learned how to verify the method parameter for multiple method calls in Mockito. My pair-programmer and I wrote code that send multiple messages to an Amazon SQSClient. We wanted to test if a) all expected send-calls were executed and b) if all of those had the correct argument.

On SO, we found the solution (rewritten for better understanding):

Posted by Steven

Recently, I added Spring HATEOAS to the IT Hub. Refactoring the controller to return RepresentationModel and CollectionModel, I noticed something odd. When returning a collection of items, in the returned JSON, the links for each item were represented under "links". When returning a single item, the links for this item were represented under "_links". This article briefly explains the reasons for this and how to fix it.

Posted by Steven

This is what I learned in April 2020:

Posted by Steven

As most of us, my developer team and I are doing things quite different these days. For future readers: The Corona virus holds the whole world hostage. To stop the spread, humans in all countries try to avoid physical contact. Many developers already are experienced with working from home. My team and I did not have to change much in the last weeks because we have been working remotely from the beginning. Half of the team is working in Romania, the other half in Germany. To optimize the slightly new setting and to counter emotional isolation, we implemented some rules.

Posted by Steven

Working on new features for IT Hub Brunswick, I encountered a curious problem. Sending a POST request from the Angular 8 frontend to the Spring MVC backend returned incomplete header information. This article is about how to expose additional headers to the client.

Posted by Steven

This is what I learned in March 2020:

Pages