playframework
239.2K views | +0 today
Follow
playframework
A java web framework made by web developers for web developers
Curated by opensas
Your new post is loading...
Your new post is loading...
Suggested by Brian Porter
Scoop.it!

How to use Reflection to Document your Data Model based on JPA, Play and/or EBean Annotations

How to use Reflection to Document your Data Model based on JPA, Play and/or EBean Annotations | playframework | Scoop.it
So using JPA, Hibernate or EBeans is cool when you can just annotate your Java classes, but haven't you always wished you could "generate" documentation of your data model from the code? Pulling in...
more...
No comment yet.
Scooped by opensas
Scoop.it!

Using DateTime in the Play! Framework | Always Get Better

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.

more...
No comment yet.
Suggested by Martin Gontovnikas
Scoop.it!

How to passively log changes to your JPA Model (Add, Modify and delete) with example | Blogeek

How to passively log changes to your JPA Model (Add, Modify and delete) with example | Blogeek | playframework | Scoop.it
more...
No comment yet.
Scooped by opensas
Scoop.it!

Syntactically correct and type-safe JPA queries in Play 2.0 | Lunatech Research - IT consulting, product research and software development

Syntactically correct and type-safe JPA queries in Play 2.0 | Lunatech Research - IT consulting, product research and software development | playframework | Scoop.it

When writing a Play 2.0 Java web application it is likely you’re not only persisting data, you also want to retrieve your persisted data. One of the options is using the Java Persistence API (JPA), version 2. When using JPA, there are several ways to read data from your database. In this article we’ll explain three different approaches, and we’ll discuss the syntax correctness and type-safety of the approaches.

more...
No comment yet.