【转】Apache CXF入门实例以及对传递List类型的疑惑

【转】Apache CXF入门范例以及对传递List<Map>类型的疑惑

转自:http://icecrystal.iteye.com/blog/532743

 

在选择WebService框架的过程中,偶最终选择了Apache CXF,純粹伿諟銦爲听说它与Spring的无缝整合

想当初用Axis的时候,因为没有太好的办法让Spring能够集成Axis,只好平白无故地多出一个WebService代理类,让偶的感觉很是不爽

 

偶要在此记载一下CXF的一些入门知识

首珗,倌網哋址諟http://cxf.apache.org/,里面可以找到User's Guide和download地址,偶的版本是目前最新的

apache-cxf-2.2.5

 

先来做一个最简单的入门级别例子吧,也就是经典的HelloWord

Server端代码

   WebService接口HelloService.java

Java代码 【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑 【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
  1. package cfx.server;   
  2.   
  3. import javax.jws.WebMethod;   
  4. import javax.jws.WebParam;   
  5. import javax.jws.WebService;   
  6.   
  7. @WebService  
  8. public interface HelloService {   
  9.     @WebMethod  
  10.     String sayHi(@WebParam String name);   
  11. }  
package cfx.server;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;

@WebService
public interface HelloService {
	@WebMethod
	String sayHi(@WebParam String name);
}

 实现类HelloServiceImpl.java

