Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

JavaµÄ°²×°

    º®¼Ùµ½À´ÏëÔÚ¼Òѧµã¶«Î÷£¬ÎҾʹÓÍøÕ¾ÏÂÁËjdk1.6¡£ÏÂÈí¼þÊǺܼòµ¥ÔÚ°²×°Ê±ÓÖÖØÏÖ֮ǰ°²×°µÄÎÊÌ⣬»·¾³±äÁ¿Ð޸IJ»¶Ô¡£ÔÚÄǺķÑÁËÒ»¸ö¶àСʱû¸ãºÃ£¬ºÜÓôÃÆ¡£±ðÈË×°µÄÄÇô¼òµ¥£¬ÎÒÔõôŪÆðÀ´ÄÇô·ÑÊÂÄØ¡£ÎÒÔÚÍøÉϾÍÈ¥ËÑË÷½á¹û¶¼²»Æ¥Å䣬ÕæµÄ°ÑŪ»ðÁË¡£»¹±»Ê¦ÐÖºÍÀÏʦ˵ÁË£¬»Øµ½ÇÞÊÒÎÒÄÃÆðÊéÒ»¿´£¬ÏÈ°´ÊéÉϵÄд²»¶Ô¡£È»ºóÎÒ×Ðϸ¿´ÁËÊéÉϵÄ·¾¶£¬ÖÕÓÚ¶®ÁË¡£
   ÏÖÔÚÎÒ½«JavaµÄ°²×°Â·¾¶Ð´Ò»Ï£¬Ïȵã»÷ÎҵĵçÄÔµÄÓÒ¼üÓÐÏÂÀ­²Ëµ¥£¬µã»÷ÊôÐÔ¡£ÊôÐÔϵã»÷»·¾³±äÁ¿£¬µã»÷»·¾³±äÁ¿¡£Ð½¨»·¾³±äÁ¿£¬»·¾³±äÁ¿¼Óclasspath£¬path¡£classpathµÄ»·¾³±äÁ¿Êǽ«ÄãϵÄJava°²×°µÄ·¾¶¸øдһÏ¡£pathÒ²ÊÇÈç´Ë£¬ÀýÈ磺ÎÒ°²×°µÄÊÇjdk1.6¡£ÄÇôËüµÄ»·¾³±äÁ¿ÐÎʽÈçÏ£ºpath=%path%;D:\Program Files\Java\jdk1.6.0_10\bin                             classpath=.;D:\Program Files\Java\jdk1.6.0_10\lib¡£Ð޸ĺû·¾³±äÁ¿ºó¾ÍÐÐÁË£¬Äãϵİ汾²»Í¬Ð´µÄ¾Í²»Í¬¡£


Ïà¹ØÎĵµ£º

Java NIO APIÏê½â

 
Java NIO APIÏê½â
ÔÚJDK
1.4ÒÔÇ°£¬JavaµÄIO²Ù×÷¼¯ÖÐÔÚjava.ioÕâ¸ö°üÖУ¬ÊÇ»ùÓÚÁ÷µÄ×èÈû£¨blocking£©API¡£¶ÔÓÚ´ó¶àÊýÓ¦ÓÃÀ´Ëµ£¬ÕâÑùµÄAPIʹÓúܷ½
±ã£¬È»¶ø£¬Ò»Ð©¶ÔÐÔÄÜÒªÇó½Ï¸ßµÄÓ¦Óã¬ÓÈÆäÊÇ·þÎñ¶ËÓ¦Óã¬ÍùÍùÐèÒªÒ»¸ö¸üΪÓÐЧµÄ·½Ê½À´´¦ÀíIO¡£´ÓJDK 1.4Æð£¬NIO
API×÷Ϊһ¸ö»ùÓÚ»º³åÇø£¬²¢ÄÜÌṩ·Ç×èÈû(non-blo ......

JAVA¶ÔÏóµÄ´æ´¢Î»Öá¾À´×Ô»¥ÁªÍø¡¿

Java³ÌÐò¿ª·¢ÈËÔ±ÐèÒªÁ˽â¸÷¸ö´æ´¢ÇøÓòµÄÌصãÒÔ¼°¶ÔÐÔÄܵÄÓ°Ï졣ȻºóÔÙ¸ù¾ÝÐèÒªÀ´µ÷ÕûÓ¦ÓóÌÐòµÄÇøÓò·ÖÅä¡£×ܵÄÀ´Ëµ£¬ÔÚ²Ù×÷ϵͳÖÐÓÐÎå¸öµØ·½¿ÉÒÔÓÃÀ´±£´æÓ¦ÓóÌÐòÔËÐÐÖеÄÊý¾Ý¡£ÕâÀàÇøÓòµÄÌصãÒÔ¼°¶ÔÐÔÄܵÄÓ°Ïì·ÖÎöÈçÏ¡£
      ´æ´¢ÇøÓòÒ»£º¼Ä´æÆ÷
ËäȻͬÔÚÄÚ´æÖУ¬µ«ÊDz»Í¬µÄÇøÓòÓÉÓÚÓÃ;²»Í ......

JavaÖмÆʱÆ÷µÄʹÓÃ

import java.util.Timer;
import java.util.TimerTask;
public class TimerExample
{
    /**
     * JavaÖмÆʱÆ÷µÄʹÓÃ
     * Time: 21:19 2010-1-5
     */
    Timer localTimer;
    public Ti ......

JAVAϵͳºÍDOMINOͨ¹ýLDAP¼¯³É·½

LDAPÊDZê×¼ÇáÁ¿Ä¿Â¼·ÃÎÊЭÒé(Lightweight Directory Access Protocol)£¬Í¨¹ýLDAP£¬Äã¿ÉÒÔ·ÃÎÊĿ¼ÖеÄÓû§ÐÅÏ¢£¬½øÐÐÓû§ÑéÖ¤¡£DominoR5/6Ö§³Ö±ê×¼µÄLDAP v3Ŀ¼·þÎñ¡£±¾ÎÄͨ¹ýÃèÊöʹÓÃJNDI·ÃÎÊDominoĿ¼µÄ¹ý³Ì£¬Îª´ó¼Ò½éÉÜÈçºÎ³ä·ÖÀûÓûú¹¹ÖÐÒÑÓеÄDominoĿ¼×ÊÔ´¡£±¾ÎÄËùÊöµÄ·½·¨Ò²ÊÊÓÃÓÚÆäËûÖ§³ÖLDAP v3µÄĿ¼·þÎñÆ÷¡£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