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

¼¸¸öÖØÒªµÄJAVAÃüÁîÏê½â£¨×ªÔØ£©


javac
 
Ó÷¨£ºjavac <Ñ¡Ïî> <Ô´Îļþ>
ÆäÖУ¬¿ÉÄܵÄÑ¡Ïî°üÀ¨£º
  -g                                                       Éú³ÉËùÓе÷ÊÔÐÅÏ¢
  -g:none                                             ²»Éú³ÉÈκε÷ÊÔÐÅÏ¢
  -g:{lines,vars,source}                    Ö»Éú³ÉijЩµ÷ÊÔÐÅÏ¢
  -nowarn                                            ²»Éú³ÉÈκξ¯¸æ
  -verbose                                           Êä³öÓйرàÒëÆ÷ÕýÔÚÖ´ÐеIJÙ×÷µÄÏûÏ¢
  -deprecation                                    Êä³öʹÓÃÒѹýʱµÄ API µÄԴλÖÃ
  -classpath <·¾¶>                          Ö¸¶¨²éÕÒÓû§ÀàÎļþµÄλÖÃ
  -cp <·¾¶>   &


Ïà¹ØÎĵµ£º

Java NIO ѧϰ±Ê¼Ç SocketChannel

ΪÁ˽øÐзÇ×èÈûµÄsocketͨÐÅ£¬java nioÌṩChannel¸ÅÄîµÄʵÏÖ¡£Channel¸ÅÄîÒÔÇø±ðÓÚ´«Í³µÄ»ùÓÚÁ÷¸ÅÄîµÄIO¡£ÊÂʵÉÏChannel¸ÅÄîµÄIO¼È°üÀ¨·Ç×èÈûʽµÄIOÒ²°üÀ¨×èÈûʽIO¡£ÒªChannelÍê³É·Ç×èÈûʽIOÐèҪʵÏÖSelectableChannel½Ó¿Ú£¬ÓëSelector¹ØÁªÊ¹Óá£SocketChannel¾ÍÊÇÕâÑùÒ»¸öSelectableChannel¡£
ÓÉÓÚ£¬selector»úÖƱ¾ÉíÉ ......

OpenJWeb Java¼¼ÊõÃÅ»§ÍøÔËÓª¹«¸æ

OpenJWeb Java¼¼ÊõÃÅ»§ÍøµØַΪhttp://www.openjweb.com:8088/crm ,´ËÍøÕ¾ÓÚ2010Äê2ÔÂ16ÈÕÕýʽÆôÓá£
OpenJWeb Java¼¼ÊõÃÅ»§ÍøÖ÷ÒªÌṩJava¼Ü¹¹Ñ§Ï°¡¢Java¿ªÔ´¿ò¼Ü¼¼Êõ½»Á÷¡¢OpenJWeb¼¼Êõ×ÊÁÏÏÂÔØ¡¢Ãâ·Ñ»áÔ±×¢²á¡¢openjweb.comÃâ·ÑÓÊÏä·þÎñ¡¢ÓʼþȺ·¢¡¢¿Í»§µµ°¸¹ÜÀí¡¢ÄÚÈݹÜÀíϵͳµÈ¹¦ÄÜ¡£
OpenJWeb Java¼¼ÊõÃÅ»§Íøµ ......

Effective Java ѧϰ±Ê¼Ç£¨13£©

Ó°ÏìÄ£¿éÉè¼ÆºÃÓ뻵µÄÒ»¸öÖØÒªÒòËؾÍÊÇÕâ¸öÄ£¿éÊÇ·ñÒþ²ØËüµÄÄÚ²¿Êý¾ÝºÍÆäËûһЩʵÏÖϸ½Ú¡£
ÐÅÏ¢Òþ²ØµÄºÃ´¦£º·½±ã¶ÀÁ¢¿ª·¢£¬²âÊÔ£¬ÓÅ»¯£¬Ê¹Óã¬Àí½âºÍÐ޸ġ£Äܹ»Ìá¸ßϵͳ¿ª·¢ËÙ£¨ÒòΪ¸÷Ä£¿é¿ÉÒÔ²¢Ðпª·¢£©£¬Ò²ÄÜÒ×ÓÚά»¤ºÍµ÷ÊÔ£¬Ò²ÄܼõÉÙϵͳ¹¹½¨µÄ·çÏÕ¡£
ÒªÉè¼ÆÁ¼ºÃµÄÄ£¿é£¬¹æÔòºÜ¼òµ¥£¬¾ÍÒ»¾ä»°£ºÊ¹Ã¿¸öÀà»ò½Ó¿Ú¾¡Á¿²»¿É ......

JavaÀà¼ÓÔØÄÚÄ»

¡¡¡¡Àà¼ÓÔØÊÇjavaÓïÑÔÌṩµÄ×îÇ¿´óµÄ»úÖÆÖ®Ò»¡£¾¡¹ÜÀà¼ÓÔز¢²»ÊÇÌÖÂÛµÄÈȵ㻰Ì⣬µ«ËùÓеıà³ÌÈËÔ±¶¼Ó¦¸ÃÁ˽âÆ乤×÷»úÖÆ£¬Ã÷°×Ôõô×ö²ÅÄÜÈÃÆäÂú×ãÎÒÃǵÄÐèÒª¡£ÕâÄÜÓÐЧ½ÚÊ¡ÎÒÃǵıàÂëʱ¼ä£¬´Ó²»¶Ïµ÷ÊÔClassNotFoundException, ClassCastExceptionµÄ¹¤×÷ÖнâÍѳöÀ´¡£
¡¡¡¡ÕâƪÎÄÕ´ӻù´¡½²Æ𣬱ÈÈç´úÂëºÍÊý¾ÝµÄ²»Í¬Ö®´¦ÊÇʲ ......

Java Ï£¶ûÅÅÐò£¨ËõСÔöÁ¿ÅÅÐò£©

      Ï£¶ûÅÅÐòËã·¨Äܹ»³ÉÁ¢µÄ»ù´¡ÊÇÊý×éÒ²½Ó½üÓÐÐòÖ±½Ó²åÈëÅÅÐòËã·¨µÄʱ¼äЧÂÊÔ½¸ß¡£Ï£¶ûÅÅÐòËã·¨ÊÇÔÚ²»¼õÉÙÊý×éÔªËصĸöÊýÇé¿öϽ«Êý×é·Ö×飬´Ó¶ø½«ÅÅÐòºÃµÄÊý²åÈëµ½ÐÂÊý×éÖÐÈ¥¡£¹Ø¼üÔÚÓÚÆä˼Ïë¡£
Ë㷨ʵÏÖÈçÏ£º
/**
* Ï£¶ûÅÅÐòÓÖ³ÆΪËõСÔöÁ¿ÅÅÐò
* @param a ÓÃÓÚÅÅÐòµÄÊý×é
* @pa ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