Take a REST by integrating Salesforce into Vaadin

Consuming RESTful web services is quite a common topic currently. Many of the trendy microservices just provide a RESTful API which must then be consumed from the UI layer.

Salesforce provides a rather complete UI for their services, but they also provide excellent hooks for developers to build custom UIs or tools, and Vaadin Framework can be used at the UI layer. In a recent webinar, together with Salesforce Developer Evangelist René Winkelmeyer, we wanted to emphasize this possibility, but also to give some generic tips about using RESTful web services.

In the webinar we discussed the different ways of how you can consume REST services in Java apps and also how to tackle tricky things like authentication. As an example, we built a simple Vaadin based web app. It authenticates to Salesforce using OAuth 2, and then uses private data, fetched via Salesforce’s REST endpoints, and displays it in a Vaadin UI.

If you want some tips on how to get started with consuming RESTful services or integrating Salesforce data into your Vaadin application, watch the webinar and see the examples we prepared!

Also see the forum thread with links to examples.

PS. Note that REST is not the only way to access your data from Salesforce. With plain Java apps, like Vaadin apps, it might in many cases be simpler to use the SOAP approach.


The Free Vaadin Certification Week is on again!

Have you ever wanted to show that you have what it takes to be a Vaadin expert? Then this is your chance to join the over 795 Certified Vaadin developers all over the globe and prove your skills. The certification week is between November 28th and December 4th 2016.


Not only will you get an advantage in today’s competitive job environment, but you’ll also get proof for your customers that you have what it takes to find the right solutions. After the successful completion of the certification, you’ll receive your badge that will be displayed in the Vaadin forums and on your Linkedin profile.


Discount on Vaadin Trainings
The certification examination is divided into a few different sections, namely Basics, Architecture, Server-side application basics, Components, Layout Components, Data model, Themes, Client-side development and Add-ons. For an even better preparation for the examination we’ll advise you to take a look at the training courses. As an additional bonus, all of the trainings will be discounted by 20% for the entire week, including the new and upcoming Progressive Web Applications (PWA) training in Helsinki.

Sign up for the Free Certification Week

Getting started with Java EE and Spring

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


The good news for developers is that Vaadin officially supports both Java EE and Spring Framework. 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 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 & 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: 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

Subscribe to the Vaadin YouTube Channel