Java¶àÏ̱߳à³Ì×ܽá
Ò»¡¢ÈÏʶ¶àÈÎÎñ¡¢¶à½ø³Ì¡¢µ¥Ï̡߳¢¶àÏß³Ì
ÒªÈÏʶ¶àÏ߳̾ÍÒª´Ó²Ù×÷ϵͳµÄÔÀí˵Æð¡£
ÒÔÇ°¹ÅÀϵÄDOS²Ù×÷ϵͳ£¨V 6.22£©Êǵ¥ÈÎÎñµÄ£¬»¹Ã»ÓÐÏ̵߳ĸÅÄϵͳÔÚÿ´ÎÖ»ÄÜ×öÒ»¼þÊÂÇé¡£±ÈÈçÄãÔÚcopy¶«Î÷µÄʱºò²»ÄÜrenameÎļþÃû¡£ÎªÁËÌá¸ßϵͳµÄÀûÓÃЧÂÊ£¬²ÉÓÃÅú´¦ÀíÀ´ÅúÁ¿Ö´ÐÐÈÎÎñ¡£
ÏÖÔڵIJÙ×÷ϵͳ¶¼ÊǶàÈÎÎñ²Ù×÷ϵͳ£¬Ã¿¸öÔËÐеÄÈÎÎñ¾ÍÊDzÙ×÷ϵͳËù×öµÄÒ»¼þÊÂÇ飬±ÈÈçÄãÔÚÌý¸èµÄͬʱ»¹ÔÚÓÃMSNºÍºÃÓÑÁÄÌì¡£Ìý¸èºÍÁÄÌì¾ÍÊÇÁ½¸öÈÎÎñ£¬Õâ¸öÁ½¸öÈÎÎñÊǓͬʱ”½øÐеġ£Ò»¸öÈÎÎñÒ»°ã¶ÔÓ¦Ò»¸ö½ø³Ì£¬Ò²¿ÉÄÜ°üº¬ºÃ¼¸¸ö½ø³Ì¡£±ÈÈçÔËÐеÄMSN¾Í¶ÔÓ¦Ò»¸öMSNµÄ½ø³Ì£¬Èç¹ûÄãÓõÄÊÇwindowsϵͳ£¬Äã¾Í¿ÉÒÔÔÚÈÎÎñ¹ÜÀíÆ÷Öп´µ½²Ù×÷ϵͳÕýÔÚÔËÐеĽø³ÌÐÅÏ¢¡£
Ò»°ãÀ´Ëµ£¬µ±ÔËÐÐÒ»¸öÓ¦ÓóÌÐòµÄʱºò£¬¾ÍÆô¶¯ÁËÒ»¸ö½ø³Ì£¬µ±È»ÓÐЩ»áÆô¶¯¶à¸ö½ø³Ì¡£Æô¶¯½ø³ÌµÄʱºò£¬²Ù×÷ϵͳ»áΪ½ø³Ì·ÖÅä×ÊÔ´£¬ÆäÖÐ×îÖ÷ÒªµÄ×ÊÔ´ÊÇÄÚ´æ¿Õ¼ä£¬ÒòΪ³ÌÐòÊÇÔÚÄÚ´æÖÐÔËÐеġ£ÔÚ½ø³ÌÖУ¬ÓÐЩ³ÌÐòÁ÷³Ì¿éÊÇ¿ÉÒÔÂÒÐòÖ´Ðеģ¬²¢ÇÒÕâ¸ö´úÂë¿é¿ÉÒÔͬʱ±»¶à´ÎÖ´ÐС£Êµ¼ÊÉÏ£¬ÕâÑùµÄ´úÂë¿é¾ÍÊÇÏß³ÌÌå¡£Ïß³ÌÊǽø³ÌÖÐÂÒÐòÖ´ÐеĴúÂëÁ÷³Ì¡£µ±¶à¸öÏß³ÌͬʱÔËÐеÄʱºò£¬ÕâÑùµÄÖ´ÐÐģʽ³ÉΪ²¢·¢Ö´ÐС£
¶àÏ̵߳ÄÄ¿µÄÊÇΪÁË×î´óÏ޶ȵÄÀûÓÃCPU×ÊÔ´¡£
Java±àд³ÌÐò¶¼ÔËÐÐÔÚÔÚJavaÐéÄâ»ú£¨JVM£©ÖУ¬ÔÚJVMµÄÄÚ²¿£¬³ÌÐòµÄ¶àÈÎÎñÊÇͨ¹ýÏß³ÌÀ´ÊµÏֵġ£Ã¿ÓÃjavaÃüÁîÆô¶¯Ò»¸öjavaÓ¦ÓóÌÐò£¬¾Í»áÆô¶¯Ò»¸öJVM½ø³Ì¡£ÔÚͬһ¸öJVM½ø³ÌÖУ¬ÓÐÇÒÖ»ÓÐÒ»¸ö½ø³Ì£¬¾ÍÊÇËü×Ô¼º¡£ÔÚÕâ¸öJVM»·¾³ÖУ¬ËùÓгÌÐò´úÂëµÄÔËÐж¼ÊÇÒÔÏß³ÌÀ´ÔËÐС£
Ò»°ã³£¼ûµÄJavaÓ¦ÓóÌÐò¶¼Êǵ¥Ï̵߳ġ£±ÈÈ磬ÓÃjavaÃüÁîÔËÐÐÒ»¸ö×î¼òµ¥µÄHelloWorldµÄJavaÓ¦ÓóÌÐòʱ£¬¾ÍÆô¶¯ÁËÒ»¸öJVM½ø³Ì£¬JVMÕÒµ½³ÌÐò³ÌÐòµÄÈë¿Úµãmain()£¬È»ºóÔËÐÐmain()·½·¨£¬ÕâÑù¾Í²úÉúÁËÒ»¸öỊ̈߳¬Õâ¸öÏ̳߳Æ֮ΪÖ÷Ï̡߳£µ±main·½·¨½áÊøºó£¬Ö÷Ïß³ÌÔËÐÐÍê³É¡£JVM½ø³ÌÒ²Ëæ¼´Í˳ö ¡£
¶ÔÓÚÒ»¸ö½ø³ÌÖеĶà¸öÏß³ÌÀ´Ëµ£¬¶à¸öÏ̹߳²Ïí½ø³ÌµÄÄÚ´æ¿é£¬µ±ÓÐеÄÏ̲߳úÉúµÄʱºò£¬²Ù×÷ϵͳ²»·ÖÅäеÄÄڴ棬¶øÊÇÈÃÐÂÏ̹߳²ÏíÔÓеĽø³Ì¿éµÄÄÚ´æ¡£Òò´Ë£¬Ï̼߳äµÄͨÐźÜÈÝÒ×£¬ËÙ¶ÈÒ²ºÜ¿ì¡£²»Í¬µÄ½ø³ÌÒòΪ´¦ÓÚ²»Í¬µÄÄÚ´æ¿é£¬Òò´Ë½ø³ÌÖ®¼äµÄͨÐÅÏà¶ÔÀ§ÄÑ¡£
ʵ¼ÊÉÏ£¬²Ù×÷µÄϵͳµÄ¶à½ø³ÌʵÏÖÁ˶àÈÎÎñ²¢·¢Ö´ÐУ¬³ÌÐòµÄ¶àÏß³ÌʵÏÖÁ˽ø³ÌµÄ²¢·¢Ö´ÐС£¶àÈÎÎñ¡¢¶à½ø³Ì¡¢¶àÏ̵߳ÄÇ°ÌᶼÊÇÒªÇó²Ù×÷ϵͳÌṩ¶àÈÎÎñ¡¢¶à½ø³Ì¡¢¶àÏ̵߳ÄÖ§³Ö¡£
 
