Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A Scala flavoured version of the Vaadin address book tutorial and integrated with Lift (sort of)
Scala
Branch: master
Pull request Compare This branch is 2 commits ahead of g-eorge:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
project
src
.ensime
.gitignore
README.md
build.sbt

README.md

About

This is an experiment to see how Vaadin could be integrated as part of a Lift application. For example, to provide an admin interface to a Lift web app.

It's a version of the Vaadin Address Book tutorial which has been ported to Scala with help and inspiration from earlier work by Robert Lally.

How to install and run

This is an SBT project, so once that is installed simply:

> update

> jetty-run

At http://localhost:8080 you will find the Lift part where you can try out the ProtoUser sign up and login features.

At http://localhost:8080/ui you will find the Vaadin user interface which lets you see all the signed up users, edit them and add new ones. As well as try out various features of the Vaadin UI components.

Learnings

While it is possible to kind-of share the persistence layer between Vaadin and Lift by mapping between Lifts models and Vaadin with a 'data transfer object' or 'view object', this isn't really ideal. A more seamless solution could probably be found if you choose to build your Lift app using the JPA option for persistence. I imagine this would then make it simpler to re-use these objects in Vaadin.

Something went wrong with that request. Please try again.