Fusion Full-Stack Framework for Modern Web Dev on Java Backend
Learn how Vaadin Fusion full-framework can be used with Lit, MobX, and Spring Boot to create web apps more easily than the traditional DIY frames with React.
Join the DZone community and get the full member experience.Join For Free
Marcus Hellberg explains what Vaadin Fusion full-framework is and how it leverages Lit, MobX, and Spring Boot to make building web apps easy.
(If you love Vaadin's 100% pure Java Flow framework, do not panic! Fusion is not a replacement. Instead, it complements Flow.)
A live-coded intro makes it quite clear why full-stack frameworks make your life easier as opposed to maintaining a DIY frame on top of React. Not only is making the right choices hard (see below), but keeping everything in sync over time is a lot of work.
This video gives a thorough starting-from-zero walkthrough on how to build a full-stack app for a shopping cart like this:
A Reactive template based on Lit leverages ready-made standard web components, automatically binding them to a data model.
TypeScript gives auto-completion across all layers and Vaadin automates communication and forms for you based on this simple service definition.
The data model is in plain Java, with Lombok taking care of the boilerplate for you.
Validation annotations above are automatically run in both the browser and in the server for security.
Spring Data takes care of storing it in a database.
Application structure, routing, build tooling, etc. were all automatically created for you.
Try it out!
Opinions expressed by DZone contributors are their own.