A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Frameworks
»
Other Application Frameworks
Author
Using both applicationContext-hibernate.xml and applicationContext.xml
Ravi Kiran Va
Ranch Hand
Joined: Apr 18, 2009
Posts: 2234
I like...
posted
May 17, 2009 04:25:04
0
Hi ,
Just started to learn this Great Spring Framework . Currently working with ORM Module with Spring and Hibernate in Combination
<context-param> <param-name>contextConfigLocation</param-name> <param-value> /WEB-INF/applicationContext.xml /WEB-INF/applicationContext-hibernate.xml </param-value> </context-param>
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
I like...
posted
May 17, 2009 09:17:17
0
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
I like...
posted
May 17, 2009 09:46:20
0
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter