简体   繁体   中英

Use Vaadin with google app engine

I'm just wondering if its possible to have a Vaadin project working under google app engine? If it is then please refer me to any kind of documentation or "how-to".

The Vaadin wiki contains a step-by-step process.

There is an ticket about supporting Vaadin by GAE: http://dev.vaadin.com/ticket/2835

I've tried it - and id works. First of all you need to enable sessions:

<sessions-enabled>true</sessions-enabled>

and use GAEApplicationServlet instead of default vaadin's.

Second: make sure that all you domain objects, are serializable (i bet it's no problem, btw)

And third: move all static files (theme css and images) from vaadin's jar to your webapp folder

Yes, it is possible .
To start with something easy, read the tutorial to create a simple address book and download the project for Google App Engine here .

The good news is that it works.
There are only a few things to consider, all described in http://vaadin.com/book/-/page/advanced.gae.html . When it comes to persistence, things get a bit more tricky. You might have a look at http://code.google.com/p/instant-webapp/ where most things have been adressed and more or less solved.

A step by step tutorial for deploying your vaadin application to GAE can be found by following this link .

Yes you can use Vaadin donot know of specific gae\vaadin doc but it's not different to running vaadin on your machine it's just GWT based rich ajax liberary

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM