Spring + jdbc + extjs configuration
All source code can be accessed to my GitHub
After a few days of Free Rice, the front and backend finally ran through and provided a set of available configuration files. (Due to the integration with extjs, spring security Login needs to rewrite the original handler, which will be added later)
The first is pom, mainly including junit, spring (mvc + security), log4j, and jdbc (mysql) dependencies.
4.0.0
Com. paris
Fast-contacts
War
0.0.1-SNAPSHOT
Fast-contacts Maven Webapp
Http://maven.apache.org
1.2
4.11
4.0.0.RELEASE
3.0.1
2.2
2.2
1.5.6
3.2.4.RELEASE
1.12.6
1.2.16
20090211
1.4
1.6
5.1.6
Junit
Junit
$ {Junit. version}
Test
Javax. servlet
Jstl
$ {Jstl. version}
Javax. servlet
Javax. servlet-api
$ {Servlet. version}
Provided
Javax. servlet. jsp
Jsp-api
$ {Jsp. version}
Provided
Org. springframework
Spring-context
$ {Spring. version}
Org. springframework
Spring-context-support
$ {Spring. version}
Org. springframework
Spring-jdbc
$ {Spring. version}
Org. springframework
Spring-orm
$ {Spring. version}
Org. springframework
Spring-tx
$ {Spring. version}
Org. springframework
Spring-webmvc
$ {Spring. version}
Org. springframework
Spring-web
$ {Spring. version}
Org. springframework. security
Spring-security-web
$ {Spring. security. version}
Org. springframework. security
Spring-security-config
$ {Spring. security. version}
Commons-dbcp
Commons-dbcp
$ {Common. dbcp. verison}
Commons-pool
Commons-pool
$ {Commmons. pool. version}
Org. springframework
Spring-test
$ {Spring. version}
Org. projectlombok
Lombok
$ {Lombok. version}
Provided
Log4j
Log4j
$ {Log4j. version}
Org. json
Json
$ {Org. json. version}
Mysql
Mysql-connector-java
$ {Mysql. connector. verison}
Fast-contacts
Org. apache. tomcat. maven
Tomcat7-maven-plugin
$ {Tomcat. plugin. version}
8080
/
UTF-8
Http: // localhost: 8080/manager/html
Tomcat7
Org. apache. maven. plugins
Maven-compiler-plugin
2.3.2
1.7
1.7
True
Web. xml mainly includes spring and spring security. I use html. If I like jsp, I can remove html filterMapping.
Fast contacts
contextConfigLocation
classpath:spring-security.xml classpath:spring-servlet.xml
webAppRootKey
servletapi.root
springSecurityFilterChain
org.springframework.web.filter.DelegatingFilterProxy
springSecurityFilterChain
/*
org.springframework.web.context.ContextLoaderListener
spring
org.springframework.web.servlet.DispatcherServlet
contextConfigLocation
classpath:spring-servlet.xml
1
spring
/
jsp
*.html
The spring-security.xml is incomplete, but available.
Spring-servlet.xml db connection is mysql driver + jdbc
PROPAGATION_REQUIRED
PROPAGATION_REQUIRED, readOnly
PROPAGATION_REQUIRED, readOnly
PROPAGATION_REQUIRED, readOnly
* Service
TransactionInterceptor