锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲小说区图片,国产精品蜜月aⅴ在线,国产一区 二区http://www.aygfsteel.com/Werther/category/39067.htmlLive as if you were to die tomorrow. Learn as if you were to live forever. zh-cnThu, 02 Jul 2009 13:18:33 GMTThu, 02 Jul 2009 13:18:33 GMT60Spring宸ヤ綔鍘熺悊鎺㈢ http://www.aygfsteel.com/Werther/archive/2009/07/02/285219.htmlWertherWertherThu, 02 Jul 2009 09:34:00 GMThttp://www.aygfsteel.com/Werther/archive/2009/07/02/285219.htmlhttp://www.aygfsteel.com/Werther/comments/285219.htmlhttp://www.aygfsteel.com/Werther/archive/2009/07/02/285219.html#Feedback0http://www.aygfsteel.com/Werther/comments/commentRss/285219.htmlhttp://www.aygfsteel.com/Werther/services/trackbacks/285219.html闃呰鍏ㄦ枃

Werther 2009-07-02 17:34 鍙戣〃璇勮
]]>
Spring 妗嗘灦綆浠?杞夎級(jí))http://www.aygfsteel.com/Werther/archive/2009/06/30/284799.htmlWertherWertherTue, 30 Jun 2009 09:22:00 GMThttp://www.aygfsteel.com/Werther/archive/2009/06/30/284799.htmlhttp://www.aygfsteel.com/Werther/comments/284799.htmlhttp://www.aygfsteel.com/Werther/archive/2009/06/30/284799.html#Feedback0http://www.aygfsteel.com/Werther/comments/commentRss/284799.htmlhttp://www.aygfsteel.com/Werther/services/trackbacks/284799.html闃呰鍏ㄦ枃

