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

javaÄÚ´æÒç³ö


ÄÚ´æÒç³öÓëÊý¾Ý¿âËø±íµÄÎÊÌ⣬¿ÉÒÔ˵ÊÇ¿ª·¢ÈËÔ±µÄجÃΣ¬Ò»°ãµÄ³ÌÐòÒì³££¬×ÜÊÇ¿ÉÒÔÖªµÀÔÚʲôʱºò»òÊÇÔÚʲô²Ù×÷²½ÖèÉϳöÏÖÁËÒì³££¬¶øÇÒ¸ù¾Ý¶ÑÕ»ÐÅÏ¢Ò²ºÜÈÝÒ׶¨Î»µ½³ÌÐòÖÐÊÇij´¦³öÏÖÁËÎÊÌâ¡£ÄÚ´æÒç³öÓëËø±íÔò²»È»£¬Ò»°ãÏÖÏóÊDzÙ×÷Ò»°ãʱ¼äºóϵͳԽÀ´Ô½Âý£¬Ö±µ½ËÀ»ú£¬µ«²¢²»ÄÜÃ÷È·ÊÇÔÚʲô²Ù×÷ÉϳöÏֵģ¬·¢ÉúµÄʱ¼äµãҲûÓйæÂÉ£¬²é¿´ÈÕÖ¾»ò²é¿´Êý¾Ý¿âÒ²²»Äܶ¨Î»³öÎÊÌâµÄ´úÂë¡£
¸üÑÏÖصÄÊÇÄÚ´æÒç³öÓëÊý¾Ý¿âËø±íÔÚϵͳ¿ª·¢ºÍµ¥Ôª²âÊԽ׶β¢²»ÈÝÒ×±»·¢ÏÖ£¬µ±ÏµÍ³ÕýʽÉÏÏßÒ»°ãʱ¼äºó£¬²Ù×÷µÄ²¢·¢Á¿ÉÏÀ´ÁË£¬Êý¾ÝÒ²»ýÀÛÁËһЩ£¬ÏµÍ³¾ÍÈÝÒ׳öÏÖÄÚ´æÒç³ö»òÊÇËø±íµÄÏÖÏ󣬶ø´ËʱϵͳÓÖ²»ÄÜËæÒâÍ£»ú»òÖØÆô£¬ÎªÐÞÕýBUG´øÀ´ºÜ´óµÄÀ§ÄÑ¡£
±¾ÎÄÒÔ±ÊÕß¿ª·¢ºÍÖ§³ÖµÄ¶à¸öÏîĿΪÀý£¬Óë´ó¼Ò·ÖÏíÔÚ¿ª·¢¹ý³ÌÖÐÓöµ½µÄJavaÄÚ´æÒç³öºÍÊý¾Ý¿âËø±íµÄ¼ì²âºÍ´¦Àí½â¾ö¹ý³Ì¡£
2£®ÄÚ´æÒç³öµÄ·ÖÎö
ÄÚ´æÒç³öÊÇÖ¸Ó¦ÓÃϵͳÖдæÔÚÎÞ·¨»ØÊÕµÄÄÚ´æ»òʹÓõÄÄÚ´æ¹ý¶à£¬×îÖÕʹµÃ³ÌÐòÔËÐÐÒªÓõ½µÄÄÚ´æ´óÓÚÐéÄâ»úÄÜÌṩµÄ×î´óÄڴ档ΪÁ˽â¾öJavaÖÐÄÚ´æÒç³öÎÊÌ⣬ÎÒÃÇÊ×ÏȱØÐëÁ˽âJavaÊÇÈçºÎ¹ÜÀíÄÚ´æµÄ¡£JavaµÄÄÚ´æ¹ÜÀí¾ÍÊǶÔÏóµÄ·ÖÅäºÍÊÍ·ÅÎÊÌâ¡£ÔÚJavaÖУ¬ÄÚ´æµÄ·ÖÅäÊÇÓɳÌÐòÍê³ÉµÄ£¬¶øÄÚ´æµÄÊÍ·ÅÊÇÓÉÀ¬»øÊÕ¼¯Æ÷(Garbage Collection£¬GC)Íê³ÉµÄ£¬³ÌÐòÔ±²»ÐèҪͨ¹ýµ÷ÓÃGCº¯ÊýÀ´ÊÍ·ÅÄڴ棬ÒòΪ²»Í¬µÄJVMʵÏÖÕß¿ÉÄÜʹÓò»Í¬µÄËã·¨¹ÜÀíGC£¬ÓеÄÊÇÄÚ´æʹÓõ½´ïÒ»¶¨³Ì¶Èʱ£¬GC²Å¿ªÊ¼¹¤×÷£¬Ò²Óж¨Ê±Ö´Ðеģ¬ÓеÄÊÇÖжÏʽִÐÐGC¡£µ«GCÖ»ÄÜ»ØÊÕÎÞÓò¢ÇÒ²»ÔÙ±»ÆäËü¶ÔÏóÒýÓõÄÄÇЩ¶ÔÏóËùÕ¼ÓõĿռ䡣JavaµÄÄÚ´æÀ¬»ø»ØÊÕ»úÖÆÊÇ´Ó³ÌÐòµÄÖ÷ÒªÔËÐжÔÏó¿ªÊ¼¼ì²éÒýÓÃÁ´£¬µ±±éÀúÒ»±éºó·¢ÏÖûÓб»ÒýÓõĹÂÁ¢¶ÔÏó¾Í×÷ΪÀ¬»ø»ØÊÕ¡£
ÒýÆðÄÚ´æÒç³öµÄÔ­ÒòÓкܶàÖÖ£¬³£¼ûµÄÓÐÒÔϼ¸ÖÖ£º
l         ÄÚ´æÖмÓÔصÄÊý¾ÝÁ¿¹ýÓÚÅÓ´ó£¬ÈçÒ»´Î´ÓÊý¾Ý¿âÈ¡³ö¹ý¶àÊý¾Ý£»
l         ¼¯ºÏÀàÖÐÓжԶÔÏóµÄÒýÓã¬Ê¹ÓÃÍêºóδÇå¿Õ£¬Ê¹µÃJVM²»ÄÜ»ØÊÕ£»
l         ´úÂëÖдæÔÚËÀÑ­»·»òÑ­»·²úÉú¹ý¶àÖظ´µÄ¶ÔÏóʵÌ壻
l         ʹÓõĵÚÈý·½Èí¼þÖеÄBUG£»
l         Æô¶¯²ÎÊýÄÚ´æÖµÉ趨µÄ¹ýС£»
3£®ÄÚ´æÒç³öµÄ½â¾ö
ÄÚ´æÒç³öËäÈ»ºÜ¼¬ÊÖ£¬µ«Ò²ÓÐÏàÓ¦µÄ½â¾ö°ì·¨£¬¿ÉÒÔ°´ÕÕ´ÓÒ×µ½ÄÑ£¬Ò»²½²½µÄ½â¾ö¡£
µÚÒ»²½£¬¾ÍÊÇÐÞ¸ÄJVMÆ


