锘??xml version="1.0" encoding="utf-8" standalone="yes"?>99久久精品情趣,国产精品久久久久一区二区国产 ,久久精品中文http://www.aygfsteel.com/Hut/zh-cnTue, 17 Jun 2025 18:19:37 GMTTue, 17 Jun 2025 18:19:37 GMT60鏁忔嵎闅忔兂- -http://www.aygfsteel.com/Hut/archive/2005/08/11/9788.htmlHutHutThu, 11 Aug 2005 03:37:00 GMThttp://www.aygfsteel.com/Hut/archive/2005/08/11/9788.htmlhttp://www.aygfsteel.com/Hut/comments/9788.htmlhttp://www.aygfsteel.com/Hut/archive/2005/08/11/9788.html#Feedback0http://www.aygfsteel.com/Hut/comments/commentRss/9788.htmlhttp://www.aygfsteel.com/Hut/services/trackbacks/9788.htmlhttp://canonical.blogdriver.com/canonical/741069.html

  鏁忔嵎(Agile)寮鍙戠殑鐏甸瓊鏄紨鍖栵紙evolution錛?鍏跺叿浣撶殑榪囩▼琛ㄧ幇涓鴻凱浠? (iteration)錛岃凱浠g殑姣忎竴姝ュ氨鏄噸鏋?refactor)錛岃屽崟鍏冩祴璇?unit test)涓庢寔緇泦鎴?continuous integration)妯℃嫙浜嗙▼搴忕敓瀛樼殑鐜錛堢害鏉燂級錛屾槸merciless refactoring鐨勬妧鏈繚闅溿備粠鏁板涓婃垜浠煡閬撹凱浠f繪湁涓敹鏁涢棶棰樸備竴浜涢噸鍨嬫柟娉曞皢鍙樺寲錛堟棤璁烘槸姝f柟鍚戣繕鏄弽鏂瑰悜鐨勶級絳変環浜庨闄╋紝鑰屽懼悜浜庢秷闄ゅ紑鍙? 涓殑涓嶇‘瀹氭э紝鍏朵腑鐨勮凱浠f槸瓚嬩簬榪呴熸敹鏁涚殑銆傛晱鎹風殑榪唬鏄紑鏀懼紡鐨勶紝寮鴻皟鎷ユ姳鍙樺寲銆傛晱鎹風紪紼嬫帓鏂ヨ繃搴﹁璁★紝闄や簡榪囧害璁捐浼氬鍔犳垚鏈箣澶栵紝鍙︿竴涓師鍥犲氨鏄繃 搴﹁璁′細闃葷閲嶆瀯錛岄樆紕嶅彉鍖栥傛晱鎹風殑鐩爣涓嶆槸鍍靛寲鐨勭ǔ瀹氭ц屾槸鐏墊椿鐨勯傚簲鎬с傚綋鐒舵晱鎹瘋凱浠f湰韜茍涓嶈兘淇濊瘉緋葷粺鎸佷箙鐨勯傚簲鎬э紝鍗充嬌鏄嚜鐒剁晫涓殑榪唬鍜屾紨鍖栵紝 澶辮觸鐨勬渚嬩篃鏄瘮姣旂殕鏄傚ぇ閲忕殑鐢熺墿鐗╃鍦ㄧ粡鍘嗕簡鍘嗗彶鐨勮緣鐓屼箣鍚庢渶緇堜粛鐒墮毦鍏嶈宀佹湀鎵鍩嬭懍銆?br>
    鍦ㄥ摬瀛︿笂錛屼竴涓倴璁哄紡璇存硶鏄湁瀛樺湪浜庢棤涓紝鎴栬呰綆鍗曟墠鑳芥洿澶嶆潅銆傛澂瀛愭槸絀虹殑錛屾墍浠ヨ兘鍖呭涓囩墿銆傜幇鍦ㄤ粈涔堥兘娌″仛錛屽皢鏉ユ墠鑳芥牴鎹渶瑕佸喅瀹氬浣曞幓鍋氥傛墍璋撻奔涓? 鐔婃帉涓嶅彲鍏煎緱錛屼竴鏃﹀仛鍑轟簡閫夋嫨錛屽彲鑳芥剰鍛崇潃蹇呴』鏀懼純灝嗘潵榪涜鍏朵粬閫夋嫨鐨勬満浼氥傜畝鍗曠殑鐩殑涓嶄粎浠呮槸涓轟簡鏈蹇殑瀹屾垚褰撳墠鐨勪換鍔★紝鑰屼笖瑕佷負灝嗘潵淇濈暀鍙樺寲鐨勫彲鑳姐? 榪囧垎寮鴻皟鐩殑鎬э紝鎴戞兂鏄繚鑳屼簡婕斿寲鐨勬湰璐ㄣ傞珮鎵嬭繃鎷涳紝鏈蹇屾妸鎷涙暟鐢ㄨ併傛垜浠墍瑕佸仛鐨勬槸灝介噺鎺ㄨ繜鍐沖畾鐨勬椂鍒伙紝騫跺垏瀹炵殑淇濊瘉鑷繁闅忔椂鎷ユ湁閫夋嫨鐨勬潈鍒┿?br>
    澶氭牱鎬ф槸鍦ㄦ紨鍖栦腑鐢熷瓨鐨勫叧閿備絾澶氭牱鎬т笉鏄悗澶╃殑銆傜敓鐗╁鐨勫疄楠岃瘉瀹烇紝鐗╃鐨勫彉寮傚茍涓嶆槸鐜鍙樺寲鍚庡彂鐢熺殑錛岃屾槸濮嬬粓瀛樺湪鐫騫墮殣钘忕潃錛岀幆澧冧粎浠呰搗浜嗘閫夊拰鍊? 澧炵殑浣滅敤銆傞傚簲鎬х殑緋葷粺鎬昏鍏佽涓瀹氱殑鐏拌壊鍦板甫錛屾湁鏃禿o something for nothing.



