package com.czy.cxf.train;
import org.springframework.context.support.ClassPathXmlApplicationContext;
/**
* 类描述:
*
* @author: zhiyiChen-35267
*
* History: 2016年2月18日 下午2:14:40 zhiyiChen-35267 Created.
*
*/
public class HelloWorldClient {
private HelloWorldClient() {
}
public static void main(String[] args) {
ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(new String[] {"client-beans.xml"});
HelloWorld client = (HelloWorld)context.getBean("client");
String response = client.sayHello();
System.out.println("Response: " + response);
System.exit(0);
}
}
基于maven的cxf+spring简单demo
5星 · 超过95%的资源 需积分: 10 13 浏览量
2016-02-19
10:35:11
上传
评论
收藏 17KB ZIP 举报
晨智毅_Czy
- 粉丝: 10
- 资源: 28
- 1
- 2
前往页