File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
Setting Spring bean lazy load on multiple files issue
Joined: Apr 10, 2003
Nov 19, 2012 00:41:40
I have an issue to set the lazy load to true on multiple files. If I do like the followings<
A.xml <beans default-lazy-init="true"> <import resource="B.xml"/> <import resource="C.xml"/> </beans> B.xml <beans> <bean> ..... </bean> </beans> C.xml <beans> <bean> .... </bean> </beans>
Does it mean the beans defined in B.xml and C.xml are also lazy-init=true?
Joined: Mar 07, 2010
Nov 19, 2012 19:18:12
See if these links help clarify things:
I would discourage lazy initialization in most cases.
How To Ask Questions
Read before you PM me
I agree. Here's the link:
subject: Setting Spring bean lazy load on multiple files issue
org hibernate InvalidMappingException : Could not parse mapping document from invalid
Deployement problem in oc4j with hibernate + JPA and Spring
Spring config files inside jar
Spring MVC dirt-simple app won't work
Problem getting Bean reference which is in jar from JSP
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015