vaadin interacting with my database

hi everyone…
I have installed vaadin contacts portlet in my liferay instance and it worked well,but i wanna this portlet to read the contact names from my database (that is connected to my liferay instance),how can i do that
when we install vaadin in liferay all files in this portlet are class file,how it will connect to database at runtime
any help is welcome
thanks