how to provide offline mode?

I have a project for which Vaadin seemed perfect. But I was required to also provide a limited offline (users could enter new records when he has no connectivity, and the records are synchronised to the database when he connects).

As Vaadin is a serverside framework, I don’t think I can do this with Vaadin, right?

So I was thinking of using GWT+gears for that offline mode. Is there a way to share some parts of the project between the Vaadin app and the gwt app? Can the Vaadin domponents be used in the gwt app? (I would like both screens to look the same)

You are correct.

If you create a GWT composite for entering records, you could wrap that as Vaadin components and reuse it in Vaadin application.

You could try