2. Under the project path construction jetty - db - env. XML, jetty is the default configuration file, in the server to add the following content
3. In the spring framework, create applicationContext - service. The XML document, the following configuration:
<? The XML version="1.0" encoding="utf-8"?>
Xsi: schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.1.xsd "& gt;