Derzeit ich Maven Multi-Modul-Projekt mit Spring und Hibernate erstellen. Ich bin verwirrt, wo ich spring-dispature.xml
auf Bean-Konfiguration setzen muss. Derzeit gibt es [core-web][core-service(request mapping)][core-bal(bal layer)][core-dal(implementation layer)]
und [core-model(data access layer)]
.Spring Hibernate Konfiguration mit Maven Multi-Modul-Projekt
Ich habe applicationContextBalUserProfile.xml
in core-bal
Schicht gelegt.
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context" xmlns="http://www.springframework.org/schema/beans"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.xsd">
<!--Scan Merchandising Rest Services for Beans Defined In this Context -->
<context:component-scan base-package="com.hrcs.bal.userProfile.impl">
</context:component-scan>
<bean id="loginDal" class="com.hrcs.dal.userProfile.impl.LoginDalImpl" />
Nun, wo soll ich Ansicht Resolver setzen?