‘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). If you got 5 minutes to spare, you can go try the tutorial and be convinced yourself. Note that I do not hold Vaadin for a golden hammer, but in most contexts, it just is the right tool.
Now, why write a book? An imperative prerequisite is to believe in the subject. For me, it was love at first sight… I already wrote on Vaadin and used it in real pre-sales demos. During a conversation with Joonas Lehtinen, Vaadin’s CEO, he mentioned he had been approached by Pack to write a book on the subject. My brain processed the information and mere minutes later, I proposed myself.
Although writing a book is like coding in a project in many ways: there’s a schedule, limited time, reviewing (testing), rewriting (bug fixing), ups and downs, it has not been easy for me. I’m admirative of people who regularly write books in their spare time. They need discipline, of course, but also a supportive family and the right publisher. Fortunately, I had these assets this time and I’m now proud to have finished the book.
But is it finished? The strangest is that I do not realize yet. I’m waiting to hold a hard-copy in my hands to really think ‘I’ve done it’. Once received, I believe I will be entitled to some much-deserved R&R
‘Learning Vaadin’ in the news:
- DZone: “Meet the author: Learning Vaadin”
- Vaadin: “New book: Learning Vaadin”
- Vaadin: ‘Learning Vaadin’ side by side with the Book of Vaadin!
- Knowledge Black Belt (aka Black Belt Factory aka Java Black Belt):“Vaadin Book”
- Java.net: Fabrizio Giudici also mentions ‘Learning Vaadin’ at the end of a post where he thanks Vaadin for making it possible to deliver 3 weeks in advance… Think it over
You’re welcome to mention other references I may have missed.
Hello!
I’ve got the ebook version, and I like it, it’s refreshing and very up-to-date with Vaadin and the technology.
There is one common need for any web application and it is the possibility to authenticate the user and remember that he is logged in for future visits. This can be done for example with openid and cookies. I am surprised that I can not find information on how to do that with Vaadin, and it is so basic need… I didn’t found info on that in your book either. Am I missing something here, or this is too hard to be done?
Thanks for your time and the awesome book!
Thanks for your kind comment.
Regarding your question, you can easily plug the authentication process you want. What I would do is:
Application, look for the cookie and display the login window (when not found) or the main window (when found)Additionally, check the
setUser()method on theApplicationobject (it’s in the book) in order to store the logged in user and use it in windows.Hope this helps!
Yes, this helps!
Thanks for the hints!
I would like to put the source code from the examples in the book on github to be able to share/collaborate as I experiment. Is this ok?
Good to know. As for the code source, I wouldn’t recommend you sharing it since it is copyrighted.
Ok, I will not share. It would be cool, but maybe with the next edition, if you decide to
Sadly, it’s not my call to make: I’m not the copyright owner.
Hi Nicolas,
Great book so far!
There is some code missing though. I can’t find TwitterService anywhere in the book.
So, example will not work.
The latest code package from Packt should answer your question. Alternatively, I’ve posted the TwitterService here.