What design patterns are used when integrating spring with vaadin/gwt? We're using spring with hibernate in our application, every dao is a spring bean. Question is what is the best way to use them on Vaadin side?
Options which we've find so far are:
Try my Spring Stuff Vaadin Add-On, which has some helpful classes for integrating Vaadin and Spring.
There is a demo on GitHub that shows how it works.
I would recommend using Vaadin UIProvider mechanism. This way autowiring in UI is totally transparent.
You can have a look at a really simple example that uses this solution on github: spring-vaadin-example
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With