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

JAVAѧϰ±Ê¼Ç£¨Ò»£© Òì³£´¦Àí

Òì³£ÊÇÖ¸³ÌÐòÔËÐÐÆÚ¼ä³öÏÖµÄÎÊÌâ¡£ÔÚд³ÌÐòʱ£¬È·Êµ¿ÉÒÔд´úÂë²âÊÔ³ÌÐòÊÇ·ñÕýÈ·Ö´ÐУ¬Èç¹ûûÓÐÖ´ÐУ¬ÔòÖ´ÐдíÎó´¦Àí¡£¾¡¹ÜÕâÖÖÐÎʽµÄ´íÎó´¦ÀíÄܹ»Æðµ½×÷Ó㬵«³ÌÐòÂß¼­Óë´íÎó´¦ÀíÒ»Æð»ìÓ㬻áʹµÃ³ÌÐòÄÑÒÔÔĶÁ‘Ð޸ġ£Èç¹ûDZÔÚµÄÎÊÌ⼫ÉÙ·¢Éú£¬Ôò»ìÓóÌÐòºÍ´íÎó´¦ÀíÂß¼­½²½µµÍ³ÌÐòµÄÐÔÄÜ¡£Òì³£´¦Àíʹ³ÌÐòÔ±Äܹ»´Ó³ÌÐòÖ´ÐеÄÖ÷ÏßÖÐɾ³ý´íÎó´¦Àí´úÂ롣ûÓÐÒì³£·¢Éúʱ£¬Òì³£´¦Àí´úÂë½ö»áÔö¼Ó¼«ÉÙ»ò²»Ôö¼Ó¿ªÏú¡£Òò´Ë£¬ÊµÏÖÒì³£´¦ÀíµÄ³ÌÐòÔÚÖ´ÐÐЧÂÊÉÏÒª¸ßÓÚ´íÎó´¦Àí´úÂëÓë³ÌÐòÂß¼­»ìÓõijÌÐò¡£
try¿é°üº¬¿ÉÄܲúÉúÒì³£µÄÓï¾äÒÔ¼°Òì³£·¢Éúʱ²»Ó¦Ö´ÐеÄÓï¾ä¡£try¿éºó±ØÐëÖÁÉÙ½ô¸úÒ»Ìõcatch×Ӿ䣨Ҳ³ÆΪÒì³£´¦Àíº¯Êý£©»òÒ»Ìõfinally×Ӿ䡣ÿÌõcatch×Ó¾äÔÚÔ²À¨ºÅÖÐÖ¸¶¨Ò»¸öÒì³£²ÎÊý£¬ÓÃÓÚ±êʶ¸Ã´¦Àíº¯ÊýÄܹ»´¦ÀíµÄÒì³£ÀàÐÍ¡£catch×Ó¾äͨ¹ýÒì³£²ÎÊýµÄÃû³ÆÓëÒì³£²¶»ñ¶ÔÏó½øÐн»»¥¡£×îºóÒ»¸öcatchÖ®ºóÊÇÒ»¸ö¿ÉÑ¡finally×Ӿ䣬ÎÞÂÛÒì³£ÊÇ·ñ·¢Éú£¬¶¼»áÖ´ÐиÃ×Ó¾äËùÌṩµÄ´úÂë¡£finally×Ó¾äÊÇÒ»¸öÀíÏëµÄÊÍ·Å×ÊÔ´£¬´Ó¶ø·ÀÖ¹“×ÊԴй©”µÄµØ·½¡£ÔÚ·½·¨ÉùÃ÷ÖУ¬throws×Ó¾äÖ¸¶¨¸Ã·½·¨ËùÅ׳öµÄÒì³£¡£¸Ã×Ó¾äλÓÚ·½·¨²ÎÊýÁбíÖ®ºó£¬¾ßÌå·½·¨Ö®Ç°¡£Èç
public int º¯ÊýÃû£¨£©
throws Òì³£
{
}
throws×Ó¾ä°üº¬Ò»¸öÓɶººÅ·Ö¿ªµÄÒì³£ÁÐ±í£¬Èç¹ûÔÚ·½·¨Ö´ÐÐÆÚ¼ä³öÏÖÎÊÌ⣬Ôò¸Ã·½·¨½«Å׳öÁбíÖеÄÒì³£¡£


Ïà¹ØÎĵµ£º

