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

JAVAÏîÄ¿¼Ü¹¹¡úÎҵļû½â

ÔÚÍøÉÏÒ²¿´Á˺ܶණÎ÷£¬¹ØÓÚJAVAÈí¼þ¼Ü¹¹·½ÃæµÄ¶«Î÷£¬ÏÖÔÚ»¹ÕæÊǺÜÄÑÕÒµ½£¬²»¹ý£¬Èí¼þ¿ª·¢µÄ¼Ü¹¹»ù±¾ÊÇÏàͬµÄ¡£ËùÒÔ£¬ÎÒÔÚÍøÉϲéÕÒÁ˺ܶàÆäËûÓïÑÔ¹ØÓÚÈí¼þ¼Ü¹¹·½ÃæµÄÎÄÕ¡£ÔÙÕâÀïÒ²À´ËµËµ×Ô¼º¶ÔÈí¼þ¼Ü¹¹£¬ÌرðÊÇÔÚJAVAÏîÄ¿¼Ü¹¹·½ÃæµÄ¿´·¨¡£ËµµÃ²»Ò»¶¨¶Ô£¬µ«ÕâÒ²ÊÇÎÒ¼¸ÄêÀ´µÄ×ܽá°É¡£
1. ¾¡Á¿²»Òª¿¼ÂÇÏîÄ¿ÍâµÄÖØÓÃ
Ðí¶àÈËÈÏΪÄÜÌá¸ßÈí¼þµÄÖØÓöÈÊÇ×îºÃµÄ£¬È»¶øÿ¸öÏîĿʵ¼ÊÇé¿ö¶¼»áÓÐËù²»Í¬£¬ÔÚÉè¼ÆÏîÄ¿ÖеÄij¸öÄ£¿é¡¢·½·¨Ê±£¬¹ý¶àµÄ¿¼ÂÇÏîÄ¿ÍâµÄÖØÓ㬱ØÈ»»áÔö¼ÓÏîÄ¿µÄ¸´ÔӶȣ¬Ôö¼Ó¶Ô¿ª·¢Ê±¼äµÄ¿ªÏú¡£Ò²ÐíÓÐÈË»á˵£¬Õâ»á¼õÉÙÏÂÒ»ÏîÄ¿µÄ¿ªÏú£¬ÊÔÎÊ£¬ÏÂÒ»ÏîÄ¿ÊÇʲôÏîÄ¿£¿ÓÐʲôÐèÇ󣿸÷·½ÃæÓÐʲôӰÏìÒòËØ£¿ÓÐË­»áÔÚµ±Ç°ÖªµÀÕâÒ»ÇС£ Èç¹ûÕæÒªÖØÓã¬Ó¦¸ÃÊÇÔÚÏîÄ¿½áÊøºóÔÙ½«¿ÉÖØÓõIJ¿·ÖÌáÈ¡³öÀ´£¬¾­¹ýÐ޸ġ¢ÓÅ»¯ºó×öΪÆóÒµµÄ¿ÉÖØÓÃ×ʲú£¬¶ø²»Êǵ±Ç°ÏîÄ¿ÖеÄÒ»ÏáÇéÔ¸¡£¿¼ÂÇÏîÄ¿ÍâµÄÖØÓÃÐÔ£¬ÕâÊǺܶà¸Õ´ÓÊÂÈí¼þ¹¤×÷µÄ³ÌÐòÔ±³£·¸µÄ´íÎó£¬ÍùÍùÊÇ¿¼ÂǵÃÔ½¶à£¬·´¶ø×ö³öÀ´µÄÈí¼þ´ï²»µ½Éè¼ÆµÄЧ¹û£¬Íê²»³É»ù±¾µÄ¹¦ÄÜ»òÕß´úÂëÂß¼­¹ý¶à£¬³ÌÐò¹¦Äܲ»ÍêÉƵȵȡ£
2.¾­³£¼ì²éÏîÄ¿¼Ü¹¹
ÏîÄ¿¼Ü¹¹Í¨³£ÊÇÔÚÏîĿʵÏÖ¿ªÊ¼Ç°¾ÍÒÑÈ·¶¨µÄ¶«Î÷£¬ÊÇÒ»¸ö×ÜÌåµÄÉè¼Æ¡£È»¶ø£¬ÔÚÕâʱ£¬¶ÔÏîÄ¿ÐèÇóµÄÀí½â¡¢¸´ÔӶȵĹÀ¼Æ¶¼»¹Í£ÁôÔÚÒ»¸ö³õʼ½×¶Î¡£Èç¹ûÔÚÏîÄ¿¿ª·¢¹ý³ÌÖв»ÄÜËæ×ŶÔÏîÄ¿µÄÀí½â¶ø¸Ä½ø¼Ü¹¹£¬±ØÈ»ÈÃÏîÄ¿ÖеijÉÔ±¶¼°´´íÎóµÄ¼Ü¹¹È¥¿ª·¢ÏîÄ¿¡£ËùÒÔ£¬±ØÐë¾­³£¼ì²éÏîÄ¿µÄ¼Ü¹¹£¬½øÐбØÒªµÄÖع¹¡£
3.Öع¹
ÓÐÈË˵£¬¶¼Ð´ÁËÕâô¶àÁË£¬ÔÙÐ޸IJ»ÊÇÀË·Ñʱ¼äÂï¡£Ëû¿ÉÄÜûÓÐÏë¹ý£¬Ò»¸öÏÂÎçµÄÖع¹¿ÉÒÔ¼Ó¿ìÒԺ󼸸öÔµĿª·¢Ëٶȣ¬Õâ½ÚÊ¡ÏÂÀ´µÄʱ¼äÊÇÎÞ·¨ÏëÏóµÄ¡£ÔÙÕߣ¬Í¨¹ýÖع¹£¬Í¨³£ÄÜÏëµ½¸ü¶à¼òµ¥µÄ·½·¨À´´úÌæÏÖÓеÄʵÏÖ£¬ÕâÑùµÄ¾­Ñ飬ͬÑù¿ÉÒÔ¼ò»¯ÆäËûÄ£¿éµÄ¿ª·¢¡£
4.±ÜÃâ¹ý¶È¼¯³É£¬ÈÃÿ¸öÄ£¿éÖ»×ö×Ô¼ºµÄÊÂ
 Ò»¸ö³£¼ûµÄOA¿ª·¢Àý×ÓÊÇ£¬ÔÚÒµÎñϵͳÖÐͨ³£»áÓÐÐí¶àµÄÉóÅú£¬ºÜ¶àÈËÒ»ÏÂ×ӿ϶¨»áÏëµ½°ÑÉóÅú×ö³ÉÒ»¸öͨÓõÄÄ£¿é¡£ÕâÊÇûÓÐÎÊÌâµÄ£¬È»¶øͨ³£µÄÎÊÌâÊÇ£¬Ì«¶àµÄÈ˽«ÉóÅú½áÊøºóµÄÒµÎñ´¦ÀíÒ²·Åµ½ÁËÉóÅúÄ£¿éµÄÒµÎñÂß¼­ÖУ¬Æäʵ£¬ÄÇЩÊǸ÷ÒµÎñÄ£¿é×Ô¼ºµÄÊ£¬ÉóÅúÓ¦¸ÃÖ»Íê³ÉÉóÅú¼´¿É£¬ÖÁÓÚÉóÅú½áÊøºóÔõô°ì£¬ÈøøÉÕâʵÄÄ£¿é×Ô¼ºÈ¥´¦Àí¡£