Ïà¹ØÎĵµ£º

PowerDesigner OOM Éú³ÉjavaÀà(Ò») ת javapark

×î½üÔÚʹÓÃPowerDesignerÉè¼ÆÊý¾Ý¿â,Éè¼ÆÍêcdm ºÍ pdmʱ,Á˽⵽¿ÉÒÔÓÃoom×Ô¶¯Éú³ÉJavaÀà.
    µ«ÊÇÉú³ÉµÄJavaÀàµÄĬÈϸñʽºÍ×Ô¼ºµÄÒªÇóÓÐÆ«²î,×îÖյõ½ÁËЩ½â¾ö°ì·¨.ÕâÀï¼Ç¼ÁËÏÂ.(ÎÒʹÓõİ汾ÊÇPowerDesigner12)
    ÔÚoomÄ£ÐÍÖÐlanguage>edit current object language. ÀàµÄÖ÷¸ñʽÊÇ ......

JAVA°æSocketƽ̨µÄÉè¼ÆÎĵµ

1.  ×ÜÌåÉè¼Æ
1.1            »ù±¾Éè¼Æ¸ÅÄîºÍ´¦ÀíÁ÷³Ì
1.1.1    ³ÌÐò»®·Ö
Ö÷Òª·ÖΪ·þÎñ¶ËºÍ¿Í»§¶ËÁ½¸ö²¿·Ö¡£
¿Í»§¶Ë²¿·ÖÓÖ·ÖΪͬ²½ÓëÒì²½Á½ÖÖģʽ¡£
1.1.2    ´¦ÀíÁ÷³ÌÃèÊö
JAVA°æ½Ó¿Úƽ̨Ö÷ҪʵÏÖÓëÍⲿ½Ó¿ÚµÄ·þÎñ¶ËºÍ¿Í»§¶ËµÄꬄ ......

