Over a million developers have joined DZone.

Query Databases Using Streams [Videos]

DZone's Guide to

Query Databases Using Streams [Videos]

With Java 8, we have a new way of working with databases via the Streams interface. This tutorial covers using Streams and Speedment to write a database app.

· Java Zone
Free Resource

Never build auth again! The Okta Developer Platform makes it simple to implement authentication, authorization, MFA and more in Java applications. Get started with the free API.

Java 8 introduced a completely new way of working with data in Java with the Stream interface. In these quickstart videos, I explain how easy it is to write database applications with Streams by using Speedment to generate the necessary entity and field classes.

(Spoiler: In the last video I explain why the performance will be just as good as a normal JDBC query!)

Part 1: Create a New Speedment Project

Part 2: Configuration Options in Speedment

Part 3: How to Query a Database Using Streams

Let me know what you think of the videos in the comment section!

Build and launch faster with Okta’s user management API. Register today for the free forever developer edition!

java ,streams ,database application development ,speedment ,tutorial

Published at DZone with permission of Emil Forslund, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.


Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.


{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}