Vaadin CDI + Spring integration addons

Hi, we are planning to use Vaadin for a project together with Spring. We’ve found following two addons, but we are confused which one to use.

What is difference between the two plugins?

  1. vaadin4spring:
    https://github.com/peholmst/vaadin4spring
  2. vaadin-cdi:
    https://github.com/vaadin/cdi/tree/master/vaadin-cdi

Which one is better for Vaadin + Spring integration?
Is there any plan that vaadin4spring will become official Vaadin’s addon?

For us the vaadin4spring looks like better option, but it is unofficial and contributed mainly only by one developer (Petter Holmström).
So we are worried it may be not supported in future and also the development may stop…

Any idea?

Thanks,
Vladimir

There is also SpringVaadinIntegration: http://vaadin.com/addon/springvaadinintegration
Official Vaadin’s addon with Maturity: STABLE
Looks promissing.

Definitely option 1. because Vaadin CDI is more to integratate with Java EE stack. Although vaadin4spring is not “official” you can count on that project. It is also used by projects we are consulting ourselves and we have a plant to make its status official later. Petter is one of our brightest minds and leading these projects.

He is currently on a paternity leave, but will be back soon on vaadin4spring and real project that are using it.

BTW. Did you notice this upcoming webinar? This will feature some vaadin4spring usage.
https://spring.io/blog/2014/10/01/webinar-building-bootful-uis-with-spring-boot-and-vaadin

cheers,
matti

Hello Matti,
thanks for the reply, we already decided to use the vaadin4spring and it looks like good choice.
I’ve also contacted Petter few days ago and got direct answer from him.
Both answers Petter’s and yours convinced me to use the “addon”.

Regarding the webinar, I noticed it, but I’m not able to join, so I hope it will be recorded :slight_smile:

Thanks.
Vladimir