Werther 2009-06-30 17:22 鍙戣〃璇勮
]]>
Spring鎬葷粨http://www.aygfsteel.com/Werther/archive/2009/06/29/284637.htmlWertherWertherMon, 29 Jun 2009 09:22:00 GMThttp://www.aygfsteel.com/Werther/archive/2009/06/29/284637.htmlhttp://www.aygfsteel.com/Werther/comments/284637.htmlhttp://www.aygfsteel.com/Werther/archive/2009/06/29/284637.html#Feedback1http://www.aygfsteel.com/Werther/comments/commentRss/284637.htmlhttp://www.aygfsteel.com/Werther/services/trackbacks/284637.html 浜嬪姟浼犳挱
1銆乺equired:鏂規(guī)硶鍦ㄤ竴涓簨鍔′腑鎵ц錛屽鏋滆皟鐢ㄧ殑鏂規(guī)硶鍦ㄤ竴涓簨鍔′腑錛屽垯浣跨敤璇ヤ簨鍔★紝鍚﹀垯灝嗗垱寤轟竴涓柊鐨勪簨鍔°?蹇呴』鏈夛紝鏈夊氨鐢紝娌℃湁灝卞緩)
2銆乵andatory:濡傛灉榪愯浜庝簨鍔′腑鐨勫鎴瘋皟鐢ㄤ簡(jiǎn)璇ユ柟娉曪紝鏂規(guī)硶鍦ㄥ鎴風(fēng)殑浜嬪姟涓墽琛屻傚鏋滃鎴鋒病鏈夊叧鑱斿埌浜嬪姟涓紝瀹瑰櫒灝變細(xì)鎶涘嚭TransactionRequiredException.(蹇呴』鏈夛紝鏈夊氨鐢紝娌℃湁鎶ラ敊)
3銆乺equiresnew:鏂規(guī)硶灝嗗湪涓涓柊鐨勪簨鍔′腑鎵ц錛屽鏋滆皟鐢ㄧ殑鏂規(guī)硶宸茬粡鍦ㄤ竴涓簨鍔′腑錛屽垯鏆傚仠鏃х殑浜嬪姟銆傚湪璋冪敤緇撴潫鍚庢仮澶嶆棫鐨勪簨鍔°?蹇呴』鏈夛紝鏈夋病鏈夐兘瑕佸緩)
4銆乻upports:濡傛灉鏂規(guī)硶鍦ㄤ竴涓簨鍔′腑琚皟鐢紝鍒欎嬌鐢ㄨ浜嬪姟錛屽惁鍒欎笉浣跨敤浜嬪姟銆?鏈夋病鏈夐兘涓紝鏈夊氨鐢紝娌℃湁涓嶇敤)
5銆乶ot_supported:濡傛灉鏂規(guī)硶鍦ㄤ竴涓簨鍔′腑琚皟鐢紝瀹瑰櫒浼?xì)鍦ㄨ皟鐢ㄤ箣鍓嵕l堟璇ヤ簨鍔°傚湪璋冪敤緇撴潫鍚庯紝瀹瑰櫒浼?xì)鎭㈠瀹㈡埛浜嬪姟銆傚鏋滃鎴鋒病鏈夊叧鑱斿埌涓涓簨鍔′腑錛屽鍣ㄤ笉浼?xì)鍏q愯鍦ㄨ鏂規(guī)硶鍚姩涓涓柊鐨勪簨鍔°傜敤notsupported灞炴ф爣璇嗕笉闇瑕佷簨鍔$殑鏂規(guī)硶銆傚洜涓轟簨鍔′細(xì)甯︽潵鏇撮珮鐨勬ц兘鏀嚭錛屾墍浠ヨ繖涓睘鎬у彲浠ユ彁楂樻ц兘銆?涓嶉渶瑕侊紝鏈夊氨鎸傝搗浜嬪姟錛屾病鏈夌洿鎺ヨ繍琛?
6銆丯ever:濡傛灉鍦ㄤ竴涓簨鍔′腑璋冪敤璇ユ柟娉曪紝瀹瑰櫒浼?xì)鎶涘嚭RemoteException銆傚鏋滃鎴鋒病鏈夊叧鑱斿埌涓涓簨鍔′腑錛屽鍣ㄤ笉浼?xì)鍦q愯鍏ヨ鏂規(guī)硶鍓嶅惎鍔ㄤ竴涓柊鐨勪簨鍔°?蹇呴』娌℃湁錛屾湁灝辨姤閿欙紝娌℃湁灝辯洿鎺ヨ繍琛?
浜嬪姟闅旂
涓轟粈涔堣浣跨敤浜嬬墿闅旂錛屾槸鍥犱負(fù)浜嬬墿騫跺彂寮曡搗鐨勪竴浜涢敊璇幇璞?
騫跺彂闂錛?
鑴忚錛氫竴涓簨鍔¤鍙栦簡(jiǎn)鏈彁浜ょ殑浜嬪姟
涓嶅彲閲嶅璇伙細(xì)鍚屼竴涓簨鍔′腑澶氭璇誨彇鍚屼竴涓暟鎹繑鍥炵殑緇撴灉涓嶅悓
騫昏錛氫竴涓簨鍔¤鍙栧埌浜?jiǎn)鍙︿竴涓簨鍔″凡鎻愪氦鐨刬nsert鏁版嵁銆?

浜嬪姟騫跺彂澶勭悊錛?
鍏變韓閿侊細(xì)鍏變韓閿佺敤浜庤鍙栨暟鎹搷浣滐紝瀹冨厑璁稿叾浠栦簨鍔″悓鏃惰鍙栨煇閿佸畾鐨勮祫婧愶紝浣嗕笉鍏佽鍏朵粬浜嬪姟鏇存柊瀹冦?
鎺掍粬閿侊細(xì)鎺掑畠閿佺敤浜庝慨鏀規(guī)暟鎹殑鍦哄悎銆傚畠閿佸畾鐨勮祫婧愶紝鍏朵粬浜嬪姟涓嶈兘璇誨彇涔熶笉鑳戒慨鏀廣?
鏇存柊閿侊細(xì)鏇存柊閿佸湪鏇存柊鎿嶄綔鐨勫垵濮嬪寲闃舵鐢ㄦ潵閿佸畾鍙兘瑕佽淇敼鐨勮祫婧愶紝浠庤岄伩鍏嶄嬌鐢ㄥ叡浜攣閫犳垚鐨勬閿佺幇璞°?

