锘??xml version="1.0" encoding="utf-8" standalone="yes"?>好看的亚洲黄色经典,亚洲一区免费视频,国产亚洲精品自在久久http://m.tkk7.com/jnbzwm/category/46212.html鍦ㄥ涔犱腑鎴愰暱 鍦ㄦ葷粨涓繘姝?/description>zh-cnMon, 18 Oct 2010 15:34:11 GMTMon, 18 Oct 2010 15:34:11 GMT60Hessian鏋勫緩鍒嗗竷寮忕郴緇熷簲鐢╗緇璢http://m.tkk7.com/jnbzwm/archive/2010/10/17/335376.htmlRonaldoRonaldoSun, 17 Oct 2010 14:10:00 GMThttp://m.tkk7.com/jnbzwm/archive/2010/10/17/335376.htmlhttp://m.tkk7.com/jnbzwm/comments/335376.htmlhttp://m.tkk7.com/jnbzwm/archive/2010/10/17/335376.html#Feedback0http://m.tkk7.com/jnbzwm/comments/commentRss/335376.htmlhttp://m.tkk7.com/jnbzwm/services/trackbacks/335376.html鏈枃涓哄師鍒涳紝嬈㈣繋杞澆錛岃漿杞借娉ㄦ槑鍑哄BlogJava銆?br />
鍦ㄤ笂涓綃?Hessian鏋勫緩鍒嗗竷寮忕郴緇熷簲鐢?/a> 鐨勫熀紜涓婏紝鎴戜滑瀵圭▼搴忚繘琛屾敼榪涖?br /> 鐜板湪鏈変互涓嬫瘮杈冪獊鍑虹殑闂錛?br /> a.濡傛灉hessian鏈嶅姟绔垜瑕佸仛鐨勪笟鍔″緢澶氾紝鎬庝箞鍔烇紵
鎴戣瀹氫箟寰堝涓帴鍙o紝鐒跺悗鍐嶅啓瀹炵幇綾伙紝鏈鐑︾殑鏄繕瑕侀厤緗畠銆?br /> 鎴戠殑璁炬兂鏄紝hessian鏈嶅姟鍙彁渚涗竴涓綊鍙o紝鍐嶆瀵瑰鐨勬帴鍙e疄鐜頒腑鍙嶅皠璋冪敤鍏蜂綋鐨勪笟鍔$被銆?/p>

b.瀹㈡埛绔湪璋冪敤鏃訛紝姣忔璋冪敤榪滅▼鎺ュ彛閮借鐢ㄤ互涓嬩唬鐮佸悧錛?/p>

String url = "http://localhost:8080/HessianService/remote/service";
HessianProxyFactory factory 
= new HessianProxyFactory();
ServiceRemote rmt 
= (ServiceRemote) factory.create(ServiceRemote.class, url);


鏄劇劧鏄笉闇瑕佺殑銆?br /> 鎴戜滑鍙互閫氳繃鍔犲叆緙撳瓨鐨勬柟寮忓鍏惰繘琛屾敼鑹紝鎴戜滑涔熷彲浠ラ氳繃Spring鍦ㄥ鎴風綆$悊瀹冦?/p>

涓銆佸畬鍠刪essian鏈嶅姟绔疄鐜幫細
1.棣栧厛淇敼ServiceRemote鎺ュ彛錛?/p>

package com.al;

import java.util.Map;

@SuppressWarnings(
"unchecked")
public interface ServiceRemote  {
    
public Map callService(String target, Map inputMap) throws Exception;
}

callService涓虹粺涓鍏ュ彛錛屽湪姝ゅ仛濡備笅綰﹀畾錛?br /> 1)target瀛楃涓蹭負瑕佽皟鐢ㄧ殑service鐨勫畬鏁寸被璺緞+瑕佽皟鐢ㄧ殑鏂規(guī)硶銆?br /> 2)service鐨勬柟娉曞潎鐢ㄤ互涓嬫柟娉曠鍚嶏細
public Map ***(Map inputMap);
鍏ュ弬涓篗ap錛岃繑鍥炲間篃涓篗ap錛屽熀鏈彲浠ユ弧瓚蟲墍鏈夋儏鍐典簡銆傦紙鑷沖皯鍏ュ弬涓篗ap錛屽緢閫傚悎璋冪敤iBatis鏉ュDB榪涜鎿嶄綔銆傦級

