The Journal

Field notes from four decades of building systems that scale.

Architecture, machine intelligence, engineering leadership — written for technical leaders who'd rather build than speculate.

Filter
DEC 10 · 2018

How to install a legacy JDK 1.6 on Mojave with SDKMAN

It took awhile to figure this out, so I thought I would share it. First you have to have SDKMAN installed (https://sdkman.io). Then you have to download the legacy JDK 1.6 from Apple here https://support.apple.com/kb/dl1572?locale=en_US

Read essay →
DEC 05 · 2017

How to migrate a Postgres Database to AWS RDS

It’s really not that hard. I just created a free-tier AWS RDS – Postgres database on AWS, and waited a bit until it was created. Then I connected to the database with my Postgres client, and...

Read essay →
MAR 08 · 2016

How to add auto-update the Version Number of a Play Framework 2.X Project

I wanted to have Version numbers that get automatically updated when I want to release a new version, so I set about to find out how to do this with Play Framework.

Read essay →
AUG 06 · 2015

It’s easy to document your Play Framework REST API with Swagger

This post originally ran on http://swagger.io (7/30/2015)

Read essay →
MAR 20 · 2015

How to post data to Play Framework from an IoT Spark Core Arduino!

My goal is to create something with an Arduino from Spark Core that posts data to a web service (server) which I have programmed using Play Framework! This went a smoothly as I had expected, because...

Read essay →
hibernate · OCT 15 · 2014

How to use Hibernate to generate a DDL script from your Play! Framework project

Ok, so you have been using the hibernate property name=”hibernate.hbm2ddl.auto” value=”update” to continuously update your database schema, but now you need a complete DDL script?

#hibernate #jpa Read essay →
Docker · OCT 10 · 2014

Yes, it is now this easy to Dockerize a Play! Framework Application

Do you want to build a dockerized Play! Framework application to deploy on a Docker server?

#Docker #PlayFramework Read essay →
AUG 22 · 2014

Programming a simple slot machine game using Java

No matter how simple or complex the game is, Java can do the job! On this post, let’s take a look at how beginners of Java programming can make a simple, yet fully functional slot machine....

Read essay →
security · APR 01 · 2014

How to implement a Session Timeout in Play Framework 2

If you follow the Play Framework 2 guide for implementing authentication: http://www.playframework.com/documentation/2.2.2/JavaGuide4 - you will notice that there is no session timeout in Play Framework 2. It was there in Play Framework 1, but Play Framework...

#security Read essay →
json · MAR 18 · 2014

Examples for working with JSON in Play Framework 2 with Java

String to JSON:  <pre class="brush: plain; title: ; notranslate" title="">JsonNode json = mapper.readTree(notification.getSharedData());</pre>

#json Read essay →

Browse all