Java 泽西岛与春天的融合

Java 泽西岛与春天的融合,java,spring,jersey,Java,Spring,Jersey,我想将Jersey 1.1与spring 2.5配合使用。我需要做的就是编写一个接口,该接口将作为服务和实现公开在一个扩展接口的类中 我无法在applicationContext.xml中执行此操作,可能是因为XSD已更改 有些人能否提供一个示例代码/代码片段/文件,在其中他们已经成功地实现了这一点 提前感谢,, Adhir Aima终于拿到了。。新模式支持基本bean定义,因此可以使用旧技术指定接口和实现类 <bean id="myService" class="org.springfr

我想将Jersey 1.1与spring 2.5配合使用。我需要做的就是编写一个接口,该接口将作为服务和实现公开在一个扩展接口的类中

我无法在applicationContext.xml中执行此操作,可能是因为XSD已更改

有些人能否提供一个示例代码/代码片段/文件,在其中他们已经成功地实现了这一点

提前感谢,,
Adhir Aima终于拿到了。。新模式支持基本bean定义,因此可以使用旧技术指定接口和实现类

<bean id="myService" class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="proxyInterfaces">
    <value>com.poc.service.MyServiceInterface</value>
</property>
<property name="target" ref="myServiceimpl" />

com.poc.service.MyServiceInterface