2.淇敼鎺ュ彛瀹炵幇綾籗ervice錛屾綾諱笉鍋氬叿浣撲笟鍔★紝鑰屾槸鍙嶅皠璋冪敤鍏蜂綋涓氬姟綾伙細

package com.al;

import java.lang.reflect.Method;
import java.util.Map;

import org.apache.commons.beanutils.MethodUtils;
import org.apache.commons.lang.StringUtils;

@SuppressWarnings(
"unchecked")
public class Service implements ServiceRemote {

    
public Map callService(String target, Map inputMap) throws Exception {
        String className 
= StringUtils.substringBeforeLast(target, ".");
        String methodName 
= StringUtils.substringAfterLast(target, ".");
        Class serviceClass 
= loadClass(className);
        Method method 
= getMethod(serviceClass, methodName, Map.class);
        
// 鎻愪緵璁塊棶鏁堢巼
        method.setAccessible(true);
 
// 璋冪敤鍏蜂綋涓氬姟綾?/span>
        return (Map) method.invoke(serviceClass.newInstance(), inputMap);
    }

    
    
private static <T> Class<T> loadClass(String className) throws ClassNotFoundException {
            
return (Class<T>) getClassLoader().loadClass(className);
    }

    
    
private static ClassLoader getClassLoader() {
        
return Thread.currentThread().getContextClassLoader();
    }

    
    
private static Method getMethod(Class<?> cls, String name, Class<?> parameterTypes) {
        
return MethodUtils.getAccessibleMethod(cls, name, parameterTypes);
    }

}

 

3.涓句釜渚嬪瓙錛屾湇鍔$鎻愪緵涓氬姟綾籇isplayUserService.java

package com.al.service;

import java.util.HashMap;
import java.util.Map;

@SuppressWarnings(
"unchecked")
public class DisplayUserService {
    
public static final String selectUsers = "com.al.service.DisplayUserService.selectUsers";
    
public static final String deleteUser = "com.al.service.DisplayUserService.deleteUser";
    
    
public Map selectUsers(Map inputMap) {
        Map ret 
= new HashMap();
        
// 鏁版嵁搴撴搷浣滃彇寰楃敤鎴峰垪琛?nbsp;鐪佺暐
        ret.put("User""User");
        
return ret;
    }

    
    
public Map deleteUser(Map inputMap) {
        
// 鏁版嵁搴撴搷浣滃彇寰楃敤鎴峰垪琛?nbsp;鐪佺暐
        return null;
    }

}


鎵鏈夊叾浠栭厤緗笉鍙橈紝璇峰弬鑰冧笂涓綃?
Hessian鏋勫緩鍒嗗竷寮忕郴緇熷簲鐢?/a> 銆?/p>


浜屻佸鎴風浠g爜鐨勪慨鏀癸細
1.鍔犲叆spring榪涜綆$悊錛?br /> application.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
    
<bean id="serviceRemote" class="org.springframework.remoting.caucho.HessianProxyFactoryBean">
        
<property name="serviceUrl" value="http://localhost:8080/HessianService/remote/service" />
        
<property name="serviceInterface" value="com.al.ServiceRemote" />
    
</bean>
</beans>

 

2.瀹㈡埛绔涓嬭皟鐢ㄥ嵆鍙細

package com.ai.client;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.al.ServiceRemote;
import com.al.service.DisplayUserService;

public class ClientTest {
    
public static void main(String[] args) throws Exception {
        ClassPathXmlApplicationContext cxt 
= new ClassPathXmlApplicationContext("application.xml");
        ServiceRemote rmt 
= (ServiceRemote)cxt.getBean("serviceRemote");
        System.out.println(rmt.callService(DisplayUserService.selectUsers, 
null));
    }

}


鍙﹀涓縐嶆柟娉曟槸鑷繁瀹炵幇緙撳瓨銆?br /> 涔熷氨鏄涓嬈¤皟鐢ㄨ繙紼嬩唬鐮佹椂鐢熸垚ServiceRemote瀵硅薄錛屽皢鍏朵繚瀛樺湪闈欐佺殑瀹瑰櫒(HashMap)涓紝
姣忔鍑嗗璋冪敤姝よ繙紼嬩唬鐮佹椂錛屽厛鍒ゆ柇瀹瑰櫒涓槸鍚︽湁ServiceRemote瀵硅薄錛屾湁鍒欑洿鎺ュ皢鍏跺彇鍑哄茍浣跨敤鍗沖彲錛岃娉ㄦ剰鐨勫氨鏄湪榪欎釜瀹瑰櫒涓婄殑鍚屾闂銆?br /> 鍏蜂綋瀹炵幇灝變笉鍋氫簡錛屽緢綆鍗曘?/p>