ËÄ¡¢¶ÔjavaÈëÃŵļ¸µã½¨Òé

   òËƱȽ϶࣬²»¹ý¶à¶®µã£¬Ò²Ã»Ê²Ã´²»ºÃ¡£
 1¡¢ÊìϤjdbc£¬»áÓÃjdbc¡£
 2  »áдsqlºÍ´æ´¢¹ý³Ì¡£
 3¡¢ÊìϤswing¿Ø¼þ¡¢²»¹ý²»½¨ÒéÓÃswing¿ª·¢¿Í»§¶Ë
 4  ÊìϤ swt£¬rcp ¿Í»§¶Ë£¬½¨ÒéÓÃrcp¿ª·¢¿Í»§¶Ë
 5  ÊìϤjsp servlet
 6  ÊìϤtomcat£¬ÖÁÉÙÖªµÀweb¡£x ......

java Óʼþ·þÎñÆ÷Ö®james°²×°ÅäÖÃ


James Óʼþ·þÎñÆ÷µÄ°²×°ºÍÅäÖÃ
»·¾³:
Óʼþ·þÎñÆ÷:
²Ù×÷ϵͳ:REDHAT LINUX AS 4
IP:192.168.1.108
×ÓÍøÑÚÂë:255.255.0
Íø¹Ø:192.168.1.1
DNS:192.168.1.2
¿Í»§¶Ë:
²Ù×÷ϵͳ:windows 2003
IP :192.168.1.2
×ÓÍøÑÚÂë:255.255.255.0
Íø¹Ø:192.168.1.1
DNS:192.168.1.2
¼òµ¥½éÉÜÒ»ÏÂÓʼþ·þÎñÆ÷µÄÅäÖû·¾³
ÒѾ­° ......

java Êý×ÖÖ¤ÊékeytoolÓ÷¨

Java ÖÐµÄ keytool.exe £¨Î»ÓÚ JDK\Bin Ŀ¼Ï£©¿ÉÒÔÓÃÀ´´´½¨Êý×ÖÖ¤Ê飬ËùÓеÄÊý×ÖÖ¤ÊéÊÇÒÔÒ»ÌõÒ»Ìõ(²ÉÓñðÃûÇø±ð)µÄÐÎʽ´æÈëÖ¤Êé¿âµÄÖУ¬Ö¤Êé¿âÖеÄÒ»ÌõÖ¤Êé°üº¬¸ÃÌõÖ¤ÊéµÄ˽Կ£¬¹«Ô¿ºÍ¶ÔÓ¦µÄÊý×ÖÖ¤ÊéµÄÐÅÏ¢¡£Ö¤Êé¿âÖеÄÒ»ÌõÖ¤Êé¿ÉÒÔµ¼³öÊý×ÖÖ¤ÊéÎļþ£¬Êý×ÖÖ¤ÊéÎļþÖ»°üÀ¨Ö÷ÌåÐÅÏ¢ºÍ¶ÔÓ¦µÄ¹«Ô¿¡£
KeytoolÊÇÒ»¸öJavaÊý¾ÝÖ ......

java FTP²Ù×÷

 ¼òµ¥µÄдÁ˸öjava¶ÔftpµÄ²Ù×÷
ÓõÄÊÇcommons-net.jar°ü
FTPProxy.java
public class FTPProxy{
public FTPProxy()
{
super();
ftpClient = new FTPClient();
}
public FTPProxy(FTPBean entity)
{
this();
this.entity = entity;
}
private FTPBean entity;
private FTPClient ftpCli ......

Berkeley DB JAVA°æ±¾ÖУ¬ÀàÔöÇ¿Æ÷µÄʹÓÃ

¾ÝÎĵµËù˵£¬ÀàÔöÇ¿Æ÷±ÈÓôúÀíµÄ·½Ê½ËÙ¶ÈÉÏÓÐÓÅÊÆ¡£
ÓÐÁ½ÖÖ·½Ê½£¬
µÚÒ»ÖÖÊÇÔÚÀà¼ÓÔØʱ¶¯Ì¬´¦Àí£¬Õâ¸ö¶ÔÏÖÓгÌÐò²»ÓÃÐ޸ġ£Ö»ÐèÒª¸ÄÏÂÔËÐеÄjava½Å±¾¼´¿É
¶ÔÓÚJava 1.5ÈçÏÂËùʾ
java -javaagent:lib/je-<version>.jar=enhance:packageNames ...
je-<version>.jar ¾ÍÊÇBerkeley DB JAVA¿âµÄÃû×Ö¡£ packageNa ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