Close
Back

Vaadin best practices are now available in a Zip-file

Vaadin best practices are now available for any business grade full stack application, in plain source code! We are happy to announce that we have just released a brand new product for anyone to get started with Vaadin the right way: Bakery App Starter for Vaadin Framework 8 and Spring. You can think of it as an app starter, a kickstarter project, or a project template, but we simply called it a Starter. It is a fully functional and tested full stack application that includes the best practices our experts are using every day. It even has a built-in testing setup for integration and scalability tests. The starter is called Bakery as the application itself is a controlling system for an imaginary bakery coffee shop.

This starter is a great asset for any commercial project built with Vaadin. You can use it as a starting point, a reference point or a benchmark for your existing project. Our main goal with releasing this starter was to help professional Vaadin developers to find field-tested Vaadin-manners and concepts that will work throughout the whole lifecycle of a project. With the help of this starter you can easily avoid all the common pitfalls of business grade Vaadin development.

The starter is included in our commercial portfolio and requires an active Pro or Prime subscription, but of course you are free to study and evaluate it before buying anything. To get it, you just have to go to the online product page and use the configurator. Fill in your project metadata and download the Zip-file. Easy.

Please go on and give it a spin. Try it, use it and don’t forget to give us feedback. It has a nice look to it, it has a nice dashboard, it supports different screen sizes and it even has a scalability testing report available!

Get introduced and get started

Comments
Add Comment
Very handy, I love that it's completely open. I put my email against an account and was suprised to see it still there when I logged in on my mobile, hehe. But that helped understand the site alot more. So maybe you could add a note about personal information and maybe language. I was looking at it to see how you when about implementing spring security across the application. It seems pretty similar to the explaination in the blogs on spring-vaadin security. I also notice that push isn't implemented. Any tricks here? Thanks Hayden
Posted on 6/30/17 4:41 AM.
Thanks Hayden for your input. The documentation of this product will naturally get better along the road. For the push, you should be able to just go ahead and enable it following the push documentation https://vaadin.com/docs/-/part/framework/advanced/advanced-push.html. And if you have something specific in mind and not sure how to do it, maybe even go ahead and write a more detailed request here: https://vaadin.com/full-stack-starter#feedback
Posted on 6/30/17 6:31 AM.
Hi,
Thank you for this template. But I'm trying to download template and nothing happens. Could you please check generator.
Posted on 6/30/17 7:29 AM.
Ville, I can't find the "configurator", can you add a link or more description on how to find this?
Best regards,
Peti

(I have a pro subscription...)
Posted on 6/30/17 7:41 AM.
https://vaadin.com/full-stack-starter
Posted on 6/30/17 7:44 AM in reply to Peti Koch.
Oh no, there indeed seems to be something wrong with it. We'll investigate. Thanks for the heads-up Aliaksei.
Posted on 6/30/17 7:47 AM in reply to Aliaksei qizer.
Hi,
It happened because my trial licence is expired :-)

But I see I cannot delete my comments here. Nothing happening after press on delete button.
Posted on 6/30/17 7:58 AM in reply to Ville Ingman.
Can this demo be used by skipping the spring part of it as I am only using Java EE 7 API instead of Spring???
Posted on 6/30/17 9:12 AM.
Try to import as maven project in eclipse. After build process I got this error message: Select the fix for 'Archive for required library: 'C:/Users/Frank/.m2/repository/com/vaadin/vaadin-shared/8.1.0.beta3/vaadin-shared-8.1.0.beta3.jar' in project 'my_bakery' cannot be read or is not a valid ZIP file'.
Posted on 6/30/17 9:18 AM.
Hi Frank,

It sounds a bit like something went wrong when the vaadin jar was downloaded from Maven. Try deleting the whole C:/Users/Frank/.m2/repository/com/vaadin/vaadin-shared/8.1.0.beta3 folder and rebuilding/refreshing the project
Posted on 6/30/17 9:27 AM in reply to Frank Zillus.
Hi Salah,

Currently there is only a Spring version available. We have been talking about making a JavaEE version but there are currently no concrete plans.
Posted on 6/30/17 9:46 AM in reply to salah alhaddabi.
As a pre-emptive public service announcement for IntelliJ users, if you are getting an exception when you attempt to run, take a look at: https://stackoverflow.com/questions/36902265/spring-boot-jsp#36909209

In this particular POM, there are two things to comment out:
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<!--<scope>provided</scope>-->
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
<!--<scope>provided</scope>-->
</dependency>
Posted on 6/30/17 5:59 PM.
Hi Ville, I am trying to understand the whole Bakery App. Can I ask why do you use BeanLocator to find the Repository? Why not just autowired repository into the service class? Are there any plus of doing this?
It is wonderful, I have tried to use spring boot and vaadin to build a whole application like this. This is wonderful that I can lean from form it.
Posted on 7/11/17 12:03 PM.
Hi,

BeanLocator was included in the initial version as a way of making the application serializable. It has since been removed as it only added complexity and the application was still not serializable for other reasons.
Posted on 7/14/17 10:29 AM in reply to Chien-Min James Ho.
Posted on 7/16/17 1:06 PM in reply to Artur Signell.