Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

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!

Topics:
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.

THE DZONE NEWSLETTER

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.

X

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

{{ parent.tldr }}

{{ parent.urlSource.name }}