如下將原有的架構中,加入jersey和mybatis,而後與spring進行整合java
Jersey:spring
javax.ws.rs-api-2.0.1.jarjson
jackson-annotations-2.3.2.jarapi
jackson-core-2.3.2.jarmybatis
jackson-databind-2.3.2.jar架構
jackson-jaxrs-base-2.3.2.jaride
jackson-jaxrs-json-provider-2.3.2.jario
jackson-module-jaxb-annotations-2.3.2.jarmodule
bean-validator-2.4.0-b10.jarim
(如下是hk2須要)
hk2-2.4.0-b10.jar
hk2-api-2.4.0-b10.jar
hk2-config-2.4.0-b10.jar
hk2-locator-2.4.0-b10.jar
hk2-runlevel-2.4.0-b10.jar
hk2-utils-2.4.0-b10.jar
spring-bridge-2.4.0-b10.jar (hk2 - spring)
(如下是spring註解須要)
javax.inject-1.jar
javax.inject-2.4.0-b10.jar
javax.annotation-api-1.2.jar
mybatis:
mybatis-3.3.0.jar
mybatis-spring-1.2.2.jar (mybatis - spring)