´Ó 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 ÀàͼµÄ¼Ì³ÐÊ÷
¼Ì³Ð¹ØϵÊÇÒ»ÖÖÆÕ±éµÄ¶ÔÏóÐ͵Äģʽ¡£ËüÔÊÐíÒ»×éÀ๲Ïí¹²Í¬µÄ×
Ïà¹ØÎĵµ£º
×î½üÒª¸Äдһ¸öºËÐļÓÃÜÈÏÖ¤À࣬´ÓC#¸Äд³ÉJava¡£
·¢ÏÖÔÚµ÷ÊÔʱ£¬¼ÓÃܵÄÊý¾ÝÎÞÂÛÈçºÎÒ²¶Ô²»ÉÏ¡£
¾¹ý¸ú×Ù£¬·¢ÏÖÎÊÌâ³öÔÚC#ºÍJava byteÀàÐ͵ÄÇø±ðÉÏ£ºÔÚC#Àï byteÀàÐÍÊÇÎÞ·ûºÅµÄ£¬¶øJavaÀïÊÇÓзûºÅµÄ£¬ËùÒÔC#ÀïµÄ129µ½JavaÀï¾Í³ÉÁ˸ºÊý¡£
·¢ÏÖÁËÎÊÌ⣬½â¾ö¾Í±È½ÏÈÝÒ×ÁË£¬Õë¶ÔJavaµÄbyte£¬²ÉÓÃIntÀ´½øÐд洢¡£
ͨ¹ýÈçÏ´ú ......
#include <iostream>
using namespace std;
class Base {
public:
virtual void fn(int x) {
cout << "In Base class, int x = " << x << endl;
}
};
class SubClass : public Base {
public:
// º¯ÊýµÄÖØÔØ,ÕâÑùµÄÖØÔØ·½Ê½,ÔÚJavaÖÐÄÜÐÐ,ÔÚC/C++ÖÐÈ´²»ÐÐ
virt ......
È«±¾¡¶Êý¾Ý¿â¿ª·¢ÕâµãÊÂ-Java¿ìËÙÈëÃÅ¡·Ãâ·ÑÏÂÔØ
À´×Ô£ºhttp://zyt.howwe.net/me.php?320
Ŀ¼£ºhttp://zyt.howwe.net/ok.php?321
ÄÚÈݼò½é
¡¡¡¡Õë¶ÔJava³õѧÕß¼°ÈëÃÅÕߣ¬ÏµÍ³²ûÊöWeb¿ª·¢»ù±¾ÖªÊ¶£¬½áºÏÊý¾Ý¿âµÄ¿ìËÙÓ¦Óã¬Ê¹¶ÁÕß¿ìËÙ¿çÈëJavaÁìÓò£¬¶Ô±à³ÌÓïÑÔ²»ÔÙη¾å¡£¸ÃÊé×÷Ϊ¡¶´ÓÈËÉúÐèÒªÒýµ¼ÂÛJava¿ìËÙ¿ª·¢ ......
ÔÚJSPÀ»ñÈ¡¿Í»§¶ËµÄIPµØÖ·µÄ·½·¨ÊÇ£ºrequest.getRemoteAddr£¨£©£¬ÕâÖÖ·½·¨Ôڴ󲿷ÖÇé¿ö϶¼ÊÇÓÐЧµÄ¡£µ«ÊÇÔÚͨ¹ýÁËApache£¬SquidµÈ·´Ïò´úÀíÈí¼þ¾Í²»ÄÜ»ñÈ¡µ½¿Í»§¶ËµÄÕæʵIPµØÖ·ÁË¡£
¡¡¡¡
Tag£ºJava ¿Í»§¶Ë ÕæʵIPµØÖ·
ÔÚJSPÀ»ñÈ¡¿Í»§¶ËµÄIPµØÖ·µÄ·½·¨ÊÇ£ºrequest.getRemoteAddr£¨£©£¬ÕâÖÖ·½·¨Ôڴ󲿷ÖÇé¿ ......
POIFSFileSystem fs=new POIFSFileSystem(new FileInputStream(cfname));
HSSFWorkbook wb = new HSSFWorkbook(fs);
......