javaÖеĽӿÚ
1.½Ó¿ÚµÄ¶¨Ò壺
interface ½Ó¿ÚÃû
{ ½Ó¿ÚÌ壻 }
×¢Ò⣺½Ó¿ÚÌåÖÐÖ»ÄÜ°üº¬³£Á¿¶¨ÒåºÍ·½·¨¶¨ÒåÁ½²¿·Ö£»²»ÔÊÐíÌṩ·½·¨µÄʵÏÖ£»ÆäʵÏÖ´úÂë±ØÐëÔÚÆä×ÓÀàÖÐʵÏÖ
2.Èç¹ûÒ»¸öÀàʹÓÃÁËij¸ö½Ó¿Ú£¬ÄÇôÕâ¸öÀà±ØÐëʵÏÖ½Ó¿ÚÖеÄËùÓз½·¨£»¶øÇÒÔÚÀàÖÐʵÏÖ½Ó¿Ú·½·¨Ê±£¬·½·¨µÄÃû×Ö£¬·µ»ØÀàÐÍ£¬²ÎÊý¸öÊý
ÒÔ¼°²ÎÊý±ØÐëÓë½Ó¿ÚÖеÄÍêÈ«Ò»ÖÂ
3.½Ó¿ÚÖеķ½·¨Ä¬ÈÏÊÇpublic abstract·½·¨£¬³£Á¿Ä¬ÈÏÊÇpublic static³£Á¿£¬Òò´Ëµ±ÀàÔÚʵÏÖ½Ó¿Ú·½·¨Ê±£¬Ò»¶¨ÒªÓÃpublicÐÞÊÎ
4.Èç¹û¸¸ÀàʹÓÃÁËij¸ö½Ó¿Ú£¬ÄÇô×ÓÀàÒ²¾Í×ÔȻʹÓÃÁ˸ýӿڣ¬×ÓÀ಻±ØÔÙʹÓùؼü×ÖimplementsÉùÃ÷×Ô¼ºÊ¹ÓÃÕâ¸ö½Ó¿Ú
5.Èç¹ûÒ»¸öÀàÉùÃ÷ʵÏÖÒ»¸ö½Ó¿Ú£¬µ«Ã»ÓÐʵÏÖ½Ó¿ÚÖеÄËùÓз½·¨£¬ÄÇôÕâ¸öÀà±ØÐëÊÇabstractÀà
Ïà¹ØÎĵµ£º
¹ØÓÚJavaÒç³ö·ÖÀ࣬ÎÒ¾³£Åöµ½µÄÊÇÁ½ÀࣺһÀàÊÇjava.lang.OutOfMemoryError: Java heap space£¬Ò»ÀàÊÇjava.lang.OutOfMemoryError: PermGen space¡£
ÔÚÕâÁ½ÀàÖУ¬Ç°ÕßÅö¼ûµÄ´ÎÊý±È½ÏƵ·±¡£ÒòΪµ¼ÖÂJava heap spaceµÄÇé¿ö£¬ÓÐʱºò²¢²»ÊÇÄÚ´æ²»¹»£¬ËüÒ²»áÅ×´Ë´íÎóÐÅÏ¢¡£ÀýÈçÎÒ¾ÍÅöµ½¹ýÕâÑùµÄÇé¿ö£¬ÎÒµ±Ê±Í¨¹ýGCÈÕÖ¾·¢ÏÖ£¬ÄÚ´ ......
ʹÓÃJPypeÄ£¿éÈÃPythonµ÷ÓÃJAVAµÄÀà
Python idea! 2009-03-24 19:44 ÔĶÁ267 ÆÀÂÛ0
×ֺţº ´ó´ó ÖÐÖРСС
¿´¿´Àý×Ó¾ÍÖªµÀÀ²£¬ÕæÊÇΪPython£¨²»ÊÇJython£¬¶øÊÇCPython£©ÌṩÁËÇ¿´óÁ¦Á¿£¡
Ê×ÏÈÔÚjavaϽ¨Á¢Ò»¸öÔÙÒ²¼òµ¥²»¹ýµÄ°ü£º
package org.wg3i.t ......
keytoolÉú³ÉÖ¤Êé
ÑéÖ¤ÊÇ·ñÒÑ´´½¨¹ýͬÃûµÄÖ¤Êé
keytool -list -v -alias tomcat -keystore "%JAVA_HOME%/JRE/LIB/SECURITY/CACERTS" -storepass changeit
ɾ³ýÒÑ´´½¨µÄÖ¤Êé
keytool -delete -alias tomcat -keystore "%JAVA_HOME%/JRE/LIB/SECURITY/CACERTS" -storepass changeit
´´½¨Ö¤Êé
1.·þÎñ ......
2009Äê10ÔÂ25ÈÕ£¬µÃÒ»Êéµê200ÔªÂòÁËËı¾Êéj2se»ù´¡½Ì³Ì£¬j2eeÓ¦Óÿª·¢Ïê½â£¬javaÏîÄ¿¿ª·¢È«³Ìʵ¼£¬java web¿ª·¢ËÙѧ±¦µäÊ鿪ʼ
2010Äê2ÔÂ3ÈÕ£¬µÚÒ»Ì×»ùÓÚú¿ó°²È«¹ÜÀíµÄÈí¼þÄ£Ðͼ°Æ䲿·Ö´úÂë³ÉÐÍ
Èý¸öÔ£¬ÕâÊÇÒ»³¡Ø¬ÃΣ¬²»¹ýÕâÈý¸öÔ£¬ÓÖÊÇÒ»ÖÖ¾ªÏ²ºÍ¿ìÀÖ
´ÓÊý¾ÝÀàÐÍ£¬Óï·¨½á¹¹£¬jdk ¹ýÑ»·£¬´³Êý×飬¼¯ºÏ£¬µü´ú£¬¶ÓÁУ ......
Problem: email thread is hanging at socket read
Today we found a email problem in production, all of the mail threads (3 threads) are hanging/sitting/blocking at same point
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
......