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
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 →
MAR 13 · 2014

Configuring Play2War with Play 2.2 and build.sbt

I had previously used Play2War with Play 2 projects that contained a Build.scala file following the configuration directions from Play2War. However, when attempting to configure a newer project which now uses a build.sbt instead of the...

Read essay →
howto · JAN 04 · 2014

How to configure an SSL Certificate with Play Framework for https

I spent hours trying to get this to work, and in the end, then problem was that I did not generate the CSR (Certificate Request) myself with the keytool.

#howto #ssl Read essay →
glassfish · DEC 06 · 2013

How to run a Play Framework Application in Tomcat or JBoss

So you have written an application using Play! Framework 2.x and your System Administrator tells you that he won’t install Play! and that your application needs to run in a supported Java Servlet Container like JBoss,...

#glassfish #jboss #tomcat #war Read essay →

Browse all