Java代码 【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑 【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
  1. public class HelloServiceImpl implements HelloService {   
  2.     public String sayHi(String name) {   
  3.         System.out.println("HelloServiceImpl.sayHi called");   
  4.         return "Hello"+name;   
  5. }  
public class HelloServiceImpl implements HelloService {
	public String sayHi(String name) {
		System.out.println("HelloServiceImpl.sayHi called");
		return "Hello"+name;
}

  WebService配置文件:cxf-servlet.xml(可放置于WEB-INF目录下)

Xml代码 【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑 【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
  1. <?xml version="1.0" encoding="UTF-8"?>  
  2. <beans xmlns="http://www.springframework.org/schema/beans"  
  3.       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
  4.       xmlns:jaxws="http://cxf.apache.org/jaxws"  
  5.       xmlns:soap="http://cxf.apache.org/bindings/soap"  
  6.       xsi:schemaLocation="   
  7. http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd   
  8. http://cxf.apache.org/bindings/soap http://cxf.apache.org/schemas/configuration/soap.xsd   
  9. http://cxf.apache.org/jaxws   
  10. http://cxf.apache.org/schemas/jaxws.xsd">  
  11.   <jaxws:server id="jaxwsService" serviceClass="cfx.server.HelloService" address="/hello">  
  12.     <jaxws:serviceBean>  
  13.         <bean class="cfx.server.HelloServiceImpl" />  
  14.     </jaxws:serviceBean>  
  15.   </jaxws:server>  
  16. </beans>  
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:jaxws="http://cxf.apache.org/jaxws"
      xmlns:soap="http://cxf.apache.org/bindings/soap"
      xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://cxf.apache.org/bindings/soap http://cxf.apache.org/schemas/configuration/soap.xsd
http://cxf.apache.org/jaxws
http://cxf.apache.org/schemas/jaxws.xsd">
  <jaxws:server id="jaxwsService" serviceClass="cfx.server.HelloService" address="/hello">
  	<jaxws:serviceBean>
  		<bean class="cfx.server.HelloServiceImpl" />
  	</jaxws:serviceBean>
  </jaxws:server>
</beans>

 web.xml代码,用于添加CXFServlet这个处理webservice请求的控制器类

Xml代码 【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑 【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
  1. <?xml version="1.0" encoding="UTF-8"?>  
  2. <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
  3.   xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee    
  4.     http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">  
  5.      
  6.   <servlet>  
  7.     <description>Apache CXF Endpoint</description>  
  8.     <display-name>cxf</display-name>  
  9.     <servlet-name>cxf</servlet-name>  
  10.     <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>  
  11.     <load-on-startup>1</load-on-startup>  
  12.   </servlet>  
  13.   <servlet-mapping>  
  14.     <servlet-name>cxf</servlet-name>  
  15.     <url-pattern>/services/*</url-pattern>  
  16.   </servlet-mapping>  
  17.   <session-config>  
  18.     <session-timeout>60</session-timeout>  
  19.   </session-config>  
  20. </web-app>  
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
	http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
  
  <servlet>
    <description>Apache CXF Endpoint</description>
    <display-name>cxf</display-name>
    <servlet-name>cxf</servlet-name>
    <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
  </servlet>
  <servlet-mapping>
    <servlet-name>cxf</servlet-name>
    <url-pattern>/services/*</url-pattern>
  </servlet-mapping>
  <session-config>
    <session-timeout>60</session-timeout>
  </session-config>
</web-app>

Client端测试代码

Java代码 【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑 【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
  1. public class CXF {   
  2.     public static void main(String[] args) {   
  3.         JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();   
  4.         factory.getInInterceptors().add(new LoggingInInterceptor());   
  5.         factory.getOutInterceptors().add(new LoggingOutInterceptor());   
  6.         factory.setServiceClass(HelloService.class);   
  7.         factory.setAddress("http://localhost:8080/cxf/services/hello");   
  8.         HelloService client = (HelloService) factory.create();   
  9.         String reply = client.sayHi("特蕾莎");   
  10.         System.out.println("Server said: " + reply);   
  11. }  
public class CXF {
	public static void main(String[] args) {
		JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
		factory.getInInterceptors().add(new LoggingInInterceptor());
		factory.getOutInterceptors().add(new LoggingOutInterceptor());
		factory.setServiceClass(HelloService.class);
		factory.setAddress("http://localhost:8080/cxf/services/hello");
		HelloService client = (HelloService) factory.create();
		String reply = client.sayHi("特蕾莎");
		System.out.println("Server said: " + reply);
}

*****************************************************************************

 怎么样,是不是很简单啊!现在再来一个和Spring整合的例子

注意,Server端和Client端都要通过Spring-bean的方式整合

Server端现在有四个文件,假设是

HelloService.java

HelloServiceImpl.java

HelloDao.java

HelloDaoImpl.java

在HelloServiceImpl中存在一个HelloDao的属性,代码省略如下

Java代码 【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑 【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
  1. public class HelloServiceImpl implements HelloService {   
  2.     private HelloDao dao;   
  3.     public String sayHi(String name) {   
  4.         System.out.println("HelloServiceImpl.sayHi called");   
  5.         return dao.getString(name);   
  6.     }   
  7. }  
public class HelloServiceImpl implements HelloService {
	private HelloDao dao;
	public String sayHi(String name) {
		System.out.println("HelloServiceImpl.sayHi called");
		return dao.getString(name);
	}
}

 HelloDaoImpl用于处理持久化,代码省略咯

需要修改的是配置文件,此时可以这样改

首先在web.xml里加入Spring监听器

Xml代码 【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑 【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
  1. <?xml version="1.0" encoding="UTF-8"?>  
  2. <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
  3.   xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee    
  4.     http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">  
  5.   <listener>  
  6.     <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>  
  7.   </listener>  
  8.   <context-param>  
  9.     <param-name>contextConfigLocation</param-name>  
  10.     <param-value>classpath:applicationContext*.xml</param-value>  
  11.   </context-param>  
  12.   <servlet>  
  13.     <description>Apache CXF Endpoint</description>  
  14.     <display-name>cxf</display-name>  
  15.     <servlet-name>cxf</servlet-name>  
  16.     <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>  
  17.     <load-on-startup>1</load-on-startup>  
  18.   </servlet>  
  19.   <servlet-mapping>  
  20.     <servlet-name>cxf</servlet-name>  
  21.     <url-pattern>/services/*</url-pattern>  
  22.   </servlet-mapping>  
  23.   <session-config>  
  24.     <session-timeout>60</session-timeout>  
  25.   </session-config>  
  26. </web-app>  
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
	http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
  <listener>
    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
  </listener>
  <context-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>classpath:applicationContext*.xml</param-value>
  </context-param>
  <servlet>
    <description>Apache CXF Endpoint</description>
    <display-name>cxf</display-name>
    <servlet-name>cxf</servlet-name>
    <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
  </servlet>
  <servlet-mapping>
    <servlet-name>cxf</servlet-name>
    <url-pattern>/services/*</url-pattern>
  </servlet-mapping>
  <session-config>
    <session-timeout>60</session-timeout>
  </session-config>
</web-app>

 橪銗WEB-INF/cxf-servlet這個忟件可以省略咯

把一个标准的spring-bean文件放在src下(即classes目录下),要让人一看就知道spring大哥进来咯

applicationContext.xml

Xml代码 【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑 【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
  1. <?xml version="1.0" encoding="UTF-8"?>  
  2. <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
  3.   xmlns:jaxws="http://cxf.apache.org/jaxws"  
  4.   xsi:schemaLocation="   
  5. http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd   
  6. http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">  
  7.   
  8.   <import resource="classpath:META-INF/cxf/cxf.xml" />  
  9.   <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />  
  10.   <import resource="classpath:META-INF/cxf/cxf-servlet.xml" />  
  11.   <bean id="helloDao" class="cfx.server.HelloDaoImpl" />  
  12.   <jaxws:server id="jaxwsService" serviceClass="cfx.server.HelloService" address="/hello">  
  13.     <jaxws:serviceBean>  
  14.       <bean id="helloService" class="cfx.server.HelloServiceImpl">  
  15.         <property name="dao" ref="helloDao" />  
  16.       </bean>  
  17.     </jaxws:serviceBean>  
  18.   </jaxws:server>  
  19. </beans>  
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:jaxws="http://cxf.apache.org/jaxws"
  xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">

  <import resource="classpath:META-INF/cxf/cxf.xml" />
  <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
  <import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
  <bean id="helloDao" class="cfx.server.HelloDaoImpl" />
  <jaxws:server id="jaxwsService" serviceClass="cfx.server.HelloService" address="/hello">
    <jaxws:serviceBean>
      <bean id="helloService" class="cfx.server.HelloServiceImpl">
        <property name="dao" ref="helloDao" />
      </bean>
    </jaxws:serviceBean>
  </jaxws:server>
</beans>

 

這樣啟動服務器的时候,spring就自动进行bean的注入以及WebService服务的发布了

接下来是客户端代码

銦爲諟普通Java,所以就简单配一下愙戸端的spring文件了

Xml代码 【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑 【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
  1. <?xml version="1.0" encoding="UTF-8"?>  
  2.   
  3. <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
  4.   xmlns:jaxws="http://cxf.apache.org/jaxws"  
  5.   xsi:schemaLocation="   
  6. http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd   
  7. http://cxf.apache.org/jaxws http://cxf.apache.org/schema/jaxws.xsd">  
  8.   
  9.   <bean id="HelloService" class="cfx.server.HelloService" factory-bean="clientFactory" factory-method="create" />  
  10.   <bean id="clientFactory" class="org.apache.cxf.jaxws.JaxWsProxyFactoryBean">  
  11.     <property name="serviceClass" value="cfx.server.HelloService" />  
  12.     <property name="address" value="http://localhost:8080/cxf/services/hello" />  
  13.   </bean>  
  14.   
  15. </beans>  
<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:jaxws="http://cxf.apache.org/jaxws"
  xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://cxf.apache.org/jaxws http://cxf.apache.org/schema/jaxws.xsd">

  <bean id="HelloService" class="cfx.server.HelloService" factory-bean="clientFactory" factory-method="create" />
  <bean id="clientFactory" class="org.apache.cxf.jaxws.JaxWsProxyFactoryBean">
    <property name="serviceClass" value="cfx.server.HelloService" />
    <property name="address" value="http://localhost:8080/cxf/services/hello" />
  </bean>

</beans>

 CXFClientTest.java

Java代码 【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑 【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
  1. public static void main(String[] args) {   
  2.     ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(new String[] { "cfx/client/client-beans.xml" });   
  3.     HelloService client = (HelloService) context.getBean("HelloService");   
  4.     testString(client);   
  5. }   
  6. static void testString(HelloService client) {   
  7.     String reply = client.sayHi("特蕾莎");   
  8.     System.out.println("Server said: " + reply);   
  9. }  
public static void main(String[] args) {
	ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(new String[] { "cfx/client/client-beans.xml" });
	HelloService client = (HelloService) context.getBean("HelloService");
	testString(client);
}
static void testString(HelloService client) {
	String reply = client.sayHi("特蕾莎");
	System.out.println("Server said: " + reply);
}

 *************************************************************************

 

然后是复杂数据类型的问题,经过测试,发觉基本数据类型和List都是没有问题的,我的测试方法包括

Java代码 【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑 【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
  1. @WebMethod  
  2. String sayHi(@WebParam String name);   
  3.   
  4. @WebMethod  
  5. List<Integer> getList(@WebParam List<String> strs);   
  6.        
  7. @WebMethod  
  8. List<User> getJavaBean();  
@WebMethod
String sayHi(@WebParam String name);

@WebMethod
List<Integer> getList(@WebParam List<String> strs);
	
@WebMethod
List<User> getJavaBean();

 

但是传递Map时,就出现问题了,所以参照了user's guide,得到如下解决办法

测试某个方法的参数和返回值都是Map类型

Java代码 【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑 【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
  1. @WebMethod  
  2. @XmlJavaTypeAdapter(MapAdapter.class)   
  3. Map<String, String> getMap(@WebParam @XmlJavaTypeAdapter(MapAdapter.class) Map<String, String> map);  
@WebMethod
@XmlJavaTypeAdapter(MapAdapter.class)
Map<String, String> getMap(@WebParam @XmlJavaTypeAdapter(MapAdapter.class) Map<String, String> map);

 

 

MapAdapter是我自己写的用於數據類型轉換的适配器类,代码如下

Java代码 【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑 【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
  1. public class MapAdapter extends XmlAdapter<MapConvertor, Map<String, Object>> {   
  2.   
  3.     @Override  
  4.     public MapConvertor marshal(Map<String, Object> map) throws Exception {   
  5.         MapConvertor convertor = new MapConvertor();   
  6.         for(Map.Entry<String, Object> entry:map.entrySet()){   
  7.             MapConvertor.MapEntry e = new MapConvertor.MapEntry(entry);   
  8.             convertor.addEntry(e);   
  9.         }   
  10.         return convertor;   
  11.     }   
  12.   
  13.     @Override  
  14.     public Map<String, Object> unmarshal(MapConvertor map) throws Exception {   
  15.         Map<String, Object> result = new HashMap<String,Object>();   
  16.         for(MapConvertor.MapEntry e :map.getEntries()){   
  17.             result.put(e.getKey(), e.getValue());   
  18.         }   
  19.         return result;   
  20.     }   
  21.   
  22. }  
public class MapAdapter extends XmlAdapter<MapConvertor, Map<String, Object>> {

	@Override
	public MapConvertor marshal(Map<String, Object> map) throws Exception {
		MapConvertor convertor = new MapConvertor();
		for(Map.Entry<String, Object> entry:map.entrySet()){
			MapConvertor.MapEntry e = new MapConvertor.MapEntry(entry);
			convertor.addEntry(e);
		}
		return convertor;
	}

	@Override
	public Map<String, Object> unmarshal(MapConvertor map) throws Exception {
		Map<String, Object> result = new HashMap<String,Object>();
		for(MapConvertor.MapEntry e :map.getEntries()){
			result.put(e.getKey(), e.getValue());
		}
		return result;
	}

}

 MapConvertor.java Map格式转换类

Java代码 【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑 【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
  1. @XmlType(name = "MapConvertor")   
  2. @XmlAccessorType(XmlAccessType.FIELD)   
  3. public class MapConvertor {   
  4.        
  5.     private List<MapEntry> entries = new ArrayList<MapEntry>();   
  6.        
  7.     public void addEntry(MapEntry entry){   
  8.         entries.add(entry);   
  9.     }   
  10.        
  11.     public static class MapEntry{   
  12.         public MapEntry() {   
  13.             super();   
  14.         }   
  15.         public MapEntry(Map.Entry<String,Object> entry) {   
  16.             super();   
  17.             this.key = entry.getKey();   
  18.             this.value = entry.getValue();   
  19.         }   
  20.         public MapEntry(String key,Object value) {   
  21.             super();   
  22.             this.key = key;   
  23.             this.value = value;   
  24.         }   
  25.         private String key;   
  26.         private Object value;   
  27.         public String getKey() {   
  28.             return key;    </
    1 楼 pangchaofu 2011-09-02  
    不错,学习了。
    2 楼 woyuanliulian 2012-04-17  
    list<Map>  到底应该怎么传才能成功?

文章评论

【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
聊聊HTTPS和SSL/TLS协议
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
当下全球最炙手可热的八位少年创业者
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
老美怎么看待阿里赴美上市
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
亲爱的项目经理,我恨你
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
旅行,写作,编程
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
老程序员的下场
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
编程语言是女人
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
程序员的鄙视链
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
科技史上最臭名昭著的13大罪犯
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
漫画:程序员的工作
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
那些争议最大的编程观点
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
10个调试和排错的小建议
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
为啥Android手机总会越用越慢?
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
程序员最害怕的5件事 你中招了吗?
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
如何成为一名黑客
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
Java 与 .NET 的平台发展之争
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
5款最佳正则表达式编辑调试器
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
程序员眼里IE浏览器是什么样的
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
60个开发者不容错过的免费资源库
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
如何区分一个程序员是“老手“还是“新手“?
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
程序员必看的十大电影
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
代码女神横空出世
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
“肮脏的”IT工作排行榜
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
程序员应该关注的一些事儿
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
“懒”出效率是程序员的美德
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
程序员都该阅读的书
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
为什么程序员都是夜猫子
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
程序员和编码员之间的区别
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
不懂技术不要对懂技术的人说这很容易实现
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
程序员的一天:一寸光阴一寸金
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
Web开发者需具备的8个好习惯
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
中美印日四国程序员比较
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
初级 vs 高级开发者 哪个性价比更高?
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
Java程序员必看电影
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
鲜为人知的编程真相
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
我的丈夫是个程序员
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
写给自己也写给你 自己到底该何去何从
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
总结2014中国互联网十大段子
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
我跳槽是因为他们的显示器更大
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
看13位CEO、创始人和高管如何提高工作效率
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
十大编程算法助程序员走上高手之路
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
要嫁就嫁程序猿—钱多话少死的早
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
做程序猿的老婆应该注意的一些事情
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
我是如何打败拖延症的
【转】Apache CXF入门实例以及对传递List<Map>类型的疑惑
什么才是优秀的用户界面设计