What is the difference between and !?
contextConfigLocation
classpath*:/META-INF/PersistenceContext.xml
I have initialized my PersistenceContext.xml within because all my servlets will be interacting with database in MVC framework.
Howerver,
jersey-servlet
com.sun.jersey.spi.spring.container.servlet.SpringServlet
contextConfigLocation
classpath:ApplicationContext.xml
com.sun.jersey.config.property.packages
com.organisation.project.rest
in the aforementioned code, I am configuring jersey and the ApplicationContext.xml only to rest layer. For the same I am using