鍦ㄩ」鐩腑錛屽浜庡鎴風浠g爜鏉ヨ錛岃繕鏄湁璁稿宸ヤ綔瑕佸仛鐨勶細
1) 濡傛灉鎴戜滑瑕佽皟鐢ㄥ涓繙紼嬫湇鍔℃庝箞鍔烇紵
鎴戜滑瑕佹彁渚涗竴涓粺涓璋冪敤錛屽皢榪滅▼璋冪敤鐨勫姩浣滃皝瑁呰搗鏉ワ紝璁╀嬌鐢ㄧ殑浜轟笉鐭ラ亾鑷繁璋冪敤浜嗕笉鍚岀殑榪滅▼鏈嶅姟銆?br /> 鍙璋冪敤鏌愪釜鏂規(guī)硶銆佷紶鍏ュ弬鏁板嵆鍙?/p>

2) 濡備綍鏂逛究寮鍙戝憳璋冭瘯榪滅▼鐨勬湇鍔′唬鐮侊紵
鍦ㄥ仛鍒嗗竷寮忕郴緇熷紑鍙戠殑鏃跺欙紝濡傛灉姣忎慨鏀逛竴涓嬪簲鐢ㄥ眰鐨剆ervice錛屽氨瑕佸鍏惰繘琛屽彂甯冿紝鐒跺悗鍐嶅幓璋冪敤鐪嬫槸鍚﹀凡OK錛岄偅鏁堢巼浼氬緢浣庛?/p>

3) 濡備綍綆$悊澶氭柟璋冪敤鐨勮繙紼嬫湇鍔★紵

4) 濡備綍鎻愰珮榪滅▼璋冪敤鐨勬晥鐜囷紵
鏄惁鍙互閫氳繃瀵?瀵硅薄榪涜緙撳瓨銆佹柟娉曟槸鍚︿篃鍙互緙撳瓨錛熺敋鑷蟲槸瀵硅皟鐢ㄧ粨鏋滆繘琛岀紦瀛橈紵

5) 絳夌瓑..
榪欎簺鍦ㄥ叿浣撶殑欏圭洰涓兘鏄笉寰椾笉鑰冭檻鐨勯棶棰樸備互鍚庡啀鎱㈡參璁ㄨ鍚с?/p>

