Blog

Persist your data with pure Java

By  
Matti Tahvonen
Matti Tahvonen
·
On Mar 7, 2024 4:57:51 PM
·

In the fast-paced world of software development, efficiency and simplicity often dictate a project's success. This is why many Java developers have chosen Vaadin. With Vaadin, you can use a single language and execute your code in a single execution environment to create compelling web UIs.

This pure Java experience is, probably for the wrong reasons, most often interrupted when we start modifying the persistence layer. With or without JPA, the relational database will affect your daily developer experience.

The traditional approach of persisting your data using relational databases with Java applications has been a staple for many years. However, this method is not without its challenges, particularly when it comes to the need for developers to juggle multiple skill sets. This includes mastering both SQL for database management and Java for application development, leading to an inevitable "context switch" in the developer's mind that can hamper productivity and increase the complexity of projects.

Extend your pure Java experience to persistence with EclipseStore

Last autumn, I wrote an article, You Might Not Need The Database, where I gave a pure Java recipe for applications with simple persistence requirements. This is true developer joy if it is enough for your application. A couple of weeks ago, I had a chance to make a webinar about EclipseStore. With EclipseStore, your highly valued “Java zen” is still there, but you get things like transactions and lazy loading to handle even huge data structures, making it suitable for pretty much all JVM applications. Especially if, in general, you like Java and the main purpose of your RDBMS is to work as a backend for your JPA entities, I urge you to reconsider whether the most common architecture is the best choice for you.

To learn more, check out our recent webinar recording below!

Matti Tahvonen
Matti Tahvonen
Matti Tahvonen has a long history in Vaadin R&D: developing the core framework from the dark ages of pure JS client side to the GWT era and creating number of official and unofficial Vaadin add-ons. His current responsibility is to keep you up to date with latest and greatest Vaadin related technologies. You can follow him on Twitter – @MattiTahvonen
Other posts by Matti Tahvonen