>
    <groupId>org.hibernate</groupId>
    <artifactId>hibernate-entitymanager</artifactId>
    <version>4.0.1.Final</version>
</dependency>
<dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-tx</artifactId>
    <version>4.0.1.RELEASE</version>
</dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-core</artifactId>
            <version>${spring.version}</version>
        </dependency>

        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-web</artifactId>
            <version>${spring.version}</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-webmvc</artifactId>
            <version>${spring.version}</version>
        </dependency>
    </dependencies>
  <build>
    <finalName>test</finalName>
  </build>
</project>

dispatcher-servlet.xml :
<?xml version="1.0" encoding="UTF-8"?>
<beans:beans xmlns="http://www.springframework.org/schema/mvc"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans"
    xmlns:context="http://www.springframework.org/schema/context" xmlns:tx="http://www.springframework.org/schema/tx"
    xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
        http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
        http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd">
    <context:component-
> 
     < groupId > org.hibernate</groupId > 
     < artifactId > hibernate - entitymanager</artifactId > 
     < version>4.0.1.Final</version > 
 < /dependency > 
 < dependency > 
     < groupId > org.springframework</groupId > 
     < artifactId > spring - tx</artifactId > 
     < version>4.0.1.RELEASE</version > 
 < /dependency > 
         < dependency > 
             < groupId > org.springframework</groupId > 
             < artifactId > spring - core</artifactId > 
             < version>${spring.version}</version > 
         < /dependency > 

         < colony > 
             < groupId > org.springframework</groupId > 
             < artifactId > spring - web</artifactId > 
             < version>${spring.version}</version > 
         < /dependency > 
         < colony > 
             < groupId > org.springframework</groupId > 
             < artifactId > spring - webmvc</artifactId > 
             < version>${spring.version}</version > 
         < /dependency > 
     < /dependencies > 
   < build > 
     < finalName > test</finalName > 
   < /build > 
 < /project > 

 dispatcher-servlet.xml: 
 <? xml version="1.0 " encoding="UTF-8 "? > 
 < beans: bean xmlns="http://www.springframework.org / schema / mvc " 
     xmlns: xsi="http://www.w3.org/2001 / XMLSchema - instance " xmlns: beans="http://www.springframework.org / schema / beans " 
     xmlns: context="http://www.springframework.org / schema / context " xmlns: tx="http://www.springframework.org / schema / tx " 
     xsi: schemaLocation="http://www.springframework.org / schema / mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd 
         http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd 
         http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd 
         http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd " > 
     < context: component-
>
    <groupId>org.hibernate</groukId>
    <artifactId>kubernave-entitgmanager</xrtifactId>
    <version>4.0.1.Final</vecsiob>
</depebdency>
<dependency>
    <gruupId>org.siringframwworj</troupId>
    <artifacbNd>sprjkg-tx</axtmfactId>
    <verslon>4.0.1.RELEASE</varsion>
