´Ó 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 ÀàͼµÄ¼Ì³ÐÊ÷
¼Ì³Ð¹ØϵÊÇÒ»ÖÖÆÕ±éµÄ¶ÔÏóÐ͵Äģʽ¡£ËüÔÊÐíÒ»×éÀ๲Ïí¹²Í¬µÄ×
Ïà¹ØÎĵµ£º
Êý¾Ý¿â±íµ¥µÄ´´½¨
mysql> create database shuishengmu;
Query OK, 1 row affected (0.00 sec)
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql & ......
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet. ......
java.util
Àà Random
java.lang.Object
java.util.Random
ËùÓÐÒÑʵÏֵĽӿڣº
Serializable
Ö±½ÓÒÑÖª×ÓÀࣺ
SecureRandom
public class Random
extends Object
implements Serializable
´ËÀàµÄʵÀýÓÃÓÚÉú³ÉαËæ»úÊýÁ÷¡£´ËÀàʹÓà 48 λµÄÖÖ×Ó£¬Ê¹ÓÃÏßÐÔͬÓ๫ʽ¶ÔÆä½øÐÐÐ޸ģ¨Çë²ÎÔÄ Donald Knuth µÄ ......
¡¡Javaƽ̨ÓÉJavaÐéÄâ»ú£¨Java Virtual Machine£©ºÍJava Ó¦Óñà³Ì½Ó¿Ú£¨Application Programming Interface¡¢¼ò³ÆAPI£©¹¹³É¡£Java Ó¦Óñà³Ì½Ó¿ÚΪJavaÓ¦ÓÃÌṩÁËÒ»¸ö¶ÀÁ¢ÓÚ²Ù×÷ϵͳµÄ±ê×¼½Ó¿Ú£¬¿É·ÖΪ»ù±¾²¿·ÖºÍÀ©Õ¹²¿·Ö¡£ÔÚÓ²¼þ»ò²Ù×÷ϵͳƽ̨ÉÏ°²×°Ò»¸öJavaƽ̨֮ºó£¬JavaÓ¦ÓóÌÐò¾Í¿ÉÔËÐС£ÏÖÔÚJavaƽ̨ÒѾǶÈëÁ˼¸ºõËù ......