Ïà¹ØÎĵµ£º
·½·¨Ò»£ºÖ»¼ÓÃÜ
import java.security.*;
import java.security.spec.*;
class MD5_test {
public final static String MD5(String s) {
char hexDigits[] = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
&n ......
Genaral Principles Ò»°ãÔ¼¶¨
1.Adhere to the style
of the original.
±£³Ö×î³õµÄÑùʽ¡£
2.Adhere to the Principle of Least
Astonishment.
×ñÊØ×îС¾ªÆæÔÔò¡£
3.Do it right the first time.
µÚÒ»´Î¾ÍÓ¦µ±×öºÃ¡£
4.Document any deviations.
¶ÔÓÚÈκα³À붼Ӧµ±Îĵµ×¢ÊÍ¡£
Formatting
Convent ......
Öµ´«µÝ£º·½·¨µ÷ÓÃʱ£¬Êµ¼Ê²ÎÊý°ÑËüµÄÖµ´«µÝ¸ø¶ÔÓ¦µÄÐÎʽ²ÎÊý£¬·½·¨Ö´ÐÐÖÐÐÎʽ²ÎÊýÖµµÄ¸Ä±ä²»Ó°Ïìʵ¼Ê²Î ÊýµÄÖµ¡£
ÒýÓô«µÝ£ºÒ²³ÆΪ´«µØÖ·¡£·½·¨µ÷ÓÃʱ£¬Êµ¼Ê²ÎÊýµÄÒýÓÃ(µØÖ·£¬¶ø²»ÊDzÎÊýµÄÖµ)±»´«µÝ¸ø·½·¨ÖÐÏà¶ÔÓ¦µÄÐÎʽ²ÎÊý£¬ÔÚ·½·¨Ö´ÐÐÖУ¬¶ÔÐÎʽ²ÎÊýµÄ²Ù×÷ʵ¼ÊÉϾÍÊǶÔʵ¼Ê²ÎÊýµÄ²Ù×÷£¬·½·¨Ö´ÐÐÖÐÐÎʽ²ÎÊýÖµµÄ¸Ä±ä ......
ÔÚ·Ö²¼Ê½·þÎñ¿ò¼ÜÖУ¬Ò»¸ö×î»ù´¡µÄÎÊÌâ¾ÍÊÇÔ¶³Ì·þÎñÊÇÔõôͨѶµÄ£¬ÔÚJavaÁìÓòÖÐÓкܶà¿ÉʵÏÖÔ¶³ÌͨѶµÄ¼¼Êõ£¬ÀýÈ磺RMI¡¢MINA¡¢ESB¡¢ Burlap¡¢Hessian¡¢SOAP¡¢EJBºÍJMS µÈ£¬ÕâЩÃû´ÊÖ®¼äµ½µ×ÊÇЩʲô¹ØϵÄØ£¬ËüÃDZ³ºóµ½µ×ÊÇ»ùÓÚʲôÔÀíʵÏÖµÄÄØ£¬Á˽âÕâЩÊÇʵÏÖ·Ö²¼Ê½·þÎñ¿ò¼ÜµÄ»ù´¡ÖªÊ¶£¬¶øÈç¹ûÔÚÐÔÄÜÉÏÓиߵÄÒªÇóµÄ»°£¬Ä ......
JavaScriptºÍJavaµÄÇø±ð
¡¡¡¡ËäÈ»JavaScriptÓëJavaÓнôÃܵÄÁªÏµ£¬µ«È´ÊÇÁ½¸ö¹«Ë¾¿ª·¢µÄ²»Í¬µÄÁ½¸ö²úÆ·¡£JavaÊÇSUN¹«Ë¾ÍƳöµÄÐÂÒ»´úÃæÏò¶ÔÏóµÄ³ÌÐòÉè¼ÆÓïÑÔ£¬ÌرðÊʺÏÓÚInternetÓ¦ÓóÌÐò¿ª·¢£»¶øJavaScriptÊÇNetscape¹«Ë¾µÄ²úÆ·£¬ÆäÄ¿µÄÊÇΪÁËÀ©Õ¹Netscape Navigator¹¦ÄÜ,¶ø¿ª·¢µÄÒ»ÖÖ¿ÉÒÔǶÈëWebÒ³ÃæÖеĻùÓÚ¶ÔÏóºÍʼþÇý¶ ......