锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲精品三区,久久精品亚洲精品国产欧美,欧美一区二区三区四区五区六区 http://www.aygfsteel.com/ldd600/category/32135.html璺極婕叾淇繙鍏紝鍚懼皢涓婁笅鑰屾眰绱?/description>zh-cnSat, 16 Jan 2010 21:33:59 GMTSat, 16 Jan 2010 21:33:59 GMT60鍦↗avaMail鐨勫熀紜涓婃瀯寤鴻嚜宸辯殑Email Channel(1):鍩虹鐭ヨ瘑http://www.aygfsteel.com/ldd600/archive/2010/01/16/309768.html鍙卞挙綰漢鍙卞挙綰漢Sat, 16 Jan 2010 04:33:00 GMThttp://www.aygfsteel.com/ldd600/archive/2010/01/16/309768.htmlhttp://www.aygfsteel.com/ldd600/comments/309768.htmlhttp://www.aygfsteel.com/ldd600/archive/2010/01/16/309768.html#Feedback1http://www.aygfsteel.com/ldd600/comments/commentRss/309768.htmlhttp://www.aygfsteel.com/ldd600/services/trackbacks/309768.html闃呰鍏ㄦ枃

]]>
OC4J鍗囩駭Oracle JDBC driver鐗堟湰http://www.aygfsteel.com/ldd600/archive/2010/01/15/309679.html鍙卞挙綰漢鍙卞挙綰漢Fri, 15 Jan 2010 05:17:00 GMThttp://www.aygfsteel.com/ldd600/archive/2010/01/15/309679.htmlhttp://www.aygfsteel.com/ldd600/comments/309679.htmlhttp://www.aygfsteel.com/ldd600/archive/2010/01/15/309679.html#Feedback1http://www.aygfsteel.com/ldd600/comments/commentRss/309679.htmlhttp://www.aygfsteel.com/ldd600/services/trackbacks/309679.html闃呰鍏ㄦ枃

]]>
java绔疪ESTful web services鐨勫嚑縐嶅疄鐜版柟寮?/title><link>http://www.aygfsteel.com/ldd600/archive/2009/08/13/291018.html</link><dc:creator>鍙卞挙綰漢</dc:creator><author>鍙卞挙綰漢</author><pubDate>Thu, 13 Aug 2009 07:27:00 GMT</pubDate><guid>http://www.aygfsteel.com/ldd600/archive/2009/08/13/291018.html</guid><wfw:comment>http://www.aygfsteel.com/ldd600/comments/291018.html</wfw:comment><comments>http://www.aygfsteel.com/ldd600/archive/2009/08/13/291018.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/ldd600/comments/commentRss/291018.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/ldd600/services/trackbacks/291018.html</trackback:ping><description><![CDATA[     鎽樿: java绔疪ESTful web services鐨勫嚑縐嶅疄鐜版柟寮?nbsp; <a href='http://www.aygfsteel.com/ldd600/archive/2009/08/13/291018.html'>闃呰鍏ㄦ枃</a><img src ="http://www.aygfsteel.com/ldd600/aggbug/291018.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/ldd600/" target="_blank">鍙卞挙綰漢</a> 2009-08-13 15:27 <a href="http://www.aygfsteel.com/ldd600/archive/2009/08/13/291018.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>RESTful vs SOAPyhttp://www.aygfsteel.com/ldd600/archive/2009/07/31/289209.html鍙卞挙綰漢鍙卞挙綰漢Fri, 31 Jul 2009 00:40:00 GMThttp://www.aygfsteel.com/ldd600/archive/2009/07/31/289209.htmlhttp://www.aygfsteel.com/ldd600/comments/289209.htmlhttp://www.aygfsteel.com/ldd600/archive/2009/07/31/289209.html#Feedback0http://www.aygfsteel.com/ldd600/comments/commentRss/289209.htmlhttp://www.aygfsteel.com/ldd600/services/trackbacks/289209.htmlRest and Restful web services