浜嬪姟闅旂綰у埆錛?
ReadUncommitted錛氳鏈彁浜ゆ暟鎹?璇ラ夐」鎸囩ず鏁版嵁搴撹鍙栨暟鎹椂涓嶄嬌鐢ㄤ換浣曢攣銆傚湪榪欑鎯呭喌涓嬶紝浜嬪姟鍙互璇誨彇鍒版湭鎻愪氦鐨勬暟鎹紝浼?xì)鍑虹幇鑴忚锛屼笉鍙噸澶嶈d拰騫昏鐜拌薄銆?

ReadCommited錛?
璇ラ夐」鍙細(xì)榪斿洖"璇誨彇鏃墮棿鐐?涔嬪墠宸叉彁浜ょ殑鏁版嵁銆傚洜姝ゅ彲浠ラ伩鍏嶈剰璇伙紝浣嗘槸浼?xì)鍑虹庮C笉鍙噸澶嶈錛屽彟澶栬繕浼?xì)鍑虹幇鍓蜩潕拌薄銆?

RepeatableRead:璇ラ夐」鑳藉淇濊瘉鍙噸澶嶈錛屽彲浠ラ伩鍏嶈剰璇誨拰涓嶅彲閲嶅璇匯?

Serializable:璇ラ夐」鑳藉閬垮厤鑴忚銆佷笉鍙噸澶嶈鍜屽夠璇葷幇璞★紝鏄渶涓ユ牸鐨勯殧紱葷駭鍒?

浜屻?span class="hilite1">spring闆嗘垚struts
1銆佸簲鐢ㄦ湇鍔″櫒娌℃湁鐩存帴璋冪敤鍚姩Spring鐨勬柟娉曪紝浣嗘槸搴旂敤鏈嶅姟鍣ㄧ紪璇戣繍琛宻ervlet錛宖ilter,listener錛屾墍浠?span class="hilite1">spring鎻愪緵涓涓猯istener綾伙紝鍦ㄦ湇鍔″櫒鍒濆鍖栫殑鏃跺欒皟鐢ㄨ綾諱腑鐨勬柟娉曪紝鎵浠ュ湪瀹瑰櫒涓厤緗涓嬶細(xì)
<!-- 鎸囧畾spring鐨勯厤緗枃浠?澶氫釜鏂囦歡涔嬮棿鐢ㄩ楀彿鍒嗛殧 -->
<context-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>classpath:beans.xml</param-value>
</context-param>
<!-- 鍚姩Spring瀹瑰櫒 -->
<listener>
    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
2銆佹垜浠妸鎴戜滑闇瑕佷氦緇?span class="hilite1">spring綆$悊鐨勭被鍦╞eans.xml涓厤緗細(xì)
濡?lt;bean name="/user/regist"
class="cn.sun.ssh.web.action.UserManagerAction">
<property name="dao" ref="userDAO"></property>
</bean>
浣嗘槸action鏄寮曟搸璋冪敤鐨勶紝鎴戜滑濡備綍鎶婇渶瑕佺殑action浜ょ粰寮曟搸鍛紝閫氳繃閲嶅啓struts涓殑requestprocessor綾諱腑鐨刾rocessactioncreate鏂規(guī)硶錛屽湪spring涓幏寰梐ction鍚庝氦緇欏紩鎿庣鐞嗭紝榪欎篃鏄痵truts鐨勪竴涓墿灞曟満鍒躲?
鎵浠ユ垜浠鍦╯truts-config.xml涓厤緗甤ontroller
<controller>
<set-property property="processorClass" value="org.springframework.web.struts.DelegatingRequestProcessor"/>
</controller>


涓夈?span class="hilite1">spring闆嗘垚hibernate,spring鍜宧ibernate闆嗘垚涓昏鏈変袱鏂歸潰娉ㄦ剰
1銆?span class="hilite1">spring闆嗘垚hibernate鏃舵妸dao鍜宻essionfactory浜ょ粰spring綆$悊錛?