5.±ÜÃâ¹ý¶ÈÁé»î
Éè¼ÆºÍ´úÂë²¢²»ÊÇÔ½Áé»îÔ½ºÃµÄ¡£Ò»¸ö³£¼ûµÄÀý×ÓÊÇ£¬Ê¹Ó÷ºÐÍʱ¿ÉÒÔʹÀà»òÕß·½·¨²Ù×÷²»Í¬µÄ¶ÔÏó£¬È»¶ø£¬ÔÚ JAVA ³£ÓÃµÄ Èý ²ã¼Ü¹¹ÖУ¬Èç¹ûһϵÁеÄÀà±¾À´¾ÍÊÇÕë¶Ôij¸öÌض¨ÊµÌåµÄ²Ù×÷£¬¾ÍûÓбØÒª»¹Ö¸¶¨Îª·ºÐÍ£¬ÔÙÔÚʹÓÃÊ


Ïà¹ØÎĵµ£º

javaÈëÃÅ

 Javaѧϰ´ÓÈëÃŵ½¾«Í¨ 
Ò»¡¢ JDK (Java Development Kit) 
JDKÊÇÕû¸öJavaµÄºËÐÄ£¬°üÀ¨ÁËJavaÔËÐл·¾³£¨Java Runtime Envirnment£©£¬Ò»¶ÑJava¹¤¾ßºÍJava»ù´¡µÄÀà¿â(rt.jar)¡£²»ÂÛʲôJavaÓ¦Ó÷þÎñÆ÷ʵÖʶ¼ÊÇÄÚÖÃÁËij¸ö°æ±¾µÄJDK¡£Òò´ËÕÆÎÕJDKÊÇѧºÃJavaµÄµÚÒ»²½¡£×îÖ÷Á÷µÄJ ......

