I am working on a batch aplication implemented using Spring.
In this application I found the following structure:
BATCH PROJECT
|
|
|------> src/main/java (containing the packages)
|
|------> src/main/resources
|
|----------> META-INF
|
|--------> applicationContext.xml (Spring configuration file)
So, as you can see in the previous schema, into the src/main/resources I found the META-INF folder that contain the applicationContext.xml file that contains the Spring configuration (the beans definition).
This batch works fine but I have some doubt: can this place considered the correct place where to put the applicationContext.xml file ?
I always see the META-INF directory into web application (and not batch application as this) into the following folder that I don't have in this project (because it is not a web application):
webapp
|
|_src
|
|_WebContent
|
|__WEB-INF
|
|__META-INF
Is it correct or can I do better?