Java¿ªÔ´IDE
Java Tools
Java ToolsÊÇÒ»¸öÇáÁ¿¼¶IDE£¬ÓÃÓÚ´´½¨¡¢±àÒë¡¢Ö´ÐС¢µ÷ÊÔJavaÓ¦ÓóÌÐòÓëapplets¡£Ëü»¹ÄÚÖÃÒ»¸öÎı¾±à¼Æ÷ºÍÒ»¸öÓµÓÐÓû§²Ù
×÷½çÃæµÄJavaµ÷ÊÔÆ÷¡£ËüÒ×ÓÚʹÓÃÌرðÊʺÏÓÚJava³õѧÕß¡£
Eclipse
Eclipseƽ̨ÊÇIBMÏò¿ª·¢Ô´ÂëÉçÇø¾èÔùµÄ¿ª·¢¿ò¼Ü£¬ËüÖ®ËùÒÔ³öÃû²¢²»ÊÇÒòΪIBMÐû³ÆͶÈ뿪·¢µÄ×ʽð×ÜÊý —4ǧÍòÃÀÔª£¬¶øÊÇÒòΪÈç
´Ë¾Þ´óµÄͶÈëËù´øÀ´µÄ³É¹û£ºÒ»¸ö³ÉÊìµÄ¡¢¾«ÐÄÉè¼ÆµÄÒÔ¼°¿ÉÀ©Õ¹µÄÌåϵ½á¹¹¡£
NetBeans
NetBeans.orgÓÉSun¹«Ë¾ÔÚ2000Äê´´Á¢£¬ËüÊÇ¿ª·ÅÔ´Ô˶¯ÒÔ¼°¿ª·¢ÈËÔ±ºÍ¿Í»§ÉçÇøµÄ¼ÒÔ°£¬Ö¼ÔÚ¹¹½¨ÊÀ½ç¼¶µÄJava IDE¡£NetBeans.orgÈ«ÇòIDEÏÂÔØ´ÎÊýÒѳ¬¹ý160Íò£¬ÓµÓÐ2Íò¶à¸ö×¢²á³ÉÔ±£¬²¢ÇÒ»¹ÔÚ²»¶Ï·¢Õ¹×³´ó¡£Æä×îÐÂÑз¢µÄNetBeans 3.5.1ÖÐÎİ潫°ïÖúÖйúµÄ¿ª·¢ÈËÔ±´´½¨¸üѸËÙ¡¢¸üÎȶ¨ºÍ¸üÁé»îµÄ¿ª·¢»·¾³¡£NetBeansµ±Ç°¿ÉÒÔÔÚSolaris¡¢Windows¡¢LinuxºÍMacintosh OS Xƽ̨ÉϽøÐпª·¢£¬²¢ÔÚSPL(Sun¹«ÓÃÐí¿É)·¶Î§ÄÚʹÓᣠNetBeans 3.5.1ºÍ¿ª·ÅÔ´ÂëÍøÕ¾http://www.netbeans.orgÒѾ»ñµÃÒµ½ç¹ã·ºÈÏ¿É£¬²¢Ö§³ÖNetBeansÀ©Õ¹IDEÄ£¿éĿ¼ÖдóÔ¼100¶à¸öÄ£¿é¡£
NetBeansÊÇÒ»¸öÈ«¹¦ÄܵĿª·ÅÔ´ÂëJava IDE£¬¿ÉÒÔ°ïÖú¿ª·¢ÈËÔ±±àд¡¢±àÒë¡¢µ÷ÊԺͲ¿ÊðJavaÓ¦Ó㬲¢½«°æ±¾¿ØÖƺÍXML±à¼ÈÚÈëÆäÖڶ๦ÄÜÖ®ÖС£NetBeans 3.5.1¿ÉÖ§³ÖJava 2ƽ̨±ê×¼°æ(J2SE)Ó¦ÓõĴ´½¨¡¢²ÉÓÃJSPºÍServletµÄ2²ãWebÓ¦ÓõĴ´½¨£¬ÒÔ¼°ÓÃÓÚ2²ãWebÓ¦ÓõÄAPI¼°Èí¼þµÄºËÐÄ×éµÄ´´½¨¡£´ËÍ⣬NetBeans 3.5.1»¹Ô¤×°ÁËÒ»¸öWeb·þÎñÆ÷£¬¼´TomCat£¬´Ó¶øÃâ³ýÁË·±ËöµÄÅäÖúͰ²×°¹ý³Ì¡£ËùÓÐÕâЩ¶¼ÎªJava¿ª·¢ÈËÔ±´´ÔìÁËÒ»¸ö¿ÉÀ©Õ¹µÄ¿ª·ÅÔ´¶àƽ̨µÄJava IDE£¬ÒÔÖ§³ÖËûÃÇÔÚ¸÷×ÔËùÑ¡ÔñµÄ»·¾³ÖдÓÊ¿ª·¢¹¤×÷£¬ÈçSolaris¡¢Linux¡¢Windows»òMacintosh¡£NetBeans 3.5.1Ò²?ÃæÏòJDK 1.4.0¡¢1.4.1ºÍ1.4.2µÄÓ¦Óÿª·¢Ìṩ֧³Ö¡£
Ïà¹ØÎĵµ£º
C#ÖÐÏÔʾÖÐÎÄ£º
¡¾
·¢ËÍÊý¾Ý£º
string sReturnData = "ÄãºÃ";
Byte[]
bReturnData = Encoding.ASCII.GetBytes(sReturnData.ToCharArray());
m_sktSession.Send(bReturnData);
¡¾½«³öÏÖÂÒÂë¡¿
¡¿  ......
¡¡ÔÚJavaÓïÑÔÖУ¬ abstract class ºÍinterface ÊÇÖ§³Ö³éÏóÀඨÒåµÄÁ½ÖÖ»úÖÆ¡£ÕýÊÇÓÉÓÚÕâÁ½ÖÖ»úÖƵĴæÔÚ£¬²Å¸³ÓèÁËJavaÇ¿´óµÄ ÃæÏò¶ÔÏóÄÜÁ¦¡£abstract classºÍinterfaceÖ®¼äÔÚ¶ÔÓÚ³éÏóÀඨÒåµÄÖ§³Ö·½Ãæ¾ßÓкܴóµÄÏàËÆÐÔ£¬ÉõÖÁ¿ÉÒÔÏ໥Ìæ»»£¬Òò´ËºÜ¶à¿ª·¢ÕßÔÚ½ø ÐгéÏóÀඨÒåʱ¶ÔÓÚabstract classºÍinterfaceµÄÑ¡ÔñÏԵñȽÏËæ ......
Ç°Ìì°øÍíÎÒ·¢±íÁË¡¶JavaµÄ¿çƽ̨¾ÍÊÇÒ»¾ä»ÑÑÔ¡£¡·£¬Ô±¾¾ÍÊÇÖÜÄ©ÏÐÀ´ÎÞÊ£¬·¢±íһƪÂÔ´øÕùÒéÐԵIJ©ÎÄÈôó¼Ò¶¼À´³³³³¼Ü£¬·¢±í×Ô¼ºµÄ¿´·¨£¬¸ù±¾¾ÍûÏë×ÅË°ÑË´òµ¹£¬Ò»¸öÐÐÒµ»òÕßÊǼ¼ÊõÕóÓªÊÇÎÞ·¨ÓöÌÆÚ¿ÚË®ÕÌ´òµ½¶ÔÊֵģ¬¶øÇÒÎÞÂÛ˵¹Á˶ÔË«·½ÕóÓªµÄ·ÛË¿ÃÇÒ²ÊÇÓк¦ÎÞÒæ¡£
ÎҸоõ¿ÉÒÔ¶¥µ½50Â¥£¬³öºõÒâÁϵÄÊÇ´ó¼Ò¾ÓÈ»·×·×д³ö ......
Java ·´ÉäÊÇJavaÓïÑÔµÄÒ»¸öºÜÖØÒªµÄÌØÕ÷£¬ËüʹµÃJava¾ßÌåÁË“¶¯Ì¬ÐÔ”¡£
ÔÚJavaÔËÐÐʱ»·¾³ÖУ¬¶ÔÓÚÈÎÒâÒ»¸öÀ࣬ÄÜ·ñÖªµÀÕâ¸öÀàÓÐÄÄЩÊôÐԺͷ½·¨£¿¶ÔÓÚÈÎÒâÒ»¸ö¶ÔÏó£¬ÄÜ·ñµ÷ÓÃËüµÄÈÎÒâÒ»¸ö·½·¨£¿´ð°¸Êǿ϶¨µÄ¡£ÕâÖÖ¶¯Ì¬»ñÈ¡ÀàµÄÐÅÏ¢ÒÔ¼°¶¯Ì¬µ÷ÓöÔÏóµÄ·½·¨µÄ¹¦ÄÜÀ´×ÔÓÚJava ÓïÑԵķ´É䣨Reflection£©»úÖÆ ......
ʹÓÃDOM·½Ê½£¬Java½âÎöXML»ù±¾²½Öè:
Ê×ÏÈ£¬ÎÒÃÇÐèÒª½¨Á¢Ò»¸ö½âÎöÆ÷¹¤³§¡£
DocumentBuilderFactory dbf=DocumentBuilderFactory.newInstance();
È»ºó¿ÉÒÔÀûÓÃÕâ¸ö¹¤³§À´»ñµÃÒ»¸ö¾ßÌåµÄ½âÎö¶ÔÏó¡£
DocumentBuilder builder=dbf.newDocumentBuilder();
DocumentBuilderµÄParse()·½·¨½ÓÊÜÒ»¸öXMLÎĵµÃû×÷ΪÊäÈë²ÎÊý£¬·µ»ØÒ ......