Vaadin Spring
Use Spring dependency injection in your Vaadin application.
This add-on supports the use of basic Spring features such as dependency injection in a Vaadin application by making the UI and Route classes Spring managed beans.
Learning how to use Vaadin & Spring, see the documentation and tutorial for using Vaadin & Spring Boot.
Getting started in using Vaadin & Spring in projects, please use the Project Base for Vaadin 10 and Spring or take a look at the full application example Bakery App Starter
Links
- Author Homepage
- Issue Tracker
- Source Code
- Basic CRUD Tutorial
- Vaadin Spring Boot add-on
- Long tutorial
Compatibility
1.0.0.alpha1 | 1.0.0.alpha2 | 1.0.0.beta1 | 1.0.0.beta2 | 1.0.0.beta3 | 1.0.0 | 1.0.1 | 1.0.2 | 1.1.0 | 1.1.1 | 1.2.0 | 1.3.0 | 2.0.0.beta1 | 2.0.0.rc1 | 2.0.0 | 2.0.1 | 2.1.0.beta1 | 2.1.0.beta2 | 3.0.0 | 3.0.1 | 3.1.0 | 3.1.1 | 3.2.0 | 3.2.1 | 4.0.0 | 10.0.3 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
(24.4) | ||||||||||||||||||||||||||
(24.3) | ||||||||||||||||||||||||||
(24.2) | ||||||||||||||||||||||||||
(24.1) | ||||||||||||||||||||||||||
10-24 | Y | |||||||||||||||||||||||||
-23 | Y | |||||||||||||||||||||||||
-22 | Y | |||||||||||||||||||||||||
-21 | Y | |||||||||||||||||||||||||
-20 | Y | |||||||||||||||||||||||||
-19 | Y | |||||||||||||||||||||||||
-18 | Y | |||||||||||||||||||||||||
-17 | Y | |||||||||||||||||||||||||
-16 | Y | |||||||||||||||||||||||||
-15 | Y | |||||||||||||||||||||||||
-14 | Y | |||||||||||||||||||||||||
-13 | Y | |||||||||||||||||||||||||
-12 | Y | |||||||||||||||||||||||||
-11 | Y | |||||||||||||||||||||||||
-10 | Y | |||||||||||||||||||||||||
8.21 | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | |||||||||||||
8.8-8.20 | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | ||||||||||||||
-8.19 | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | ||||||||||||||
-8.18 | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | ||||||||||||||
-8.17 | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | ||||||||||||||
-8.16 | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | ||||||||||||||
-8.15 | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | ||||||||||||||
-8.14 | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | ||||||||||||||
-8.13 | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | ||||||||||||||
-8.12 | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | ||||||||||||||
-8.11 | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | ||||||||||||||
-8.10 | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | ||||||||||||||
-8.9 | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | ||||||||||||||
-8.8 | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | ||||||||||||||
8.2-8.7 | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | ||||||||||||||||
-8.6 | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | ||||||||||||||||
-8.5 | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | ||||||||||||||||
-8.4 | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | ||||||||||||||||
-8.3 | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | ||||||||||||||||
-8.2 | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | ||||||||||||||||
8.0-8.1 | Y | Y | Y | Y | Y | Y | ||||||||||||||||||||
-8.0 | Y | Y | Y | Y | Y | Y | ||||||||||||||||||||
7.7 | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | ||||||||||||||
7.4-7.6 | Y | Y | Y | Y | Y | Y | Y | Y | ||||||||||||||||||
-7.5 | Y | Y | Y | Y | Y | Y | Y | Y | ||||||||||||||||||
-7.4 | Y | Y | Y | Y | Y | Y | Y | Y | ||||||||||||||||||
7.3 | Y | Y | Y | Y | ||||||||||||||||||||||
(7.2) | ||||||||||||||||||||||||||
(7.1) | ||||||||||||||||||||||||||
(7.0) | ||||||||||||||||||||||||||
(6.8) | ||||||||||||||||||||||||||
(6.7) | ||||||||||||||||||||||||||
(6.6) | ||||||||||||||||||||||||||
(6.5) | ||||||||||||||||||||||||||
(6.4) | ||||||||||||||||||||||||||
(6.3) | ||||||||||||||||||||||||||
(6.2) | ||||||||||||||||||||||||||
(6.1) | ||||||||||||||||||||||||||
(6.0) |
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
Vaadin Spring 1.3.0 is an experimental version of Vaadin Spring for Vaadin 7.7.44 and up. This version requires a Java 8 JDK to build against.
Version 1.3.0 is essentially a backport of 3.2.1 to Vaadin 7. Spring Security support is introduced. Component versions for 1.3.0 are
- Vaadin 7.7.44
- Spring 5.3.39
- Spring Boot 2.7.18
- Spring Security 5.7.11
- javax.api 4.1.0
- Released
- 2024-08-30
- Maturity
- STABLE
- License
- Vaadin Commercial License
Compatibility
- Framework
- Vaadin 7.7+
- Vaadin 8.21+ in 4.0.0
- Vaadin 8.8+ in 3.2.1
- Vaadin 10+ in 10.0.3
- Vaadin 8.2+ in 3.1.1
- Vaadin 8.0+ in 2.1.0.beta2
- Vaadin 7.4+ in 1.0.2
- Vaadin 7.3+ in 1.0.0.beta2
- Browser
- Browser Independent
Vaadin Spring - Vaadin Add-on Directory
Use Spring dependency injection in your Vaadin application.Issue Tracker
Source Code
Basic CRUD Tutorial
Vaadin Spring Boot add-on
Long tutorial
Vaadin Spring version 1.0.0.alpha1
Initial alpha release
Vaadin Spring version 1.0.0.alpha2
Use conventions to determine UI and view names if not given (same approach as Vaadin CDI uses).
Note: most applications need to change @SpringUI to @SpringUI("") for the UI to be mapped to the context root!
Changes to view access delegates.
Miscellaneous fixes and small improvements.
Vaadin Spring version 1.0.0.beta1
- Multiple API changes (classes and annotations renamed/moved, annotation parameters renamed) based on API review
- Removed support for automatically generated name for UIs - @SpringUI maps to the root of the context
- @VaadinSessionScope
- Miscellaneous improvements and fixes
Vaadin Spring version 1.0.0.beta2
- fix for when to show error view vs. access denied view (#17199)
Vaadin Spring version 1.0.0.beta3
Better compatibility with Spring MVC.
Vaadin Spring version 1.0.0
Stable release.
Supports just slash as UI path
Vaadin Spring version 1.0.1
Fixed serialization of SpringUIProvider
Vaadin Spring version 1.0.2
Fixed serialization issue with SpringViewProvider
Vaadin Spring version 1.1.0
Automatic navigation configuration with @SpringViewDisplay.
View scope related fixes etc.
See https://github.com/vaadin/spring/releases/tag/1.1.0 for a more complete list of changes.
Vaadin Spring version 1.1.1
• Allow placeholders in in SpringView Annotation
• Properly guard absence of SpringNavigator
• Fixes two Serialization issues
See
Vaadin Spring version 2.0.0.beta1
Vaadin Spring add-on for Vaadin Framework 8.0.0.beta1
Available from the pre-releases repository, i.e. for maven:
```xml
Vaadin Spring version 1.2.0
Support for Spring Boot 1.5 added, support for Spring Boot 1.3 removed
Vaadin Spring version 2.0.0.rc1
Vaadin Spring add-on for Vaadin Framework 8.0.0.rc1
Available from the pre-releases repository, i.e. for maven:
```xml
Vaadin Spring version 2.0.0
Vaadin Framework 8.0 support
Vaadin Spring version 2.0.1
* `SpringViewDisplayRegistrationBean` is not serializable
* Support using Spring beans in declarative file
* Support aliasing `@SpringView` annotation with `@AliasFor`
Vaadin Spring version 2.1.0.beta1
- Avoid duplicate registration of SpringViewDisplayRegistrationBean (#204)
- Reduce logging to avoid spam in production environments (#216)
- Support for automatically running VaadinServiceInitListener beans (#218)
- POM does not refer to snapshot versions
Vaadin Spring version 2.1.0.beta2
Fix service init listener registration
Vaadin Spring version 3.0.0
Vaadin Spring 3.0.0 is Framework 8.2 compatible version of Vaadin Spring.
It has the following fixes and enhancements:
- Support for `@PushStateNavigation`
- Fixed memory leak in `VaadinSessionScope`
Vaadin Spring version 3.0.1
- Add missing context path to UI path info
- Fix error message when using PushStateNavigation
- Ignore @configurable by catching NoSuchBeanDefinintionException
Vaadin Spring version 3.1.0
vaadin-spring-security dependencies were relaxed, now @Secured annotation might be used in projects without spring-web and spring-security-web dependencies
Vaadin Spring version 10.0.3
Latest maintenance release compatible with Vaadin 10+
Vaadin Spring version 3.1.1
A memory leak was fixed.
Vaadin Spring version 3.2.0
Introduce `VaadinWebsocketEndpointExporter` to fix `WebSocket` issue with Spring Boot
It requires Vaadin 8.8+
Vaadin Spring version 4.0.0
Vaadin Spring 4.0.0 is the first stable release of the 4.x series of Vaadin Spring for Vaadin 8, with support for Java 17+/Jakarta.
This project is built against the following frameworks and technologies:
* Java 17
* Jakarta Servlet 6.0.0
* Jakarta Annotations 2.1.1
* Spring 6.1.3
* Spring Security 6.2.1
* Spring Boot 3.2.2
* Vaadin 8.25.0
This release also contains versions of popular add-ons for Vaadin Spring, adapted for Java 17 and Jakarta. Please note, that these add-ons are provided for convenience, but they should at this point be considered *experimental* as they have not been extensively tested. These have been included for ease of maintenance.
* Vaadin4Spring Extensions
* Now under namespace `org.vaadin.spring`
* Vaadin4Spring EventBus
* Now under namespace `org.vaadin.spring.events`
* Vaadin Spring DataProvider by Artur Signell
* Now under namespace `org.vaadin.spring.dataprovider`
Vaadin Spring version 1.3.0
Vaadin Spring 1.3.0 is an experimental version of Vaadin Spring for Vaadin 7.7.44 and up. This version requires a Java 8 JDK to build against.
Version 1.3.0 is essentially a backport of 3.2.1 to Vaadin 7. Spring Security support is introduced.
Component versions for 1.3.0 are
* Vaadin 7.7.44
* Spring 5.3.39
* Spring Boot 2.7.18
* Spring Security 5.7.11
* javax.api 4.1.0