JavaµÄFTPЭÒ鼶¿Í»§¶ËʵÏÖÏê½â

10.2.4.3 Àý×Ó3£ºÍøÂçÓ¦ÓòãЭÒéµÄ¿ª·¢
 
       Ç廪´óѧ³ö°æÉ硶Java³ÌÐòÔ±£¬ÉÏ°àÄǵãʶù¡·×÷ÕߣºÖÓÉù——µÚ10Õ¡¶¸ßÊÖÓжà¸ß²ËÄñÓжà²Ë¡·²¿·Ö½ÚÑ¡¡£
       ´ó¼ÒÒ²Ðí¶¼ÓùýFTPÉÏ´«ÏÂÔع¤¾ß£¬±ÈÈç“LeapFTP”Õâ¸ö¹¤¾ßÊÇÒ ......

javaѧϰ±Ê¼Çstruts action³õʼ»¯Ê±¼äºÍ´ÎÊý

´ó¼Ò¶¼ÖªµÀ actionÅäÖÃÔÚstruts-config.xmlÖУ¬¶østruts-config.xmlÊÇÔÚtomcatÆô¶¯Ê±¶ÁÈ¡µÄÄÇactionÊDz»ÊÇÔÚÕâ¸öʱºò³õʼ»¯µÄ
ÎÒÃÇ¿ÉÒÔÔÚactionÀàÀï½øÐвâÊÔ ÔÚ¹¹Ô캯ÊýÀï´òÓ¡Ò»¾ä»° ¾­²âÊÔactionÊÇÔÚµ÷ÓÃactionʱ³õʼ»¯£¬²¢ÇÒ¶à´Îµ÷ÓÃÖ»³õʼ»¯Ò»´Î£¬
ÕâÒ²¾ÍÊÇËùÓеÄÇëÇó¹²ÏíactionʵÀý
ËùÒÔactionÊÇÏ̲߳»°²È«µÄ£¬ ......

javaÉú²úÕßÏû·ÑÕß

ÌâÄ¿£ºÇëÓöàÏß³ÌʵÏÖÒ»¸öÉú²úÕßÀàºÍÒ»¸öÏû·ÑÕßÀ࣬Éú²úÕßËæ»úÉú³É20¸ö×Ö·û£¬Ïû·ÑÕß½«×Ö·û´òÓ¡µ½¿ØÖÆ̨¡£
class SyncStack{ //ͬ²½¶ÑÕ»Àà
¡¡¡¡¡¡private int index = 0; //¶ÑÕ»Ö¸Õë³õʼֵΪ0
¡¡¡¡¡¡private char []buffer = new char[6]; //¶ÑÕ»ÓÐ6¸ö×Ö·ûµÄ¿Õ¼ä
¡¡¡¡¡¡public synchronized void push(char c){ //¼ÓÉ ......

ʹÓÃJAVAÖеĶ¯Ì¬´úÀíʵÏÖÊý¾Ý¿âÁ¬½Ó³Ø

        ×÷Õßͨ¹ýʹÓÃJAVAÖеĶ¯Ì¬´úÀíʵÏÖÊý¾Ý¿âÁ¬½Ó³Ø£¬Ê¹Ê¹ÓÃÕß¿ÉÒÔÒÔÆÕͨµÄjdbcÁ¬½ÓµÄʹÓÃÏ°¹ßÀ´Ê¹ÓÃÁ¬½Ó³Ø¡£
Êý¾Ý¿âÁ¬½Ó³ØÔÚ±àдӦÓ÷þÎñÊǾ­³£ÐèÒªÓõ½µÄÄ£¿é£¬Ì«¹ýƵ·±µÄÁ¬½ÓÊý¾Ý¿â¶Ô·þÎñÐÔÄÜÀ´½²ÊÇÒ»¸öÆ¿¾±£¬Ê¹Óûº³å³Ø¼¼Êõ¿ÉÒÔÀ´Ïû³ýÕâ¸öÆ¿¾±¡£ÎÒÃÇ¿ÉÒÔÔÚ»¥ÁªÍøÉÏÕÒµ½ºÜ¶à¹ØÓ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