Deploy Java Lambda using SAM and Buildkite

I've recently covered how to deploy a Node JS based Lambda using SAM and Buildkite. I would say that this should cover most use cases, since I believe a majority of AWS Lambdas are implemented with JavaScript. However, Lambda supports many more programming languages than just JavaScript and one of the more important ones among … Continue reading Deploy Java Lambda using SAM and Buildkite

PlantUML (Open Source Awesomeness)

I've always had a soft spot for diagrams. I think that representing information in various visual ways tremendously helps our thinking and understanding. Unfortunately it is often a big headache to create (and maintain) diagrams. So I was very pleased today when I came across PlantUML. PlantUML is a Java library and web service which … Continue reading PlantUML (Open Source Awesomeness)

Determine Which JDK Version a JAR/Class File Was Compiled With

Today I came across a nasty error which occurred in a deployed Java application only but not during development or integration tests. The error went something like the following: Now I had a feeling that this had something to do with me trying to be ahead of the curve and use a Java 9 JDK … Continue reading Determine Which JDK Version a JAR/Class File Was Compiled With

Java: Find all instances of System.out.println()

A good Java application should print only the absolute necessary to standard out. Not to do so can mean a serious hit in performance and can make it difficult to debug issues. Unfortunately either we ourselves or our colleagues put┬áSystem.out.println() statements in the code and then forget to remove them. Here are two solutions how … Continue reading Java: Find all instances of System.out.println()

Understanding Creation of GWT Serialization Policy Files (.gwt.rpc)

Today I deep-dived a bit into how GWT creates and reads Serialization Policy files. These are the .gwt.rpc files which are generated beside the JavaScript files for GWT modules. Chiefly, I learned two things: The .gwt.rpc files are only used by the server. The client never reads them. The .gwt.rpc files are generated in the … Continue reading Understanding Creation of GWT Serialization Policy Files (.gwt.rpc)