[Geoserver-devel] How to link spatial and non spatial table in geoserver

I have a vector data published in GeoServer. I have other two non-spatial
table which can be linked to the vector by a common field name. Now I would
like to know how this can be done using GeoServer?I had read something
regarding views in GeoServer.Will the views help in linking this?