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

Learn how to troubleshoot and diagnose some of the most common performance issues in Java today. Brought to you in partnership with AppDynamics.

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!

Understand the needs and benefits around implementing the right monitoring solution for a growing containerized market. Brought to you in partnership with AppDynamics.

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 }}