Basic config is created with hibernate sessionfactory and jsf bootstrap.