Arvind
Arvind

Reputation: 6474

adding vaadin ui to existing java web app

I am working to create a UI using Vaadin, now I want to add this to an existing java web app. Do I simply need to add the Vaadin jar file, and the java files of vaadin to that web app?

Or is there some procedure to follow, when doing this?

Upvotes: 0

Views: 721

Answers (2)

miq
miq

Reputation: 2766

Just add the vaadin.jar file to your WEB-INF/lib directory and you're good to go.

edit: see Ross Judson's answer.

Upvotes: 0

Ross Judson
Ross Judson

Reputation: 1142

You also need to ensure that the Vaadin ApplicationServlet is being called, and is being sent the right requests. The VAADIN directory has theme information; you need to ensure it is being served as well, or is being served from the code base directly.

See the Book of Vaadin for details on how to configure your web.xml to ensure the right things happen.

Upvotes: 2

Related Questions