Ronaldo 2010-10-17 22:10 鍙戣〃璇勮
]]>
Hessian鏋勫緩鍒嗗竷寮忕郴緇熷簲鐢?/title><link>http://m.tkk7.com/jnbzwm/archive/2010/10/17/335371.html</link><dc:creator>Ronaldo</dc:creator><author>Ronaldo</author><pubDate>Sun, 17 Oct 2010 13:11:00 GMT</pubDate><guid>http://m.tkk7.com/jnbzwm/archive/2010/10/17/335371.html</guid><wfw:comment>http://m.tkk7.com/jnbzwm/comments/335371.html</wfw:comment><comments>http://m.tkk7.com/jnbzwm/archive/2010/10/17/335371.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/jnbzwm/comments/commentRss/335371.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/jnbzwm/services/trackbacks/335371.html</trackback:ping><description><![CDATA[鏈枃涓哄師鍒涳紝嬈㈣繋杞澆錛岃漿杞借娉ㄦ槑鍑哄<a title="BlogJava" href="http://m.tkk7.com/jnbzwm/">BlogJava</a>銆?br /> <br /> <p>Hessian鏄竴涓交閲忕駭鐨剅emoting onhttp宸ュ叿錛屼嬌鐢ㄧ畝鍗曠殑鏂規(guī)硶鎻愪緵浜哛MI鐨勫姛鑳? 鐩告瘮WebService錛孒essian鏇寸畝鍗曘佸揩鎹楓?br /> 閲囩敤鐨勬槸浜岃繘鍒禦PC鍗忚錛屽洜涓洪噰鐢ㄧ殑鏄簩榪涘埗鍗忚錛屾墍浠ュ畠寰堥傚悎浜庡彂閫佷簩榪涘埗鏁版嵁銆?/p> <p>鏈枃灝嗗垎涓轟互涓嬪嚑涓唴瀹癸細<br /> 涓銆佷竴涓畝鍗曠殑Hessian璋冪敤渚嬪瓙<br /> 浜屻丼pring+Hessian鐨勪緥瀛?br /> 涓夈佷嬌鎴戜滑鐨勮皟鐢ㄥ彉寰楅氱敤</p> <p>絎竴閮ㄥ垎錛氫竴涓畝鍗曠殑Hessian璋冪敤渚嬪瓙<br /> 寤虹珛web宸ョ▼HessianService銆?br /> 榪欓噷涓轟簡綆鍗曡搗瑙侊紝鎴戝皢榪滅▼鎺ュ彛綾匯佹帴鍙e疄鐜扮被閮藉畾涔夊湪姝eb宸ョ▼涓嬨?/p> <p>涓漢瑙夊緱涓涓瘮杈冨ソ鐨勫仛娉曟槸灝唚eb宸ョ▼鍒嗗紑錛屾web宸ョ▼鍙畾涔夊澶栫殑鎺ュ彛騫舵彁渚涙湇鍔★紝鑰屽疄鐜扮被鏂板緩涓涓狫ava宸ョ▼瀛樻斁銆?br /> 榪欐牱web宸ョ▼渚濊禆姝ava宸ョ▼錛屼笖瀹㈡埛绔篃渚濊禆姝ava宸ョ▼銆?/p> <p>1) 榪滅▼鎺ュ彛綾?ServiceRemote.java</p> <p> </p> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><span style="color: #0000ff">package</span><span style="color: #000000"> com.al;<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> java.util.Map;<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />@SuppressWarnings(</span><span style="color: #000000">"</span><span style="color: #000000">unchecked</span><span style="color: #000000">"</span><span style="color: #000000">)<br /> <img id="Codehighlighter1_103_148_Open_Image" onclick="this.style.display='none'; Codehighlighter1_103_148_Open_Text.style.display='none'; Codehighlighter1_103_148_Closed_Image.style.display='inline'; Codehighlighter1_103_148_Closed_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_103_148_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_103_148_Closed_Text.style.display='none'; Codehighlighter1_103_148_Open_Image.style.display='inline'; Codehighlighter1_103_148_Open_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /></span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">interface</span><span style="color: #000000"> ServiceRemote  </span><span id="Codehighlighter1_103_148_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_103_148_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />    </span><span style="color: #0000ff">public</span><span style="color: #000000"> Map callService(Map inputMap) ;<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span></span></div> <p><br /> 2) 瀹炵幇綾?Service.java</p> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><span style="color: #0000ff">package</span><span style="color: #000000"> com.al;<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> java.util.HashMap;<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> java.util.Map;<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />@SuppressWarnings(</span><span style="color: #000000">"</span><span style="color: #000000">unchecked</span><span style="color: #000000">"</span><span style="color: #000000">)<br /> <img id="Codehighlighter1_143_379_Open_Image" onclick="this.style.display='none'; Codehighlighter1_143_379_Open_Text.style.display='none'; Codehighlighter1_143_379_Closed_Image.style.display='inline'; Codehighlighter1_143_379_Closed_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_143_379_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_143_379_Closed_Text.style.display='none'; Codehighlighter1_143_379_Open_Image.style.display='inline'; Codehighlighter1_143_379_Open_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /></span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">class</span><span style="color: #000000"> Service </span><span style="color: #0000ff">implements</span><span style="color: #000000"> ServiceRemote </span><span id="Codehighlighter1_143_379_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_143_379_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /><br /> <img id="Codehighlighter1_187_377_Open_Image" onclick="this.style.display='none'; Codehighlighter1_187_377_Open_Text.style.display='none'; Codehighlighter1_187_377_Closed_Image.style.display='inline'; Codehighlighter1_187_377_Closed_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_187_377_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_187_377_Closed_Text.style.display='none'; Codehighlighter1_187_377_Open_Image.style.display='inline'; Codehighlighter1_187_377_Open_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />    </span><span style="color: #0000ff">public</span><span style="color: #000000"> Map callService(Map inputMap) </span><span id="Codehighlighter1_187_377_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_187_377_Open_Text"><span style="color: #000000">{<br /> <img id="Codehighlighter1_218_266_Open_Image" onclick="this.style.display='none'; Codehighlighter1_218_266_Open_Text.style.display='none'; Codehighlighter1_218_266_Closed_Image.style.display='inline'; Codehighlighter1_218_266_Closed_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_218_266_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_218_266_Closed_Text.style.display='none'; Codehighlighter1_218_266_Open_Image.style.display='inline'; Codehighlighter1_218_266_Open_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />        </span><span style="color: #0000ff">if</span><span style="color: #000000">(inputMap </span><span style="color: #000000">==</span><span style="color: #000000"> </span><span style="color: #0000ff">null</span><span style="color: #000000">) </span><span id="Codehighlighter1_218_266_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_218_266_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />            inputMap </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> HashMap();<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />        }</span></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />        </span><span style="color: #008000">//</span><span style="color: #008000"> do something<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />        </span><span style="color: #008000">//</span><span style="color: #008000"> <img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span style="color: #008000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /></span><span style="color: #000000">        inputMap.put(</span><span style="color: #000000">"</span><span style="color: #000000">NAME</span><span style="color: #000000">"</span><span style="color: #000000">, </span><span style="color: #000000">"</span><span style="color: #000000">Hessian</span><span style="color: #000000">"</span><span style="color: #000000">);<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />        </span><span style="color: #0000ff">return</span><span style="color: #000000"> inputMap;<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />    }</span></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span></span></div> <p><br /> 3) web.xml閰嶇疆</p> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><span style="color: #0000ff"><?</span><span style="color: #ff00ff">xml version="1.0" encoding="UTF-8"</span><span style="color: #0000ff">?></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #0000ff"><</span><span style="color: #800000">web-app </span><span style="color: #ff0000">version</span><span style="color: #0000ff">="2.5"</span><span style="color: #ff0000"> xmlns</span><span style="color: #0000ff">="http://java.sun.com/xml/ns/javaee"</span><span style="color: #ff0000"> xmlns:xsi</span><span style="color: #0000ff">="http://www.w3.org/2001/XMLSchema-instance"</span><span style="color: #ff0000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />    xsi:schemaLocation</span><span style="color: #0000ff">="http://java.sun.com/xml/ns/javaee <br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">servlet</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />        </span><span style="color: #0000ff"><</span><span style="color: #800000">servlet-name</span><span style="color: #0000ff">></span><span style="color: #000000">hessianService</span><span style="color: #0000ff"></</span><span style="color: #800000">servlet-name</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />        </span><span style="color: #0000ff"><</span><span style="color: #800000">servlet-class</span><span style="color: #0000ff">></span><span style="color: #000000">com.caucho.hessian.server.HessianServlet</span><span style="color: #0000ff"></</span><span style="color: #800000">servlet-class</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />        </span><span style="color: #0000ff"><</span><span style="color: #800000">init-param</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />            </span><span style="color: #0000ff"><</span><span style="color: #800000">param-name</span><span style="color: #0000ff">></span><span style="color: #000000">service-class</span><span style="color: #0000ff"></</span><span style="color: #800000">param-name</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />            </span><span style="color: #0000ff"><</span><span style="color: #800000">param-value</span><span style="color: #0000ff">></span><span style="color: #000000">com.al.Service</span><span style="color: #0000ff"></</span><span style="color: #800000">param-value</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />        </span><span style="color: #0000ff"></</span><span style="color: #800000">init-param</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />    </span><span style="color: #0000ff"></</span><span style="color: #800000">servlet</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">servlet-mapping</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />        </span><span style="color: #0000ff"><</span><span style="color: #800000">servlet-name</span><span style="color: #0000ff">></span><span style="color: #000000">hessianService</span><span style="color: #0000ff"></</span><span style="color: #800000">servlet-name</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />        </span><span style="color: #0000ff"><</span><span style="color: #800000">url-pattern</span><span style="color: #0000ff">></span><span style="color: #000000">/hessianService</span><span style="color: #0000ff"></</span><span style="color: #800000">url-pattern</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />    </span><span style="color: #0000ff"></</span><span style="color: #800000">servlet-mapping</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #0000ff"></</span><span style="color: #800000">web-app</span><span style="color: #0000ff">></span></div> <p><br /> 緇忚繃浠ヤ笂3姝ワ紝hessian鏈嶅姟閮ㄧ講綆楁槸瀹屾垚浜嗭紝鍦╰omcat涓嬪彂甯冦?/p> <p>4) 璋冪敤鏂逛唬鐮?/p> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><span style="color: #0000ff">package</span><span style="color: #000000"> com.ai.client;<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> com.al.ServiceRemote;<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> com.caucho.hessian.client.HessianProxyFactory;<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><br /> <img id="Codehighlighter1_132_480_Open_Image" onclick="this.style.display='none'; Codehighlighter1_132_480_Open_Text.style.display='none'; Codehighlighter1_132_480_Closed_Image.style.display='inline'; Codehighlighter1_132_480_Closed_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_132_480_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_132_480_Closed_Text.style.display='none'; Codehighlighter1_132_480_Open_Image.style.display='inline'; Codehighlighter1_132_480_Open_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /></span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">class</span><span style="color: #000000"> ClientTest </span><span id="Codehighlighter1_132_480_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_132_480_Open_Text"><span style="color: #000000">{<br /> <img id="Codehighlighter1_194_478_Open_Image" onclick="this.style.display='none'; Codehighlighter1_194_478_Open_Text.style.display='none'; Codehighlighter1_194_478_Closed_Image.style.display='inline'; Codehighlighter1_194_478_Closed_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_194_478_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_194_478_Closed_Text.style.display='none'; Codehighlighter1_194_478_Open_Image.style.display='inline'; Codehighlighter1_194_478_Open_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />    </span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">static</span><span style="color: #000000"> </span><span style="color: #0000ff">void</span><span style="color: #000000"> main(String[] args) </span><span style="color: #0000ff">throws</span><span style="color: #000000"> Exception </span><span id="Codehighlighter1_194_478_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_194_478_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />        String url </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">"</span><span style="color: #000000">http://localhost:8080/HessianService/hessianService</span><span style="color: #000000">"</span><span style="color: #000000">;<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />        HessianProxyFactory factory </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> HessianProxyFactory();<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />        ServiceRemote rmt </span><span style="color: #000000">=</span><span style="color: #000000"> (ServiceRemote) factory.create(ServiceRemote.</span><span style="color: #0000ff">class</span><span style="color: #000000">, url);<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />        System.out.println(rmt.callService(</span><span style="color: #0000ff">null</span><span style="color: #000000">));<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />    }</span></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span></span></div> <p><br /> 鎵ц浠g爜錛岀粨鏋滃涓嬶細<br /> {NAME=Hessian}<br /> 璇存槑璋冪敤榪滅▼浠g爜鎴愬姛浜嗐?/p> <p>浜屻丼pring+Hessian鐨勪緥瀛?br /> 1) web宸ョ▼HessianService 鐨凷erviceRemote 鍜孲ervice綾諱笉鍙樸傚web.xml榪涜淇敼錛?br /> </p> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><span style="color: #0000ff"><?</span><span style="color: #ff00ff">xml version="1.0" encoding="UTF-8"</span><span style="color: #0000ff">?></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #0000ff"><</span><span style="color: #800000">web-app </span><span style="color: #ff0000">version</span><span style="color: #0000ff">="2.5"</span><span style="color: #ff0000"> xmlns</span><span style="color: #0000ff">="http://java.sun.com/xml/ns/javaee"</span><span style="color: #ff0000"> xmlns:xsi</span><span style="color: #0000ff">="http://www.w3.org/2001/XMLSchema-instance"</span><span style="color: #ff0000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />    xsi:schemaLocation</span><span style="color: #0000ff">="http://java.sun.com/xml/ns/javaee <br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />    http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">context-param</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />        </span><span style="color: #0000ff"><</span><span style="color: #800000">param-name</span><span style="color: #0000ff">></span><span style="color: #000000">contextConfigLocation</span><span style="color: #0000ff"></</span><span style="color: #800000">param-name</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />        </span><span style="color: #0000ff"><</span><span style="color: #800000">param-value</span><span style="color: #0000ff">></span><span style="color: #000000">/WEB-INF/dispatcher-servlet.xml</span><span style="color: #0000ff"></</span><span style="color: #800000">param-value</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />    </span><span style="color: #0000ff"></</span><span style="color: #800000">context-param</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">servlet</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />        </span><span style="color: #0000ff"><</span><span style="color: #800000">servlet-name</span><span style="color: #0000ff">></span><span style="color: #000000">dispatcher</span><span style="color: #0000ff"></</span><span style="color: #800000">servlet-name</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />        </span><span style="color: #0000ff"><</span><span style="color: #800000">servlet-class</span><span style="color: #0000ff">></span><span style="color: #000000">org.springframework.web.servlet.DispatcherServlet</span><span style="color: #0000ff"></</span><span style="color: #800000">servlet-class</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />        </span><span style="color: #0000ff"><</span><span style="color: #800000">load-on-startup</span><span style="color: #0000ff">></span><span style="color: #000000">1</span><span style="color: #0000ff"></</span><span style="color: #800000">load-on-startup</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />    </span><span style="color: #0000ff"></</span><span style="color: #800000">servlet</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">servlet-mapping</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />        </span><span style="color: #0000ff"><</span><span style="color: #800000">servlet-name</span><span style="color: #0000ff">></span><span style="color: #000000">dispatcher</span><span style="color: #0000ff"></</span><span style="color: #800000">servlet-name</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />        </span><span style="color: #0000ff"><</span><span style="color: #800000">url-pattern</span><span style="color: #0000ff">></span><span style="color: #000000">/remote/*</span><span style="color: #0000ff"></</span><span style="color: #800000">url-pattern</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />    </span><span style="color: #0000ff"></</span><span style="color: #800000">servlet-mapping</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">welcome-file-list</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />        </span><span style="color: #0000ff"><</span><span style="color: #800000">welcome-file</span><span style="color: #0000ff">></span><span style="color: #000000">index.jsp</span><span style="color: #0000ff"></</span><span style="color: #800000">welcome-file</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />    </span><span style="color: #0000ff"></</span><span style="color: #800000">welcome-file-list</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #0000ff"></</span><span style="color: #800000">web-app</span><span style="color: #0000ff">></span></div> <p><br /> 榪欓噷瑕佹敞鎰忕殑鏄?<br /> a)dispatcher-servlet.xml榪欎釜鏂囦歡鐨勫懡鍚嶃俿ervlet閰嶇疆涓篸ispatcher錛屽垯姝ゆ枃浠跺畾涔夎鍒欎負****-servlet.xml.<br /> <br /> b)鍙﹀灝辨槸Spring鍜宧essian鐨勭増鏈棶棰樸?br /> spring鐗堟湰鏄?.5.6錛岄渶瑕佸湪姝eb宸ョ▼涓嬪紩鍏ワ細spring-2.5.6.jar銆乻pring-webmvc-2.5.6.jar銆乧ommons-logging-1.1.1.jar銆?br /> hessian鐨勭増鏈槸hessian-3.1.6.jar錛宧essian鐨勪綆鐗堟湰濡?hessian-3.0.13鍜屾Spring鐗堟湰涓嶅悎銆傦紙鎴戣瘯楠屼簡鏄厤緗笉鎴愬姛鐨勩傦級</p> <p>2) dispatcher-servlet.xml<br /> </p> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><span style="color: #0000ff"><?</span><span style="color: #ff00ff">xml version="1.0" encoding="UTF-8"</span><span style="color: #0000ff">?></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #0000ff"><!</span><span style="color: #ff00ff">DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #0000ff"><</span><span style="color: #800000">beans</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">description</span><span style="color: #0000ff">></span><span style="color: #000000">hessian server properties</span><span style="color: #0000ff"></</span><span style="color: #800000">description</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">bean </span><span style="color: #ff0000">id</span><span style="color: #0000ff">="serviceImpl"</span><span style="color: #ff0000"> class</span><span style="color: #0000ff">="com.al.Service"</span><span style="color: #ff0000"> </span><span style="color: #0000ff">/></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />    </span><span style="color: #0000ff"><</span><span style="color: #800000">bean </span><span style="color: #ff0000">name</span><span style="color: #0000ff">="/service"</span><span style="color: #ff0000"> class</span><span style="color: #0000ff">="org.springframework.remoting.caucho.HessianServiceExporter"</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />        </span><span style="color: #0000ff"><</span><span style="color: #800000">property </span><span style="color: #ff0000">name</span><span style="color: #0000ff">="service"</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />            </span><span style="color: #0000ff"><</span><span style="color: #800000">ref </span><span style="color: #ff0000">bean</span><span style="color: #0000ff">="serviceImpl"</span><span style="color: #ff0000"> </span><span style="color: #0000ff">/></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />        </span><span style="color: #0000ff"></</span><span style="color: #800000">property</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />        </span><span style="color: #0000ff"><</span><span style="color: #800000">property </span><span style="color: #ff0000">name</span><span style="color: #0000ff">="serviceInterface"</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />            </span><span style="color: #0000ff"><</span><span style="color: #800000">value</span><span style="color: #0000ff">></span><span style="color: #000000">com.al.ServiceRemote</span><span style="color: #0000ff"></</span><span style="color: #800000">value</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />        </span><span style="color: #0000ff"></</span><span style="color: #800000">property</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />    </span><span style="color: #0000ff"></</span><span style="color: #800000">bean</span><span style="color: #0000ff">></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #0000ff"></</span><span style="color: #800000">beans</span><span style="color: #0000ff">></span></div> <p><br /> 3) 瀹㈡埛绔唬鐮佸彲浠ヤ繚鎸佸師鏍蜂笉鍙橈紝鎶婅皟鐢╤essian鏈嶅姟鐨剈rl鍙樻崲涓涓嬪嵆鍙細<br /> http://localhost:8080/HessianService/remote/service<br /> http://IP:port/鍙戝竷宸ョ▼鍚?web.xml涓厤緗殑url-pattern/****-servlet.xml bean鐨処D銆?/p> <p>涓夈佷嬌鎴戜滑鐨勮皟鐢ㄥ彉寰楅氱敤 灝嗗湪涓嬩竴綃囦腑浠嬬粛銆?/p> <img src ="http://m.tkk7.com/jnbzwm/aggbug/335371.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/jnbzwm/" target="_blank">Ronaldo</a> 2010-10-17 21:11 <a href="http://m.tkk7.com/jnbzwm/archive/2010/10/17/335371.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>java瀹炵幇鏁版嵁搴撹繛鎺ユ睜http://m.tkk7.com/jnbzwm/archive/2010/09/01/330542.htmlRonaldoRonaldoWed, 01 Sep 2010 03:36:00 GMThttp://m.tkk7.com/jnbzwm/archive/2010/09/01/330542.htmlhttp://m.tkk7.com/jnbzwm/comments/330542.htmlhttp://m.tkk7.com/jnbzwm/archive/2010/09/01/330542.html#Feedback0http://m.tkk7.com/jnbzwm/comments/commentRss/330542.htmlhttp://m.tkk7.com/jnbzwm/services/trackbacks/330542.html闃呰鍏ㄦ枃

