I am deciding on a naming convention for my Spring application context files. I've come across this blog and a couple of tutorials suggesting applicationContext-<name>.xml
is the way to go. I'm generally not a find of mixing camel case with dashes/underscores. What are some other naming conventions have you seen?
Edit: I'm also thinking of nesting context files inside the package that pertains to them. For example, my classes/interfaces that relates to ordering would go in context file com/mycompany/order/spring-context.xml
. I would have a top-level applicationContext.xml
that pulls everything together. Suggestions?