Werther 2009-06-29 17:22 鍙戣〃璇勮
]]>
Spring AOP鐨勪竴浜涙蹇?/title><link>http://www.aygfsteel.com/Werther/archive/2009/06/25/284145.html</link><dc:creator>Werther</dc:creator><author>Werther</author><pubDate>Thu, 25 Jun 2009 09:27:00 GMT</pubDate><guid>http://www.aygfsteel.com/Werther/archive/2009/06/25/284145.html</guid><wfw:comment>http://www.aygfsteel.com/Werther/comments/284145.html</wfw:comment><comments>http://www.aygfsteel.com/Werther/archive/2009/06/25/284145.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/Werther/comments/commentRss/284145.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/Werther/services/trackbacks/284145.html</trackback:ping><description><![CDATA[     鎽樿: 鍒囬潰錛圓spect錛夛細(xì) 涓涓叧娉ㄧ偣鐨勬ā鍧楀寲錛岃繖涓叧娉ㄧ偣鍙兘浼?xì)妯垏澶氫釜瀵硅薄銆備簨鍔$鐞嗘槸J2EE搴旂敤涓竴涓叧浜庢í鍒囧叧娉ㄧ偣鐨勫緢濂界殑渚嬪瓙銆?鍦⊿pring AOP涓紝鍒囬潰鍙互浣跨敤閫氱敤綾伙紙鍩轟簬妯″紡鐨勯鏍鹼級(jí) 鎴栬呭湪鏅氱被涓互 @Aspect 娉ㄨВ錛園AspectJ椋庢牸錛夋潵瀹炵幇銆?  <a href='http://www.aygfsteel.com/Werther/archive/2009/06/25/284145.html'>闃呰鍏ㄦ枃</a><img src ="http://www.aygfsteel.com/Werther/aggbug/284145.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/Werther/" target="_blank">Werther</a> 2009-06-25 17:27 <a href="http://www.aygfsteel.com/Werther/archive/2009/06/25/284145.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> 主站蜘蛛池模板: <a href="http://" target="_blank">鸡西市</a>| <a href="http://" target="_blank">兴安县</a>| <a href="http://" target="_blank">玉山县</a>| <a href="http://" target="_blank">通化县</a>| <a href="http://" target="_blank">铜鼓县</a>| <a href="http://" target="_blank">中宁县</a>| <a href="http://" target="_blank">彭阳县</a>| <a href="http://" target="_blank">朝阳县</a>| <a href="http://" target="_blank">岚皋县</a>| <a href="http://" target="_blank">武邑县</a>| <a href="http://" target="_blank">新昌县</a>| <a href="http://" target="_blank">济南市</a>| <a href="http://" target="_blank">新津县</a>| <a href="http://" target="_blank">楚雄市</a>| <a href="http://" target="_blank">喀喇</a>| <a href="http://" target="_blank">额尔古纳市</a>| <a href="http://" target="_blank">修文县</a>| <a href="http://" target="_blank">阿瓦提县</a>| <a href="http://" target="_blank">报价</a>| <a href="http://" target="_blank">凤城市</a>| <a href="http://" target="_blank">文安县</a>| <a href="http://" target="_blank">新营市</a>| <a href="http://" target="_blank">凯里市</a>| <a href="http://" target="_blank">池州市</a>| <a href="http://" target="_blank">景宁</a>| <a href="http://" target="_blank">五指山市</a>| <a href="http://" target="_blank">光山县</a>| <a href="http://" target="_blank">内丘县</a>| <a href="http://" target="_blank">余庆县</a>| <a href="http://" target="_blank">定南县</a>| <a href="http://" target="_blank">灵武市</a>| <a href="http://" target="_blank">平邑县</a>| <a href="http://" target="_blank">屏东县</a>| <a href="http://" target="_blank">武穴市</a>| <a href="http://" target="_blank">山东</a>| <a href="http://" target="_blank">鸡西市</a>| <a href="http://" target="_blank">奉节县</a>| <a href="http://" target="_blank">同德县</a>| <a href="http://" target="_blank">栾城县</a>| <a href="http://" target="_blank">远安县</a>| <a href="http://" target="_blank">澄迈县</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>