aspose file tools
The moose likes Other Application Frameworks and the fly likes Using both  applicationContext-hibernate.xml and applicationContext.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Reply Bookmark "Using both  applicationContext-hibernate.xml and applicationContext.xml" Watch "Using both  applicationContext-hibernate.xml and applicationContext.xml" New topic
Author

Using both applicationContext-hibernate.xml and applicationContext.xml

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi ,

Just started to learn this Great Spring Framework . Currently working with ORM Module with Spring and Hibernate in Combination





As far as i know applicationContext-hibernate.xml contans enteries for DAO's , DataSources , SessionFactory ---etc .

My query is What does applicationContext.xml should contain when using in combination .

Thanks in advance


Save India From Corruption - Anna Hazare.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17243
    
    1

Well, most likely those would be your Service classes.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Thanks Mark. That was helpful.


 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Using both applicationContext-hibernate.xml and applicationContext.xml
 
Similar Threads
To the Author!
Spring in Web Application - How can I get the application context from a Java class
DispatcherServlet vs ContextLoaderListener?
Spring - ClassPathXmlApplicationContext not able to load the XML file
How to access application-context beans in dispatcher-servlet.xml