The purpose of this post is to discuss the default Spring application offered by OpenShift. On top of typical Spring files, a couple of jboss files are included:
- jboss-as-spring-mvc-context.xml - This is the equivalent of the servlet-context.xml file in a simple Spring Web MVC application without annotations.
- jboss-deployment-structure.xml - This file is about solving classloader issues, which is not typical of Spring applications. Thanks to Thomas' answer on StackOverflow, we know this file is not necessary in most cases.
- spring-quickstart-ds.xml - Registers IronJacamar, JBoss' JCA implementation. One could use Spring's implementation instead.
- infrastructure.xml - Registers the entity manager factory in JNDI, and enables the JTA transaction management.
No comments:
Post a Comment