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

Bridging the Gap Between Database and Stream [Webinar]

DZone's Guide to

Bridging the Gap Between Database and Stream [Webinar]

Do you also like the Java Stream Interface? What if you could use Streams to query databases without having to write any SQL?

· Database Zone ·
Free Resource

RavenDB vs MongoDB: Which is Better? This White Paper compares the two leading NoSQL Document Databases on 9 features to find out which is the best solution for your next project.  

Speedment is an open-source implementation of the Stream interface that lazily evaluates the operations performed on it to produce an optimal SQL query, fetching only the results needed for the terminating operation. Speedment also comes with a handy Maven plugin that generates all the entity and manager classes needed to model the database using the database metadata as the domain. This means that you can get a database application up-and-running in no time.

JShell Queries in Java 9

In this video, Per Minborg and I demonstrate the database streams using JShell, the new REPL loop that comes with Java 9. We also explain how the Speedment implementation can optimize the streams before execution and why this is legal according to the Stream documentation. At the end of the video you have all the tools you need to quickly write Java 9-ready database applications using Streams instead of SQL.

The Webinar

What's Next?

Speedment is open-source and can be downloaded from GitHub.

Do you pay to use your database? What if your database paid you? Learn more with RavenDB.

Topics:
stream ,query ,java 9 ,java 8 ,database ,speedment ,jshell

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}