vaadin

A collection of 26 posts

A Java geek
  • Me
  • Books
  • Speaking
  • Mentions
  • Focus
Oct 13, 2024 ssr vaadin

Vaadin, the battery-included server-side AJAX framework

I’ve written a lot about Vaadin. I was so enthusiastic that I wrote the first book about it (besides the Book of Vaadin), its updated edition for Vaadin 7, and a companion website. Still, I’m amazed that so many people in the JVM world never heard of it. In this post, I’d like to introduce Vaadin in the context of AJAX and SSR. Short introduction to Vaadin The beauty of Vaadin lies in its simplicity - you only write backend code. You read that well.

Nicolas Fränkel
Jun 7, 2020 vaadin productivity gui

Why I (still) love Vaadin

It’s funny how things come in sequences. Recently, on three separate occasions, I stumbled upon questions asking what people used for front-end technologies. Every time, my answer was Vaadin. Unfortunately, some places, e.g. Twitter, are too limiting to explain my answer in depth. In this blog, I’ve no such limitations. In one sentence, Vaadin is a framework to create GUI using plain Java, or any JVM-based language for that matter.

Nicolas Fränkel
Oct 28, 2018 annotations reflection vaadin

Listing annotated classes in Java EE

The Java EE platform is huge, and I must confess I’m not aware of every one of its API. This is also true of the Spring framework, even though I think I know more of Spring than of Java EE. Lately, I was working on the version 10 of the Vaadin framework also known as Vaadin Flow. This version introduces routes. When a path is requested, the Vaadin Servlet displays the component. Routes are created by annotating specific components with the @Route annotation.

Nicolas Fränkel
Oct 29, 2017 vaadin navigator

Alternative navigator in Vaadin

In Vaadin, to change the components displayed on the screen, there are a few options. The most straightforward way is to use the setContent() method on the UI. The most widespread way is to use the navigator. Views managed by the navigator automatically get a distinct URI, which can be used to be able to bookmark the views and their states and to go back and forward in the browser history.

Nicolas Fränkel
Sep 11, 2016 seo vaadin volga

Adventures in SEO with Vaadin

TL;DR: Vaadin was hardly SEO-friendly in the past. Not anymore, with the new Volga library. Bookmarking pages Bookmarking is as old as www itself. Being able to save an URL is part of the ADN of websites. Regarding web apps, this is somewhat different. For example, in an e-commerce webapp, while it does make sense to bookmark a specific product, bookmarking a specific step of the checkout process does not.

Nicolas Fränkel
Mar 28, 2016 kotlin vaadin

Feedback on customizing Vaadin HTML template

Last week, my post was about how you could customize the default Vaadin HTML template so you could add a lang attribute for example. I didn’t ask for feedback, but I got it anyway, so let’s use the occasion to analyze it. First, I must admit that my solution was not Vaadin-esque as I used AOP to get the job done. My friend Matti Tahvonen from the Vaadin team was kind enough to provide not only one but 2 alternatives to my proposal.

Nicolas Fränkel
Mar 20, 2016 customization vaadin

Customizing Vaadin HTML template

This week, I had an interesting question on 'How in Vaadin do you add a lang attribute to the html element?' While it’s quite easy to customize individual components on the page, the outer html tag is outside our control. In this article, I’ll describe a possible solution to this problem.

Nicolas Fränkel
Jan 10, 2016 kotlin spring boot vaadin

Playing with Spring Boot, Vaadin and Kotlin

It’s no mystery that I’m a fan of both Spring Boot and Vaadin. When the Spring Boot Vaadin add-on became GA, I was ecstatic. Lately, I became interested in Kotlin, a JVM-based language offered by JetBrains. Thus, I wanted to check how I could develop a small Spring Boot Vaadin demo app in Kotlin - and learn something in the process. Here are my discoveries, in no particular order.

Nicolas Fränkel
Oct 18, 2015 event bus event-driven programming guava vaadin

My case for Event Bus

Informal talks with colleagues around the coffee machine are a great way to improve your developer skills. Most of the time, people don’t agree and that’s a good way to learn about thinking in context. One of the latest subject was about the Event Bus. Though no Android developer, I’m part of a Mobile team that uses an Event Bus to dispatch events among the different components of the application. Amazingly enough, one team member 'doesn’t like Event Bus'.

Nicolas Fränkel
Jan 18, 2015 open source spring vaadin

Improving the Vaadin 4 Spring project with a simpler MVP

I’ve been using the Vaadin 4 Spring library on my current project, and this has been a very pleasant experience. However, in the middle of the project, a colleague of mine decided to improve the testability. The intention was laudable, though the project already tried to implement the Model View Presenter pattern. Instead of correcting the mistakes here and there, he refactored the whole codebase using the provided MVP module…​ IMHO, this has been a huge mistake.

Nicolas Fränkel
Nov 23, 2014 docker vaadin

From Vaadin to Docker, a novice's journey

I’m a huge Vaadin fan and I’ve created a Github workshop I can demo at conferences. A common issue with such kind of workshops is that attendees have to prepare their workstations in advance…​ and there’s always a significant part of them that comes with not everything ready.

Nicolas Fränkel
Mar 9, 2014 javaconfig spring vaadin

Vaadin and Spring integration through JavaConfig

When I wrote the first version of Learning Vaadin, I hinted at how to integrate Vaadin with the Spring framework. I only described the overall approach by providing a crude servlet that queried the Spring context to get the Application instance. At the time of Learning Vaadin 7, I was eager to work on add-ons the community provided in terms of Spring integration.

Nicolas Fränkel
Sep 29, 2013 book vaadin

Learning Vaadin 7 is out!

