todds
Nov 24th, 2004, 10:30 PM
I have a remoting-context.xml file that references a bean defined in my applicationContext.xml file.
When I run in tomcat, the remoting file is loading first, and throwing an error because it can't find the bean defined, (which of course will be loaded when applicationContext.xml loads).
This will be a cyclical pattern because my bean is a dao, which will then use the session etc etc.
Is there a way to guarantee loading order, or is there another rule I should be following?
When I run in tomcat, the remoting file is loading first, and throwing an error because it can't find the bean defined, (which of course will be loaded when applicationContext.xml loads).
This will be a cyclical pattern because my bean is a dao, which will then use the session etc etc.
Is there a way to guarantee loading order, or is there another rule I should be following?