DTO design with Jackson

When designing a REST API, it’s often necessary to vary the level of detail returned depending on the endpoint. For example, a “list all books” endpoint might only return a subset of each book’s fields, while a “get book by...

Auto-Generate a REST API from a Database With Spring

If you have an existing database and you want to write a front-end to work with it, you often find yourself spending hours setting up the glue between the database and the frontend. It would be much more efficient use...

Super-Fast Statistical Queries in Java

Many organizations have enormous values in data stored in relational databases, but it is often slow to analyze. Calculating things like correlation coefficients or analyzing trends can take many minutes or even hours using a regular SQL database. Wouldn’t it...

Bridging the Gap Between Database and Stream (Webinar)

Do you also like the Stream Interface? What if you could use Streams to query databases without having to write any SQL? Speedment is an open source implementation of the Stream-interface that lazily evaluates the operations performed on it to...

Aggregate Millions of Database Rows in a Spring Controller

The Spring Framework makes it really easy to quickly setup a RESTful API to a relational database using JPA and Spring Web, as long as the API matches the structure of the database. In many APIs however, the REST-endpoint doesn’t...