There are currently two schools of thought in developing web services: the traditional, standards-based approach (SOAP) and conceptually simpler and the trendier new kid on the block (REST). The origin of the term "REST" comes from the famous thesis from Roy Fielding describing the concept of Representative State Transfer (REST). REST is an architectural style that can be summed up as four verbs (GET, POST, PUT, and DELETE from HTTP 1.1) and the nouns, which are the resources available on the network (referenced in the URI). The verbs have the following operational equivalents:

HTTP     CRUD Equivalent

==============================

GET      read

POST     create,update,delete

PUT      create,update

DELETE   delete

The emergence of the RESTful style of web services was a reaction to the more heavy-weight SOAP-based standards. In RESTful web services, the emphasis is on simple point-to-point communication over HTTP using plain old XML (POX) or JSON.

Java API for RESTful Web Services specification is in final state, JAX-RS is an annotation-based API for implementing RESTful web services, based on HTTP. In addition to the Sun-provided reference implementation, Jersey, other implementations are available (in various stages of completion): as part of the popular Restlet framework, the JBoss RESTeasy project , and as part of the Apache CXF web services stack.

Rest vs SOAP:

Representation

A REST-style web service might be every bit as subtle and complicated as a SOAP-based service. The RESTful approach tries to simplify matters by taking what HTTP, with its MIME type system, already offers: built-in CRUD operations, uniformly identifiable resources, and typed representations that can capture a resource's state. The key to the REST methodology is to write Web services using a representation that is already well known and widely used: the URI.

Complexity

REST as a design philosophy tries to isolate application complexity at the endpoints, that is, at the client and at the service. A service may require lots of logic and computation to maintain resources and to generate adequate representation of resources鈥攆or instance, large and subtly formatted XML documents鈥攁nd a client may require significant XML processing to extract the desired information from the XML representations transferred from the service to the client.

Bandwidth

RESTful approach keeps the complexity out of the transport level, as a resource representation is transferred to the client as the body of an HTTP response message. By contrast, a SOAP-based service inevitably complicates the transport level because a SOAP message is encapsulated as the body of a transport message; for instance, an HTTP or SMTP message. SOAP requires messages within messages, whereas REST does not.

Performance

SOAP uses XML generally bloats your messages quite a bit.

Something like POX or JSON would be more compact and maybe faster to serialize / deserialize.

Payloads of SOAP are significantly larger which are slower to assemble, transport, parse, validate and process.

Security

A typical SOAP request will use POST to communicate with a given service. And without looking into the SOAP envelope, there's no way to know whether that request simply wants to query data or delete entire tables from the database

As for authentication and authorization, SOAP places the burden in the hands of the application developer. The REST methodology instead takes into account the fact that Web servers already have support for these tasks.

Domain Design

SOAP services defined in Web Services Description Language (WSDL) emphasize contracts and actions. In contrast, REST focuses on direct addressing and manipulation of resources, which is more compatible with the domain-driven approach.

Defects

l           There is less definition of interface, especially the method interface

l           Hard to make strongly typed objects to work with it in server side code  

l           Only works over HTTP, but SOAP can work on HTTP, FTP, MIME, JMS, SMTP and etc

l           Calls to REST are restricted by HTTP Verbs (GET, POST, PUT, DELETE.. etc)

l           No automatic xml schema validation

l           Less SOA-style than SOAP

l           Developer has less control on security than SOAP, SOAP has ws-*(ws-security, ws-trust, ws-policy and etc), SAML, XACML and etc

l           Routing is network-controlled, but SOAP can make client to control routing explicitly through SOAP headers, WS-Addressing and etc

Implementation

