<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:util="http://www.springframework.org/schema/util"
       xmlns:p="http://www.springframework.org/schema/p"
       xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">

    <import resource="classpath:persistence-config.xml"/>

    <bean id="contactDao"
          class="org.jboss.resteasy.examples.contacts.persistence.hibernate.ContactDaoImpl"
          p:sessionFactory-ref="sessionFactory"/>


</beans>
