´Ó Java ´úÂëÄæÏò¹¤³ÌÉú³É UML ÀàͼºÍÐòÁÐͼ
±¾ÎÄÃæÏòÓÚÄÇЩÈí¼þ¼Ü¹¹Ê¦£¬Éè¼ÆʦºÍ¿ª·¢ÈËÔ±£¬ËûÃÇÏëʹÓà IBM® Rational® Software Architect ´Ó Java™ Ô´´úÂëÀ´ÄæÏò¹¤³ÌÉú³É UML ÀàºÍÐòÁÐͼ¡£ ÄæÏò¹¤³Ì¾³£±»ÓÃÀ´´ÓÒÑÓеÄÔ´´úÂëÖÐÒÔÒ»ÖÖ³éÏóÄ£ÐÍ UML ¸ñʽÀ´»ñµÃ¶ªÊ§µÄÉè¼ÆÎĵµ£¬Æä¿ÉÒÔÓÃÀ´Ñо¿Ò»¸öϵͳµÄ¾²Ì¬½á¹¹ºÍ¶¯Ì¬ÐÐΪ£¬²¢ÓÃÓÚÀ©Õ¹ÐµÄÌØÐÔµ½²úÆ·¡£ ×÷ÕßÏêϸ˵Ã÷ÁËʹÓà IBM Rational Software Architect ½øÐÐÄæÏò¹¤³ÌµÄÏÞÖÆ£¬²¢²ûÊöÁË¿Ë·þÕâЩÏÞÖƵļ¼Êõ¡£ Äú½«´ÓʹÓÃÕâЩ¼¼Êõ¼¼ÇɺÍÇÏÃÅÖÐÊÜÒ棬ÒÔʶ±ð×é¼þ£¬²¢´Ó Java ÀàÖвúÉúÏñ UML ÀàºÍÐòÁÐͼÕâÑùµÄ¸ß²ã³éÏó¡£
Èí¼þ½á¹¹Ê¦¡¢¿ª·¢ÈËÔ±¼°²âÊÔÈËÔ±¶¼Êì֪ͳһ½¨Ä£ÓïÑÔ£¨UML£©£¬¸ÃÓïÑÔÊÊÓÃÓÚÎĵµ»¯ÓÃÀý¡¢Ààͼ¡¢ÐòÁÐͼºÍÆäËûͼ±í¡£Ò²¿ÉÒÔͨ¹ýÆäËûÐí¶àÈí¼þ¸¨Öú¹¤¾ßÀ´°ïÖúÈí¼þ¹¤³ÌʦÀ´Íê³ÉÕâЩ¹¤×÷£¬»òÕßÊÇÕýÏò¹¤³Ì»òÕßÊÇÄæÏò¹¤³ÌµÄ¡£
ÕýÏò¹¤³ÌÊǶÔÒ»¸öϵͳÎïÀí½á¹¹ÊµÏֵĸ߲ã³éÏóÐÔ¡¢Âß¼ÐÔ¼°¶ÀÁ¢ÐÔÉè¼ÆµÄ´«Í³´¦Àí¹ý³Ì¡£
ÄæÏò¹¤³ÌÊǶÔÒ»¸öÒÑ´æÔÚϵͳµÄ·ÖÎö´¦Àí£¬ÒÔ¼ø±ðËüµÄ×é³É²¿·Ö¼°ËüÃǵÄÄÚÔÚÁªÏµ£¬´Ó¶øÒԸ߲ã³éÏóÐÔÀ´¹¹½¨Ò»¸öϵͳµÄ¿ò¼Ü¡£ÔÚ´ó¶àÊýÇé¿öÏ£¬ÄæÏò¹¤³ÌÓÃÓÚÒÔ³éÏóµÄÄ£ÐÍ UML ¸ñʽ´ÓÒÑ´æÔÚµÄÔ´´úÂëÖУ¬ÌáÈ¡ÒѶªÊ§µÄÉè¼ÆÎļþ£¬´Ó¶øͬʱ¿ÉµÃÖªÒ»¸öϵͳµÄ¾²Ì¬½á¹¹¼°¶¯Ì¬ÐÐΪ¡£
À༰ÐòÁÐͼÎÊÌâµÄʵÖÊ
IBM® Rational® Software Architect Ôںܶ๤ҵÖеÃÒԹ㷺²ÉÓã¬ÒòΪËüÌṩÁ˺ܶàµÄÌØÐÔÒÔ°ïÖúÄæÏò¹¤³Ìʦ¡£ ÎÊÌâÊǵ±ÄúÒÔ Java™ ´úÂëÄæÏò¹¹½¨ UML À༰ÐòÁÐͼʱ£¬Rational Software Architect ²»ÄÜ×Ô¶¯µØ²úÉúÓÐÓÃµÄ UML À༰ÐòÁÐͼ¡£ µ«ÊÇÒѾ´æÔÚ¸ÄÉÆ Rational Software Architect Êä³ö²úÎïµÄ¼¼Êõ¡£±¾ÆªÎÄÕÂÂÛÖ¤ÁËÔõÑùʹÓÃÕâÀï½éÉܵļ¼Êõ¼¼ÇÉ£¬´Ó Java ´úÂëÖÐʶ±ðÆä×é³É²¿·Ö¼°¶Ô UML ÖÖÀàºÍÐòÁÐͼ½øÐи߲ãµÄ³éÏó¡£
ʹÓÃÄæÏò¹¤³Ì£¬Äú¿ÉÒÔºÜÈÝÒ׾ʹÓÕýÏò¹¤³ÌÖеõ½ÄúÏëÒªµÄ£¬±¾ÆªÎÄÕ½«½éÉÜÔÚÄæÏò¹¤³ÌÒÔÏÂÁìÓòÖдæÔÚµÄÎÊÌ⣺
·¢ÏÖÆä³éÏóÀ༰ʶ±ðËüÃǵĵȼ¶½á¹¹
²úÉú¾ßÓоۺϼ°¹ØÁª¹ØϵµÄ¸ß²ã³éÏóÐÔµÄÀàͼ
¹¹½¨ÐòÁÐͼ
½ÓÏÂÀ´µÄ²¿·ÖΪÿ¸öÎÊÌâÌṩһ¸ö½â¾ö·½°¸£¬²¢ÂÛÖ¤ÁËÔõÑù²úÉúÓÐÒâÒåµÄÀ༰ÐòÁÐͼ¡£Àý×ÓÏòÄúչʾÁËÔõÑù´ÓÒ»¸öÒѸø Java ÏîÄ¿µÄÔ´´úÂëÖУ¬Ê¶±ðÒ»¸öϵͳµÄ¼Ì³Ð¹Øϵ¼°×é³É²¿·Ö£¬ÒÔ¶Ô UML Ààͼ¼°ÐòÁÐͼ½øÐи߲ãµÄ³éÏó¡£
×¢Ò⣺
±¾ÆªÎÄÕÂÖеÄÀý×Ó²úÉúÓÚ Rational Software Architect 7.0 °æ±¾
ʶ±ðÒ»¸ö UML ÀàͼµÄ¼Ì³ÐÊ÷
¼Ì³Ð¹ØϵÊÇÒ»ÖÖÆÕ±éµÄ¶ÔÏóÐ͵Äģʽ¡£ËüÔÊÐíÒ»×éÀ๲Ïí¹²Í¬µÄ×
Ïà¹ØÎĵµ£º
ÏÖÔÚÓÃlinuxµÄÅóÓÑÔ½À´Ô½¶àÁË£¬Ç°¼¸Ìì¾ÍÓÐÁ½¸öÅóÓÑÎÊÎÒlinuxÏÂÔõôÅäÖÃjava»·¾³£¬ÎÒÏ뻹ÓкܶàÅóÓÑÏëÁ˽âѧϰÕâ·½ÃæµÄ¶«Î÷£¬¾Íдһ¸öÍêÈ«Ò»µãµÄlinux java»·¾³ÅäÖðɣ¬Ï£Íû¶Ô´ó¼ÒÓаïÖú¡£
Ò». ÏÂÔØjdk5.0 for linux
¡¡¡¡µ½sunµÄÖ÷Ò³ http://java.sun.com/j2se/1.5.0/download.jsp ÏÂÔØjdk°²×°Îļþjdk-1_5_0_05-linux-i586 ......
ij֪ÃûÃÅ»§ÍøÕ¾µÄÒ»µÀ±ÊÊÔÌâ
public class Test {
public static void stringUpd(String str) {
str = str.replace("j", "l");
System.out.println(str);
}
public static void stringBufferUpd(StringBuffer bf) {
bf.append("c");
System.out.println(bf);
}
......
Õâ¶Îʱ¼äÔÚ×¢²áÓòÃû£¬ÔÛÆð²½Íí£¬ºÃÓõÄÓòÃû¶¼¸ø±ðÈË×¢²áÁË¡£
ÏëÕÒ¸öλÊýÉÙµÄ.comÓòÃû£¬¿ÉÊÇ·¢Ïִ󲿷ֶ¼×¢²áÁË£¬Ò²¾ÍÊÇ˵£¬ÎÒµã»÷µÄ¶à´Î²éѯ¶¼ÊÇÀË·Ñ¿¨Â·ÀÎҿɲ»Ïë¼õ·Ê£©
ÓÚÊÇ»¨Á˵ãʱ¼ä£¬ÓÃjavaдÁ˸ö¸ù¾ÝÖ¸¶¨Î»Êý²éѯËùÓпÉÓõÄ.comÓòÃûµÄС³ÌÐò¡£ÌṩԴÂëÏÂÔØ¡£
ÎÒÀûÓõÄÊÇwhoisÕâ¸öÓòÃû²éѯÍøվȡµÃÊý¾Ý£¬ÔÚ²âÊÔµ ......
1. ʲôÊÇSerialization?
´®Ðл¯(Serialization)ÊǼÆËã»ú¿ÆѧÖеÄÒ»¸ö¸ÅÄËüÊÇÖ¸½«¶ÔÏó´æ´¢µ½½éÖÊ£¨ÈçÎļþ¡¢ÄÚÔÚ»º³åÇøµÈ£©ÖлòÊÇÒÔ¶þ½øÖÆ·½Ê½Í¨¹ýÍøÂç´«Êä¡£Ö®ºó ¿ÉÒÔͨ¹ý·´´®Ðл¯´ÓÕâЩÁ¬ÐøµÄλÊý¾ÝÖØй¹½¨Ò»¸öÓëÔʼ¶ÔÏó״̬ÏàͬµÄ¶ÔÏó£¬Òò´ËÔÚÌض¨Çé¿öÏÂÒ²¿ÉÒÔ˵Êǵõ½Ò»¸ö¸±±¾£¬µ«²¢²»ÊÇËùÓÐÇé¿ö¶¼ÕâÑù¡£
JavaÓÐS ......
POIFSFileSystem fs=new POIFSFileSystem(new FileInputStream(cfname));
HSSFWorkbook wb = new HSSFWorkbook(fs);
......