How to implement Restful web services, there are three kinds of methods recently:

  • Make use of provider and dispatch twins of SOAP-based web service
  • Implement Restful HTTPServlets
  • JAX-RS, annotation-based implementation


]]>
RMI浣跨敤鐨勬敞鎰忕偣http://www.aygfsteel.com/ldd600/archive/2009/05/05/268994.html鍙卞挙綰漢鍙卞挙綰漢Tue, 05 May 2009 07:29:00 GMThttp://www.aygfsteel.com/ldd600/archive/2009/05/05/268994.htmlhttp://www.aygfsteel.com/ldd600/comments/268994.htmlhttp://www.aygfsteel.com/ldd600/archive/2009/05/05/268994.html#Feedback2http://www.aygfsteel.com/ldd600/comments/commentRss/268994.htmlhttp://www.aygfsteel.com/ldd600/services/trackbacks/268994.html闃呰鍏ㄦ枃

]]>
閫氱敤RPC綆鏄撴鏋?/title><link>http://www.aygfsteel.com/ldd600/archive/2009/04/04/263927.html</link><dc:creator>鍙卞挙綰漢</dc:creator><author>鍙卞挙綰漢</author><pubDate>Sat, 04 Apr 2009 12:57:00 GMT</pubDate><guid>http://www.aygfsteel.com/ldd600/archive/2009/04/04/263927.html</guid><wfw:comment>http://www.aygfsteel.com/ldd600/comments/263927.html</wfw:comment><comments>http://www.aygfsteel.com/ldd600/archive/2009/04/04/263927.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.aygfsteel.com/ldd600/comments/commentRss/263927.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/ldd600/services/trackbacks/263927.html</trackback:ping><description><![CDATA[     鎽樿: 鎴戜滑緇忓父闇瑕佽繘琛岃繙紼嬩笟鍔℃柟娉曠殑璋冪敤錛屽茍瀵硅繑鍥炵殑緇撴灉榪涜澶勭悊銆傛垜浠鑼冨寲浜嗚皟鐢ㄦ祦紼嬶紝鍙墿灞曟敮鎸佸縐嶅崗璁細HTTP, JMS, RMI, FTP絳夛紝瀹炵幇浜嗗簭鍒楀寲鍜屽弽搴忓垪鍖栵紝璐熻澆鍧囪 錛屽紓姝ヨ皟鐢ㄧ瓑妯″潡銆傞粯璁ょ粰鍑篐TTP瀹炵幇銆?nbsp; <a href='http://www.aygfsteel.com/ldd600/archive/2009/04/04/263927.html'>闃呰鍏ㄦ枃</a><img src ="http://www.aygfsteel.com/ldd600/aggbug/263927.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/ldd600/" target="_blank">鍙卞挙綰漢</a> 2009-04-04 20:57 <a href="http://www.aygfsteel.com/ldd600/archive/2009/04/04/263927.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>JAXB vs XStreamhttp://www.aygfsteel.com/ldd600/archive/2009/03/04/257832.html鍙卞挙綰漢鍙卞挙綰漢Wed, 04 Mar 2009 09:15:00 GMThttp://www.aygfsteel.com/ldd600/archive/2009/03/04/257832.htmlhttp://www.aygfsteel.com/ldd600/comments/257832.htmlhttp://www.aygfsteel.com/ldd600/archive/2009/03/04/257832.html#Feedback9http://www.aygfsteel.com/ldd600/comments/commentRss/257832.htmlhttp://www.aygfsteel.com/ldd600/services/trackbacks/257832.html闃呰鍏ㄦ枃

]]>
瀵規瘮XStream鍜孞SONhttp://www.aygfsteel.com/ldd600/archive/2009/01/20/252089.html鍙卞挙綰漢鍙卞挙綰漢Tue, 20 Jan 2009 09:43:00 GMThttp://www.aygfsteel.com/ldd600/archive/2009/01/20/252089.htmlhttp://www.aygfsteel.com/ldd600/comments/252089.htmlhttp://www.aygfsteel.com/ldd600/archive/2009/01/20/252089.html#Feedback5http://www.aygfsteel.com/ldd600/comments/commentRss/252089.htmlhttp://www.aygfsteel.com/ldd600/services/trackbacks/252089.html闃呰鍏ㄦ枃

]]>
Oracle搴旂敤鏈嶅姟鍣ㄥ崟涓狢ontainer澶歅rocess(jvm)鐜涓嬶紝鐢∣rmi鍜宩ms瀹炵幇toplink浼氳瘽緙撳瓨鍚屾http://www.aygfsteel.com/ldd600/archive/2008/12/09/245302.html鍙卞挙綰漢鍙卞挙綰漢Tue, 09 Dec 2008 10:00:00 GMThttp://www.aygfsteel.com/ldd600/archive/2008/12/09/245302.htmlhttp://www.aygfsteel.com/ldd600/comments/245302.htmlhttp://www.aygfsteel.com/ldd600/archive/2008/12/09/245302.html#Feedback0http://www.aygfsteel.com/ldd600/comments/commentRss/245302.htmlhttp://www.aygfsteel.com/ldd600/services/trackbacks/245302.html闃呰鍏ㄦ枃

]]>
oc4j+toplink+spring浣跨敤jta澶栭儴浜嬪姟鐨勪竴鐐瑰績寰?/title><link>http://www.aygfsteel.com/ldd600/archive/2008/11/14/240607.html</link><dc:creator>鍙卞挙綰漢</dc:creator><author>鍙卞挙綰漢</author><pubDate>Fri, 14 Nov 2008 13:48:00 GMT</pubDate><guid>http://www.aygfsteel.com/ldd600/archive/2008/11/14/240607.html</guid><wfw:comment>http://www.aygfsteel.com/ldd600/comments/240607.html</wfw:comment><comments>http://www.aygfsteel.com/ldd600/archive/2008/11/14/240607.html#Feedback</comments><slash:comments>11</slash:comments><wfw:commentRss>http://www.aygfsteel.com/ldd600/comments/commentRss/240607.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/ldd600/services/trackbacks/240607.html</trackback:ping><description><![CDATA[     鎽樿: 鏅氫笂瑕佷笅鐝殑鏃跺欙紝application team閭i噷浣跨敤Tibco EMS鍋氭秷鎭泦鎴愭湇鍔℃椂鍊欏嚭浜哹ug錛岄敊璇槸錛歫ava.sql.SQLException: 褰撳叏灞浜嬪姟澶勭悊澶勪簬媧誨姩鐘舵佹椂, 鏃犳硶璋冪敤鏂規硶 'commit'錛屽簲璇ユ槸鍦ㄥ叏灞浜嬪姟涓嬌鐢ㄤ簡鏈湴浜嬪姟騫舵彁浜や簡銆傚府蹇欑湅浜嗕竴涓嬶紝瀹冪殑oc4j, toplink, spring鐨勪嬌鐢ㄤ笂閮藉瓨鍦ㄧ潃涓浜涢棶棰橈紝騫舵妸瑕佹敞鎰忕殑鍦版柟鎬葷粨浜嗕竴涓嬨傚寘鎷琽c4j錛宼oplink錛宻pring涓夊潡銆?nbsp; <a href='http://www.aygfsteel.com/ldd600/archive/2008/11/14/240607.html'>闃呰鍏ㄦ枃</a><img src ="http://www.aygfsteel.com/ldd600/aggbug/240607.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/ldd600/" target="_blank">鍙卞挙綰漢</a> 2008-11-14 21:48 <a href="http://www.aygfsteel.com/ldd600/archive/2008/11/14/240607.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>濡備綍鍦↗AVA绔嬌Oracle瀛樺偍榪囩▼涓茶鍦版墽琛?/title><link>http://www.aygfsteel.com/ldd600/archive/2008/08/25/224148.html</link><dc:creator>鍙卞挙綰漢</dc:creator><author>鍙卞挙綰漢</author><pubDate>Mon, 25 Aug 2008 06:12:00 GMT</pubDate><guid>http://www.aygfsteel.com/ldd600/archive/2008/08/25/224148.html</guid><wfw:comment>http://www.aygfsteel.com/ldd600/comments/224148.html</wfw:comment><comments>http://www.aygfsteel.com/ldd600/archive/2008/08/25/224148.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/ldd600/comments/commentRss/224148.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/ldd600/services/trackbacks/224148.html</trackback:ping><description><![CDATA[     鎽樿: 鍦╦ava绔皟鐢ㄥ瓨鍌ㄨ繃紼嬬殑鏃跺欓渶瑕佸瓨鍌ㄨ繃紼嬩覆琛岀殑鎵ц錛屽鏋滀嬌鐢╯ynchronized lock鍦ㄥ簲鐢ㄦ湇鍔″櫒紿佺劧down鎺夌殑鎯呭喌涓嬩細鍑虹幇闂錛屽洜涓簊ession騫舵病鏈夌珛鍗蟲柇鎺夛紝鍚庡彴鐨勫瓨鍌ㄨ繃紼嬭繕鍦ㄧ戶緇墽琛岋紝榪欐牱濡傛灉搴旂敤鏈嶅姟鍣ㄧ珛鍗抽噸鍚紝鍐嶈皟鐢ㄨ瀛樺偍榪囩▼鎴栬呭叾浠栭渶瑕佷竴璧蜂覆琛屽寲澶勭悊鐨勫瓨鍌ㄨ繃紼嬪氨浼氳繚鍙嶅悓姝ユ墽琛岀殑鍘熷垯錛屾墍浠ユ垜浠繀欏繪妸閿佹斁鍦╫racle db绔紝鍒╃敤oracle閿佹満鍒舵潵瀹屾垚瀛樺偍榪囩▼鐨勫悓姝ワ紝鏂囩珷鎬葷粨浜嗕竴涓嬪湪java绔浣曚嬌鐢╫racle榪欎釜鐢ㄦ埛閿佹満鍒躲?nbsp; <a href='http://www.aygfsteel.com/ldd600/archive/2008/08/25/224148.html'>闃呰鍏ㄦ枃</a><img src ="http://www.aygfsteel.com/ldd600/aggbug/224148.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/ldd600/" target="_blank">鍙卞挙綰漢</a> 2008-08-25 14:12 <a href="http://www.aygfsteel.com/ldd600/archive/2008/08/25/224148.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Java涓殑Connection Poolhttp://www.aygfsteel.com/ldd600/archive/2008/07/14/214755.html鍙卞挙綰漢鍙卞挙綰漢Mon, 14 Jul 2008 08:30:00 GMThttp://www.aygfsteel.com/ldd600/archive/2008/07/14/214755.htmlhttp://www.aygfsteel.com/ldd600/comments/214755.htmlhttp://www.aygfsteel.com/ldd600/archive/2008/07/14/214755.html#Feedback0http://www.aygfsteel.com/ldd600/comments/commentRss/214755.htmlhttp://www.aygfsteel.com/ldd600/services/trackbacks/214755.html闃呰鍏ㄦ枃

]]>
主站蜘蛛池模板: 岱山县| 鄂托克前旗| 新津县| 白山市| 齐河县| 丹巴县| 清新县| 汝城县| 上杭县| 衡水市| 历史| 桑植县| 金秀| 汉寿县| 容城县| 浮梁县| 巴彦县| 岑溪市| 河津市| 江西省| 小金县| 河东区| 金坛市| 临朐县| 蕉岭县| 炎陵县| 越西县| 台山市| 嘉峪关市| 关岭| 昌宁县| 宾阳县| 旌德县| 东海县| 赤峰市| 永仁县| 治县。| 乡宁县| 江津市| 延寿县| 青神县|