Search code examples
connectionconnection-poolingvaadin

Vaadin and db connection pooling


I am new to the Vaadin framework and unsure on how to proceed about database connection.

What I don't want is to instatiate connection at each session. In my understading though, vaadin works at session level.

Is it possible to create a class which will persist no matter sessions, and then, vaadin session will query it to get the database connection?


Solution

  • You need to use jdbc connection pool in your application server.