DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Please enter at least three characters to search
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

The software you build is only as secure as the code that powers it. Learn how malicious code creeps into your software supply chain.

Apache Cassandra combines the benefits of major NoSQL databases to support data management needs not covered by traditional RDBMS vendors.

Generative AI has transformed nearly every industry. How can you leverage GenAI to improve your productivity and efficiency?

Modernize your data layer. Learn how to design cloud-native database architectures to meet the evolving demands of AI and GenAI workloads.

Related

  • Realistic Test Data Generation for Java Apps
  • Learn How To Implement Web GUIs in Java
  • Visually Designing Views for Java Web Apps
  • How Spring and Hibernate Simplify Web and Database Management

Trending

  • Detection and Mitigation of Lateral Movement in Cloud Networks
  • Exploring Intercooler.js: Simplify AJAX With HTML Attributes
  • Accelerating Debugging in Integration Testing: An Efficient Search-Based Workflow for Impact Localization
  • Can You Run a MariaDB Cluster on a $150 Kubernetes Lab? I Gave It a Shot
  1. DZone
  2. Coding
  3. Java
  4. Getting Started With Vaadin in Spring and Java EE

Getting Started With Vaadin in Spring and Java EE

If you're thinking of using Vaadin for your UI components, here are some resources, including two videos, to see how you can incorporate it into both Spring and Java EE.

By 
Alejandro Duarte user avatar
Alejandro Duarte
DZone Core CORE ·
Updated Jul. 14, 22 · Tutorial
Likes (9)
Comment
Save
Tweet
Share
13.3K Views

Join the DZone community and get the full member experience.

Join For Free

One of the most interesting findings in the latest Vaadin Community Survey was that Java EE is used slightly more than Spring among developers. Although the differences between Java EE and Spring is small, if we combine both, we see that 73% of developers using Vaadin also use either Java EE or Spring:

The good news for developers is that Vaadin officially supports both Java EE and Spring. Vaadin’s Matti Tahvonen and Petter Holmström recently explained the Dependency Injection alternatives in a webinar, and I recently published two videos showing how simple it is to set up a Vaadin project with the Java EE and Spring back-ends. Of course, these videos aren’t the only resources available. I’ll talk about some resources for learning Spring and Java EE with Vaadin below.

Java EE + Vaadin

To see Java EE and Vaadin in action, watch this 5-minute video:


Java EE is supported through the Vaadin CDI add-on. You can find the must-read documentation at the docs site. As Java EE includes several APIs' specifications, you can use a compatibility matrix to check the compatibility of Vaadin with several of these APIs. One way to master CDI is by reading the specification and then putting the concepts into practice. There’s also a Vaadin Framework and Java EE training that focuses on the basics of Java EE and how to use it in Vaadin applications.

Spring + Vaadin

To see how to mix these two frameworks in less than 5 minutes, watch this video:


This is a good starting point if you want to learn about the Vaadin + Spring combination. In short, Spring Framework is supported through the Vaadin Spring (a new release is coming this month) and Vaadin Spring Boot add-ons. The best place to start learning about these add-ons is the docs site. If you like learning by watching videos, you should watch Marcus Hellberg’s video where a full-stack “to do” application is developed from scratch, and this webinar with Stéphane Nicoll and Matti Tahvonen. Alternatively, you can read the guide at spring.io.

Spring Framework Java EE Vaadin Java (programming language)

Opinions expressed by DZone contributors are their own.

Related

  • Realistic Test Data Generation for Java Apps
  • Learn How To Implement Web GUIs in Java
  • Visually Designing Views for Java Web Apps
  • How Spring and Hibernate Simplify Web and Database Management

Partner Resources

×

Comments
Oops! Something Went Wrong

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends:

Likes
There are no likes...yet! 👀
Be the first to like this post!
It looks like you're not logged in.
Sign in to see who liked this post!