Hut 2005-08-11 11:37 鍙戣〃璇勮
]]>
浣跨敤Ldap榪炴帴姹?/title><link>http://www.aygfsteel.com/Hut/archive/2005/08/01/8942.html</link><dc:creator>Hut</dc:creator><author>Hut</author><pubDate>Mon, 01 Aug 2005 09:21:00 GMT</pubDate><guid>http://www.aygfsteel.com/Hut/archive/2005/08/01/8942.html</guid><wfw:comment>http://www.aygfsteel.com/Hut/comments/8942.html</wfw:comment><comments>http://www.aygfsteel.com/Hut/archive/2005/08/01/8942.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/Hut/comments/commentRss/8942.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/Hut/services/trackbacks/8942.html</trackback:ping><description><![CDATA[<!--StartFragment --> 鏉ユ簮錛?A >http://java.sun.com/products/jndi/tutorial/ldap/connect/pool.html</A><BR><BR>Sample錛?BR><PRE>import javax.naming.*;<BR>import javax.naming.directory.*;<BR><BR>import java.util.Hashtable;<BR><BR>/**<BR> * Demonstrates how to enable connection pooling. Use debug option<BR> * to observe connection usage.<BR> *<BR> * usage: java -Dcom.sun.jndi.ldap.connect.pool.debug=fine UsePool<BR> */<BR>class UsePool {<BR> public static void main(String[] args) {<BR> // Set up environment for creating initial context<BR> Hashtable env = new Hashtable(11);<BR> env.put(Context.INITIAL_CONTEXT_FACTORY, <BR> "com.sun.jndi.ldap.LdapCtxFactory");<BR> env.put(Context.PROVIDER_URL, "ldap://localhost:389/o=JNDITutorial");<BR><BR> // Enable connection pooling<BR> env.put("com.sun.jndi.ldap.connect.pool", "true");<BR><BR> try {<BR> // Create one initial context (Get connection from pool)<BR> DirContext ctx = new InitialDirContext(env);<BR><BR> System.out.println(ctx.getAttributes("ou=NewHires"));<BR><BR> // do something useful with ctx<BR><BR> // Close the context when we're done<BR> ctx.close(); // Return connection to pool<BR><BR> // Create another initial context (Get connection from pool)<BR> DirContext ctx2 = new InitialDirContext(env);<BR><BR> System.out.println(ctx2.getAttributes("ou=People"));<BR><BR> // do something useful with ctx2<BR><BR> // Close the context when we're done<BR> ctx2.close(); // Return connection to pool<BR><BR> } catch (NamingException e) {<BR> e.printStackTrace();<BR> }<BR> }<BR>}</PRE><A name=TIMEOUT> <H4>Creation Timeout</H4></A>The pool of connections maintained by the LDAP service provider may be limited in size; this is described in detail in the <A >Connection Pooling Configuration</A> section. When connection pooling has been enabled and no pooled connection is available, the client application will block, waiting for an available connection. You can use the <TT>"com.sun.jndi.ldap.connect.timeout"</TT> environment property to specify how long to wait for a pooled connection. If you omit this property, the application will wait indefinitely. <P>This same property is also used to specify a timeout period for establishment of the LDAP connection, as described in the <A >Connection Creation</A> section. </P> <H4>When Not to Use Pooling</H4>Pooled connections are intended to be reused. Therefore, if you plan to perform operations on a <TT>Context</TT> instance that might alter the underlying connection's state, then you should not use connection pooling for that <TT>Context</TT> instance. For example, if you plan to invoke the Start TLS extended operation on a <TT>Context</TT> instance, or plan to change security-related properties (such as <TT>"java.naming.security.principal"</TT> or <TT>"java.naming.security.protocol"</TT>) after the initial context has been created, you should not use connection pooling for that <TT>Context</TT> instance because the LDAP provider does not track any such state changes. If you use connection pooling in such situations, you might be compromising the security of your application.<BR><BR>----------------------------------------------------------------------------------------------------<BR> <H2>Connection Pooling Configuration</H2><A >http://java.sun.com/products/jndi/tutorial/ldap/connect/config.html</A> <img src ="http://www.aygfsteel.com/Hut/aggbug/8942.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/Hut/" target="_blank">Hut</a> 2005-08-01 17:21 <a href="http://www.aygfsteel.com/Hut/archive/2005/08/01/8942.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>