Friends of OpenJDK Today

Vaadin 24: Java 17, Jakarta EE 10, Servlet 6, Spring Boot 3

March 22, 2023

Author(s)

Vaadin 24 delivers a significant step forward with a new technology baseline that includes Java 17, Jakarta EE 10, Servlet 6.0, Spring 6.0, and Spring Boot 3.

This ensures you can continue building Vaadin Flow apps with the latest Java technologies.

It also provides several exciting improvements that help you build Java applications even faster. Let me introduce some of them.

Faster build times

You can now experience significantly improved build and start-up times during development.

Speedup is made possible using the new pre-compiled front-end bundle, which doesn't require front-end installation or compilation.

This means that there's no longer a requirement to install tools like Node.js, npm/pnpm, or download the npm package. How fast is it?

Read more how to configure your development build.

Simplified component styling - using CSS

We've added full support for ::part() selector for a simpler and more flexible approach to styling UI components. All of your CSS can be regular, non-Shadow-DOM CSS.

  • No more class vs. theme: use class names for everything.
  • Styling is now entirely based on regular, native CSS – no Vaadin-specific things to learn.
  • You have the freedom to structure your stylesheets how you like – while still a good practice, there is no need to split them per component.

Check this post by Rolf Smeds explaining the details.

Convert Polymer templates to Lit

Following our quest for continuously simplifying the client-side, Polymer support has been deprecated since Vaadin 18, November 2020, in favor of faster and much simpler Lit templates.

To keep you along, we created a conversion tool to assist you in converting your Polymer templates to Lit. In Vaadin 24, the built-in support for Polymer templates has been removed (still available as an add-on for Prime and Ultimate customers), but the tool will keep your app modern.

Check the migration documentation for details.

Click to find your code from the UI

The handy new component locator in DevTools lets you click on any UI component directly in your application UI and instantly jump to the relevant code within your IDE.

These we some of the highlight of Vaadin 24. Build your own Vaadin 24 application and give it a try.

Related Articles

View All

Author(s)

Comments (0)

Your email address will not be published. Required fields are marked *

Highlight your code snippets using [code lang="language name"] shortcode. Just insert your code between opening and closing tag: [code lang="java"] code [/code]. Or specify another language.

Save my name, email, and website in this browser for the next time I comment.

Subscribe to foojay updates:

https://foojay.io/feed/
Copied to the clipboard