sample work done for jsf, spring and hibernate