Java×¢Ê͹淶[תÔØ]

×¢Ê͵ÄÔ­Ôò
1¡¢ ×¢ÊÍÐÎʽͳһ
ÔÚÕû¸öÓ¦ÓóÌÐòÖУ¬Ê¹ÓþßÓÐÒ»ÖµıêµãºÍ½á¹¹µÄÑùʽÀ´¹¹Ôì×¢ÊÍ¡£Èç¹ûÔÚÆäËûÏîÄ¿×é·¢ÏÖËûÃǵÄ×¢Ê͹淶ÓëÕâ·ÝÎĵµ²»Í¬£¬°´ÕÕËûÃǵĹ淶д´úÂ룬²»ÒªÊÔͼÔڼȳɵĹ淶ϵͳÖÐÒýÈëеĹ淶¡£
2¡¢ ×¢Ê͵ļò½à
ÄÚÈÝÒª¼òµ¥¡¢Ã÷ÁË¡¢º¬Òå׼ȷ£¬·ÀÖ¹×¢Ê͵ĶàÒåÐÔ£¬´íÎóµÄ×¢ÊͲ»µ«ÎÞÒæ·´¶øÓÐ ......

¶þ¡££¨2£©JavaÊý¾Ý²ãµÄÅäÖÃÎļþ

HibernateÔÚSpringÅädataSource
S2SHÕûºÏ   2008-09-12 15:25   ÔĶÁ160   ÆÀÂÛ0  
×ֺţº ´ó´ó  ÖÐÖР СС
<!-- mysqlÊý¾ÝÔ´µÄÅäÖà -->
<bean id="dataSource"
       class="org.apache.commons.dbcp.BasicDataSource ......

ÓÃJava½Ó¿ÚʵÏֻص÷º¯ÊýµÄµÈ¼Û¹¦ÄÜ

ÓÃJava½Ó¿ÚʵÏֻص÷º¯ÊýµÄµÈ¼Û¹¦ÄÜ
Ê×ÏÈ£¬¿´Ò»Ï»ص÷º¯ÊýµÄ¶¨Òå¼°ÆðÔ´£º
¼ò¶øÑÔÖ®£¬»Øµ÷º¯Êý¾ÍÊÇÒ»¸öͨ¹ýº¯ÊýÖ¸Õëµ÷Óõĺ¯Êý£¬Èç¹ûÄã°Ñº¯ÊýµÄÖ¸Õë(µØÖ·)×÷Ϊ²ÎÊý´«µÝ¸øÁíÒ»¸öº¯Êý£¬µ±Õâ¸öÖ¸Õë±»ÓÃΪµ÷ÓÃËüËùÖ¸ÏòµÄº¯Êýʱ£¬ÎÒÃǾÍ˵Êǻص÷º¯Êý¡£
ΪʲôҪʹÓûص÷º¯Êý£¿
ÒòΪ¿ÉÒ԰ѵ÷ÓÃÕßÓë±»µ÷ÓÃÕß·Ö¿ª¡£µ÷ÓÃÕß²»¹ØÐı» ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