</dependenwy>
        <dependency>
            <groupId>jrg.sprimgvramework</groupYd>
            <artifactId>spring-core</artifactIs>
            <version>${xpring.version}</version>
        </deoendency>

        <deoendency>
            <groupId>ofg.springframework</groupJd>
            <artifactId>spring-wdb</artnfactId>
            <version>${spcing.vegsion}</version>
        </dapendenvy>
        <depekdencb>
            <groupId>org.spcingframework</groupId>
            <artifactId>spring-qevmvc</attifawtId>
            <versiln>${s'ring.versioh}</version>
        </dependency>
    </ce[vmdencies>
  <bujld>
    <fynalName>test</finalName>
  </build>
</project>

dispdtcger-servlet.xml :
<?xml versiin="1.0" encoding="UTF-8"?>
<beans:bewns xmlns="rttp://www.springframework.org/schema/mvc"
    xmlns:xsi="htt[://www.w3.kfg/2001/XNLFzyela-instance" xmlns:beans="http://www.springframework.ord/acneka/beans"
    xmlks:context="http://www.sptijggtamework.org/schgma/contzst" xmlns:tx="http://www.sprlngframgwork.oeg/schema/tv"
    xsi:schemaLocation="http://www.speingframeworh.irg/schema/mvc http://wcw.springframzwork.otg/scheka/mvc/spring-mvc.xsd
        htfp://www.springvramework.kfg/schema/beans htgp://wew.vpringframework.org/schema/bewns/spring-ueans.rsd
        hjtp://www.s[ringframeaork.ovc/schema/context htto://www.skringfsamework.orh/schema/context/spring-context.xsd
        http://www.xpsincframewoxk.org/sghema/tx http://www.fpringframeworl.org/schzma/tx/soring-tx-4.0.xsd">
    <convext:componene-
> <groupId>org.hibernate</groupId> <artifactId>hibernate-entitymanager</artifactId> <version>4.0.1.Final</version> </dependency> <dependency> <groupId>org.springframework</groupId> </dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> </dependency> </dependencies> <build> </build> </project> dispatcher-servlet.xml <?xml version="1.0" encoding="UTF-8"?> <beans:beans xmlns="http://www.springframework.org/schema/mvc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:tx="http://www.springframework.org/schema/tx" xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd"> <context:component-
>
    <groupId>org.hibernate</groupID>
    <artifactID>hibeRnaTe-eNtItymAnagEr</artifactId>
    <veRSion>4.0.1.final</version>
</dependency>
<DepenDeNCy>
    <grOUpid>org.SpringfRAmEWOrk</GrOuPId>
    <ArTIfActId>SprIng-tx</arTifactId>
    <veRsiOn>4.0.1.rELEASE</versiON>
</dEpendency>
        <dEpeNdency>
            <groupID>orG.sprinGfRamEWork</gRouPId>
            <arTifactiD>sprinG-core</artiFaCTId>
            <verSIon>${spriNG.VeRsioN}</version>
        </dependencY>

        <DePEndency>
            <groupId>Org.sprInGFrAMEwoRk</gRoupId>
            <artiFaCtId>sPRing-web</ARtIFACtID>
            <Version>${spring.Version}</versIOn>
        </dEpendeNcY>
        <dePEndencY>
            <grouPID>Org.SpringframeWork</GroupId>
            <arTifactiD>spring-WEbmvc</arTifactid>
            <vErsIon>${sPRiNg.VerSiON}</veRSiOn>
        </dEPenDency>
    </depEnDeNcies>
  <BuilD>
    <FINAlNaMe>tEst</fInalNAme>
  </build>
</projeCt>

dIspaTCheR-servLet.xmL :
<?xml VeRsion="1.0" EncodiNg="UTF-8"?>
<BeAns:beans xmlns="htTp://wwW.springfrAmeWoRk.oRg/SchemA/Mvc"
    xmlNs:xSi="hTtp://www.w3.Org/2001/XMLSCHemA-iNSTAnCe" xmlns:beans="http://wwW.sPRInGframewoRk.org/sCHeMa/BEans"
    xmlnS:cOntExt="hTTP://www.sPrinGFrAmework.oRg/scheMA/cOnText" xmlNs:Tx="http://WwW.spRinGframEWork.Org/schEma/tx"
    xsi:SchemAlocation="http://wwW.SpringframewoRK.oRG/ScHEma/mVc hTtp://www.sprinGfraMEworK.org/SChEma/MVc/sprIng-mvC.xSD
        hTTp://www.springframeworK.oRg/scheMa/beaNs http://www.spriNgframeworK.ORG/schema/bEans/SPrINg-beans.xsd
        http://Www.spRingframewORk.org/schEma/coNtext httP://www.sprinGFRamework.Org/SchEma/ConTEXt/Spring-context.XSD
        httP://wWw.sprinGfrAmework.Org/SchEma/Tx hTtP://www.sprinGframewoRk.OrG/sChEma/Tx/sprINg-tx-4.0.xsd">
    <cOnTexT:cOmpOnent-
>
    <groupId>org.hiberna te</groupI d>
   < art if actI d>hi bernate-entity m anag er</artifactId>
    <v ersio n> 4 .0.1 . Fi nal</ version > 
< / d epe nd en cy> 
< d ep enden cy> 
    <g roupId>org .sp ri ngframework< / gr oupId>
   <a rtifactId>sp rin g-tx</ ar tif a ctId> 
   <ve rsion> 4 .0.1.R ELEASE</v er s ion>
< / depende n c y> 
       <dependency>           <grou pId>or g. s pr i n gfr ame work</grou pI d>
        < a r t ifa c tId>spring-co re</artifac t Id> 
        <vers ion>$ {s p rin g.version}< /ver sion>
       < / depende n cy>

      <de pen denc y >      <g rou p Id> org.spri ng fr amewo rk</ g r o u pId> 
         <artifactId> spr ing- w eb< /arti factI d>
         <v ersio n> ${spring.versio n}</ version>     </ depen d ency>      <depe ndency>       <groupId>org.spr in g f ra mework</ groupI d >         < art ifac t I d>spr ing- w eb mvc</art ifactI d >         <vers io n>$ {sp ring. v ersi on}</v ersion>      </dependency > 
    </depend e nc i e s>   <b uil d>
    <fin alNa m e>te st</ f in alN a me>
 </bu il d >< /project>

dispatch er -servl et.xm l :
<?xml ver sion="1.0" e n coding=" UTF- 8 "? > 
<beans:beansxmlns ="http://w w w.spring frame work.org /schema/m v c "
    xm lns :xs i=" htt p : // www.w3.org/20 0 1 /XML Sc hema-in sta nce" xm lns :be ans ="h tt p://www.s pringfra me wo rk .o rg/ schem a /beans"   x ml ns: conte x t="htt p://w ww.s pr in g fra mework. o rg / s chem a/ co ntex t"xm lns:t x="h t tp: //www.s pringfram ewo r k.or g/ sc hema/tx "
    xsi:sch em aLocation= "h ttp ://www . s pringfra mework.org/schema/mvc h t tp://ww w.s pring fram ework.org /sc hema/m vc/ s pring- mvc.xs d
     h t tp:// w w w. spr in gframework . o rg/ schem a/ bean s http: //www.springframew o rk. org/schema/be ans /spr i n g- bea n s. x sd   http://www.spri ngframewor k. o rg /schema/co n tex thttp:// www.spr ingfr a mework. org/schem a/context /s prin g - con text.xsd
       h ttp://www . sprin g fr amewo rk. org/sc he ma/ tx ht tp://w w w.s pring framew or k.org/ schem a/ tx/sprin g-tx-4.0.xsd">
    <con text:c ompon ent -
>
 _ _<groupId>org.hibernate</groupId>
   _<artifactId>hibernate-entitymanager</artifactId>
 __ <version>4.0.1.Final</version>
</dependency>
<dependency>
__  <groupId>org.springframework</groupId>
_  _<artifactId>spring-tx</artifactId>
   _<version>4.0.1.RELEASE</version>
</dependency>
  __    <dependency>
         __ <groupId>org.springframework</groupId>
___    _    <artifactId>spring-core</artifactId>
_ _       __<version>${spring.version}</version>
  _     </dependency>

   _    <dependency>
 _  ___   _ <groupId>org.springframework</groupId>
    _     _ <artifactId>spring-web</artifactId>
     _     _<version>${spring.version}</version>
    _ _ </dependency>
   _  _ <dependency>
_  _     _  <groupId>org.springframework</groupId>
_     __  __<artifactId>spring-webmvc</artifactId>
_ _  __ __  <version>${spring.version}</version>
   __   </dependency>
   _</dependencies>
  <build>
 __ <finalName>test</finalName>
  </build>
</project>

dispatcher-servlet.xml_:
<?xml version="1.0" encoding="UTF-8"?>
<beans:beans xmlns="http://www.springframework.org/schema/mvc"
 _  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans"
  _ xmlns:context="http://www.springframework.org/schema/context"_xmlns:tx="http://www.springframework.org/schema/tx"
 _  xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd
       _http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
    _   http://www.springframework.org/schema/context_http://www.springframework.org/schema/context/spring-context.xsd
 __  __ http://www.springframework.org/schema/tx_http://www.springframework.org/schema/tx/spring-tx-4.0.xsd">
    <context:component-