Ronaldo 2010-09-01 11:36 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 日韩亚洲国产二区| 亚洲视频在线不卡| 性无码免费一区二区三区在线 | 免费精品人在线二线三线区别| 亚洲精品乱码久久久久久蜜桃图片| 亚洲人成电影在线观看青青| 韩国欧洲一级毛片免费| 两个人看的www高清免费观看| 亚洲成人高清在线观看| 免费a级毛片无码a∨免费软件| 亚洲欧洲日韩在线电影| 免费大香伊蕉在人线国产 | 四虎免费在线观看| 9久热这里只有精品免费| 亚洲日日做天天做日日谢| 狠狠色婷婷狠狠狠亚洲综合| 免费人成视频在线| 一个人免费视频观看在线www | 亚洲国产超清无码专区| 日本免费一二区在线电影| 久久久久国产精品免费网站| MM1313亚洲精品无码久久| 亚洲精品国产成人| 亚洲伊人久久精品影院| 免费观看男人免费桶女人视频| 外国成人网在线观看免费视频| 美女羞羞视频免费网站| 亚洲av永久无码精品天堂久久| 亚洲妇熟XXXX妇色黄| 亚洲第一视频在线观看免费| 久久久久久国产精品免费免费| free哆拍拍免费永久视频| MM1313亚洲精品无码久久| 亚洲制服丝袜精品久久| 久久精品国产亚洲AV麻豆不卡| 亚洲日韩中文字幕日韩在线| 日韩在线免费电影| 午夜成年女人毛片免费观看| 免费在线观看h片| 暖暖免费日本在线中文| 国产高清对白在线观看免费91|