Category: Java

  • Using DateTime in the Play! Framework

    Which data type should you use for time information on your Java models? The Date class is mostly deprecated, pushing us into the direction of the heavyweight Calendar class. Storing the milliseconds since Epoch in a Long is both database-friendly and easy to perform math on and convert at runtime. But if you really want a good experience, you are using Joda Time.

  • How Play Framework Saves the World

    Play framework must be the best-kept secret in the Java world. If you haven’t had a chance to see their totally awesome demonstration video where they build a full app before your eyes in a matter of minutes, go - go now. Then come back.

  • Breaking Java's Rules: Instantiating an Interface

    Here’s a geeky party trick:

All categories