Originally Posted by
gregamb
Hi,
first I'd like to apologize, but I'm quite new to Spring, specially configuring projects from the beginning, so maybe this will be really trivial question.
I'd like to separate my data layer as a separate maven project and use it as a dependency in other web projects. I'd like to know how do I have to setup application context.xml, to load my Spring configuration, so that I'll be able to use this JAR just as a dependency in another project(s).
I know application context has to reside within classpath, so my resist in resources/META-INF together with persistance.xml file.
I'd be gratefull if somebody could let me know what are the next steps or point me to some good sample.
Another question is, what is the easiest way to unit test this application?
Thanks in advance.
Gregor