Hey everyone! No code nor rant for this week’s article but just very good news: Learning Vaadin 7 has been published! This new edition of Learning Vaadin describes of course what is new in Vaadin 7 as well has changes from v6 to v7, but also introduces some great additional stuff.

Nicolas Fränkel
Mar 28, 2013 angularjs devoxx html5 vaadin

Devoxx France 2013 - Day 1

Rejoice people, it’s March, time for Devoxx France 2013! Here are some notes I took during the event. It includes Java EE, Angular JS, Gradle, HTML5 and Vaadin.

Nicolas Fränkel
Feb 12, 2012 vaadin

Announcing More Vaadin

During the writing of 'Learning Vaadin', I had many themes I wanted to write about: components data, SQL container filtering, component alignment and expand ration, separation of concerns between graphic designers and developers, only to name a few. Unfortunately, books are finite in space as well as in time and I was forced to leave out some interesting areas of Vaadin that couldn’t fit in, much to my chagrin.

Nicolas Fränkel
Nov 28, 2011 vaadin

Learning Vaadin contest winners

Dear readers, thanks for your participation in the 'Learning Vaadin' contest. It’s my pleasure to announce the winners.

Nicolas Fränkel
Oct 30, 2011 vaadin

Learning Vaadin is out

This is it! After 10 monts of work, my first book is out: 'Learning Vaadin' is now available at Packt and Amazon. First things first, what’s is Vaadin? Vaadin is a presentation-layer web framework that let you easily develop Rich Internet Applications. It does so by provding an abstraction over the Servlet API and by letting developers assemble components to design screens (as opposed to pages as in previous generation web frameworks).

Nicolas Fränkel
May 16, 2011 blackbelt vaadin

Vaadin courses on JavaBlackBelt

For those of you who haven’t heard of JavaBlackBelt, it’s an e-learning community site. Once registered, users can use the site in a variety of ways: First, one can take courses on a variety of programming-related subjects.Then, one can pass exams on these subjects. Each exam is made of questions one has to anwser in a limited time frame. Passing an exam gives you knowledge points; with enough knowledge points, you get the next belt, until the fabled black belt!

Nicolas Fränkel
May 2, 2011 vaadin

New Filter API in Vaadin 6.6

Vaadin is available in version 6.6 preview since this week. Among other interesting enhancements, one surely caught my attention, the new Filter API. To understand why it’s so interesting, one must know how it’s handled in version 6.5 and before. But first, a word about filters in Vaadin: they are used in containers, which handle collections of items, in order to sort out eligible items.

Nicolas Fränkel
Mar 21, 2011 vaadin

Learning Vaadin

Vaadin is a Rich Internet Application framework in Java that let developers code applications in a very productive way. For more information regarding Vaadin, please consult its site. When one wants to learn a framework, one needs to read some documentation. In this regard, Vaadin provides plenty resources:

Nicolas Fränkel
Jan 31, 2011 scala vaadin

Second try with Vaadin and Scala

My article from last week left me mildly depressed: my efforts trying to ease my Vaadin development was brutally stopped when I couldn’t inherit from a Java inner class in Scala. I wondered if it was an impossibility or mere lack of knowledge on my part. Fortunately, Robert Lally and Dale gave me the solution in their comments (many thanks to them). The operator used to access an inner class from Java in Scala is #.

Nicolas Fränkel
Jan 24, 2011 maven scala vaadin

Mixing Vaadin and Scala (with a touch of Maven)

People who are familiar with my articles know that I’m interested in Vaadin and also more recently in Scala since both can increase your productivity. Thus it is only natural that I tried to embed the best of both worlds, so to speak, as an experience. As an added challenge, I also tried to add Maven to the mix. It wasn’t as successful as I had wished, but the conclusions are interesting.

Nicolas Fränkel
Jan 17, 2011 roo spring vaadin

Playing with Spring Roo and Vaadin

One year ago, under the gentle pressure of a colleague, I tried Spring Roo. I had mixed feelings about the experience: while wanting to increase productivity was of course a good idea, I had concerned regarding Roo’s intrusiveness. I left it at that, and closed the part of my memory related to it. Now, one year later, I learned that my favourite web framework, namely Vaadin, had set their sight on a Roo plugin. That was enough for me to get back on my feet and try again.

Nicolas Fränkel
Oct 25, 2010 vaadin

Server-client push with Vaadin

I’m more and more comitted into Vaadin since I see so many advantages to this solution. This time, I’ve investigated how to push server data to the client. Vaadin is a general purpose framework that is wise enough not to force you to code in one way or another. Many features are available in the core distribution but many more are available in the add-ons directory. One such add-on let you add push feature to your simple application.

Nicolas Fränkel
May 3, 2010 spring vaadin

Chicken and egg problem with Spring and Vaadin

The more I dive into Vaadin, the more I love it: isolation from dirty plumbing, rich components, integration with portlets, Vaadin has it all. Anyway, the more you explore a technology, the bigger the chances you fall down the proverbial rabbit hole. I found one just yesterday and came up with a solution. The problem is the following: in Vaadin, application objects are tied to the session. Since I’m a Spring fanboy, it does make sense to use Spring to wire all my dependencies.

Nicolas Fränkel
Apr 6, 2010 spring vaadin

Vaadin Spring integration

I lately became interested in Vaadin, another web framework but where everything is done on the server side: no need for developers to learn HTML, CSS nor JavaScript. Since Vaadin adress my remarks about web applications being to expensive because of a constant need of well-rounded developers, I dug a little deeper: it will probably be the subject of another post. Anyway, i became a little disappointed when I wanted to use my favourite Dependency Injection framework, namely Spring, in Vaadin.

Nicolas Fränkel
A Java geek © 2008-2026
v. bc04c88300c3ec997ce8470fbff5395dc9e518b1/13264050981
Latest Posts