java¶¯Ì¬±àÒë¼°ÔËÐÐ
תIBMµÄÎÄÕ£¬±È½ÏÏêϸ¡£ÐèҪעÒâµÄÊÇ£¬
ͨ¹ýJavaCompiler½øÐбàÒ붼ÊÇÔÚµ±Ç°Ä¿Â¼ÏÂÉú³É.classÎļþ£¬¶øʹÓñàÒëÑ¡Ïî¿ÉÒԸıäÕâ¸öĬÈÏĿ¼¡£±àÒëÑ¡ÏîÊÇÒ»¸öÔªËØΪStringÀàÐ͵ÄIterable¼¯ºÏ¡£ÈçÎÒÃÇ¿ÉÒÔʹÓÃÈçÏ´úÂëÔÚDÅ̸ùĿ¼ÏÂÉú³É.classÎļþ¡£
Iterable options = Arrays.asList("-d", "d:\\");
JavaCompiler.CompilationTask task = compiler.getTask(null, fileManager,
diagnostics, options, null, compilationUnits);
2006 Äêµ×£¬Sun ¹«Ë¾·¢²¼ÁË Java Standard Edition 6£¨Java SE 6£©µÄ×îÖÕÕýʽ°æ£¬´úºÅ Mustang£¨Ò°Âí£©¡£¸ú Tiger£¨Java SE 5£©Ïà±È£¬Mustang ÔÚÐÔÄÜ·½ÃæÓÐÁ˲»´íµÄÌáÉý¡£Óë Tiger ÔÚ API ¿â·½ÃæµÄ´ó·ù¶È¼ÓÇ¿Ïà±È£¬ËäÈ» Mustang ÔÚ API ¿â·½ÃæµÄÐÂÌØÐÔÏԵò»Ì«¶à£¬µ«ÊÇÒ²ÌṩÁËÐí¶àʵÓúͷ½±ãµÄ¹¦ÄÜ£ºÔڽű¾£¬WebService£¬XML£¬±àÒëÆ÷ API£¬Êý¾Ý¿â£¬JMX£¬ÍøÂçºÍ Instrumentation ·½Ã涼Óв»´íµÄÐÂÌØÐԺ͹¦ÄܼÓÇ¿¡£ ±¾ÏµÁÐ ÎÄÕÂÖ÷Òª½éÉÜ Java SE 6 ÔÚ API ¿â·½ÃæµÄ²¿·ÖÐÂÌØÐÔ£¬Í¨¹ýһЩÀý×Ӻͽ²½â£¬°ïÖú¿ª·¢ÕßÔÚ±à³Ìʵ¼ùµ±ÖиüºÃµÄÔËÓà Java SE 6£¬Ìá¸ß¿ª·¢Ð§ÂÊ¡£
±¾ÎÄÊÇÆäÖеĵÚËÄƪ£¬½éÉÜÁË JDK 6 ÖÐΪÔÚÔËÐÐʱ²Ù×ݱàÒëÆ÷ËùÔö¼ÓµÄ±àÒëÆ÷ API£¨JSR 199£©¡£Äú½«Á˽⵽£¬ÀûÓÃ´Ë API ¿ª·¢ÈËÔ±¿ÉÒÔÔÚÔËÐÐʱµ÷Óà Java ±àÒëÆ÷£¬»¹¿ÉÒÔ±àÒë·ÇÎı¾ÐÎʽµÄ Java Ô´´úÂ룬×îºó»¹Äܹ»²É¼¯±àÒëÆ÷µÄÕï¶ÏÐÅÏ¢¡£±¾ÎĽ«Õ¹¿ªÃèÊöÕâЩ¹¦ÄÜ£¬²¢Ê¹ÓÃÕâЩ¹¦Äܹ¹ÔìÒ»¸ö¼òµ¥µÄÓ¦Óà —— ÔÚÄÚ´æÖУ¬Ö±½ÓΪһ¸öÀàÉú³É²âÊÔÓÃÀý¡£
РAPI ¹¦Äܼò½é
JDK 6 ÌṩÁËÔÚÔËÐÐʱµ÷ÓñàÒëÆ÷µÄ API£¬ºóÃæÎÒÃǽ«¼ÙÉè°Ñ´Ë API Ó¦ÓÃÔÚ JSP ¼¼ÊõÖС£ÔÚ´«Í³µÄ JSP ¼¼ÊõÖУ¬·þÎñÆ÷´¦Àí JSP ͨ³£ÐèÒª½øÐÐÏÂÃæ 6 ¸ö²½Ö裺
·ÖÎö JSP ´úÂ룻
Éú³É Java ´úÂ룻
½« Java ´úÂëдÈë´æ´¢Æ÷£»
Æô¶¯ÁíÍâÒ»¸ö½ø³Ì²¢ÔËÐбàÒëÆ÷±àÒë Java ´úÂ룻
½«ÀàÎļþдÈë´æ´¢Æ÷£»
·þÎñÆ÷¶ÁÈëÀàÎļþ²¢ÔËÐУ»
µ«Èç¹û²ÉÓÃÔËÐÐʱ±àÒ룬¿ÉÒÔͬʱ¼ò»¯²½Öè 4 ºÍ 5£¬½ÚԼнø³ÌµÄ¿ªÏúºÍдÈë´æ´¢Æ÷µÄÊä³ö¿ªÏú£¬Ìá¸ßϵͳЧÂÊ¡£Êµ¼ÊÉÏ£¬ÔÚ JDK 5 ÖУ¬Sun Ò²ÌṩÁ˵÷ÓñàÒëÆ÷µÄ±à³Ì½Ó¿Ú¡£È»¶ø²»Í¬µÄÊÇ£¬ÀÏ°æ±¾µÄ±à³Ì½Ó¿Ú²¢²»ÊDZê×¼ API µÄÒ»²¿·Ö£¬¶øÊÇ×÷Ϊ Sun µÄרÓÐʵÏÖÌṩµÄ£¬¶øаæÔò´øÀ´Á˱ê×¼»¯µÄÓŵ㡣
РAPI µÄµÚ¶þ¸öÐÂÌØÐÔÊÇ¿ÉÒÔ±àÒë³éÏóÎļþ£¬ÀíÂÛÉÏÊÇÈκÎÐÎʽµÄ¶ÔÏó —— Ö»Òª¸Ã¶ÔÏóʵÏÖÁËÌض¨µÄ½Ó¿Ú¡£ÓÐÁËÕâ¸öÌØÐÔ£¬ÉÏÊöÀý×ÓÖеIJ½Öè 3 Ò²¿É
Ïà¹ØÎĵµ£º
ÓÃÁËÕâ¸ö£¬MyEclipseÀï¾Í²»»á±¨ÄÇЩ¾¯¸æÁË£¬¿´ÆðÀ´Æ¯ÁÁ¶àÁË
³£Óõģº
@SuppressWarnings("unchecked"),·ºÐÍ
@SuppressWarnings("deprecation"), deprecated·½·¨
@SuppressWarnings(value={"deprecation","unchecked"}) Ë«Ñ¡
@SuppressWarnings("serial"), ÐòÁл¯
......
XMLÏÖÔÚÒѾ³ÉΪһÖÖͨÓõÄÊý¾Ý½»»»¸ñʽ,ËüµÄƽ̨ÎÞ¹ØÐÔ,ÓïÑÔÎÞ¹ØÐÔ,ϵͳÎÞ¹ØÐÔ,¸øÊý¾Ý¼¯³ÉÓë½»»¥´øÀ´Á˼«´óµÄ·½±ã¡£¶ÔÓÚXML±¾ÉíµÄÓ﷨֪ʶÓë¼¼Êõϸ½Ú,ÐèÒªÔĶÁÏà¹ØµÄ¼¼ÊõÎÄÏ×,ÕâÀïÃæ°üÀ¨µÄÄÚÈÝÓÐDOM(Document Object Model),DTD(Document Type Definition),SAX(Simple API for XML),XSD(Xml Schema Definition),XSLT(Exten ......
½Ó¿Ú±¾ÖÊÉϾÍÊÇÓÉÖƶ¨ÕßÀ´Ðµ÷ʵÏÖÕߺ͵÷ÓÃÕßÖ®¼äµÄ¹Øϵ¡£
ËùÒÔͨ³£ËµµÄ“ÃæÏò½Ó¿Ú±à³Ì”¿ÉÒÔÀí½âΪ£º
Ö»ÓÐʵÏÖÕߺ͵÷ÓÃÕ߶¼×ñÑ“ÃæÏò½Ó¿Ú±à³Ì”Õâ¸ö×¼Ôò£¬Öƶ¨ÕßµÄе÷Ä¿µÄ²ÅÄÜ´ïµ½¡£
Ò»¸öÀÏÉú³£Ì¸µÄÀý×Ó¾ÍÊÇJDBC¡£
ºÜ¶àÈ˷ѽ⣺¼ÈÈ»ÎÒÿÁ¬½ÓÒ»ÖÖÊý¾Ý¿â£¨Èçmysql£©¶¼ÒªÊÂÏȲ¿ÊðÇý¶¯³ÌÐò£¬ÄÇÎÒÖ±½ ......
ÒÔÏÂÎÄ×ֲο¼×Ôhttp://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/javadoc.html
javadoc¹¤¾ß¿ÉÒÔ´ÓÒÔÏÂ4Àà“Ô´Îļþ”²úÉúdoc£º
(1) javaÔ´Îļþ(.java),Éú³É¶ÔÀàºÍÀàµÄ³ÉÔ±µÄdoc
(2) package×¢ÊÍÎļþ(package-info.java»òÕßpackage.html),Éú³É¶Ô°üµÄ˵Ã÷
(3) overviewÎļþ(Ãû¿ÉÒÔËæ±ã£¬Í¨³£ÊÇo ......
×î½ü¹«Ë¾ÒªÇó°ÑexcelµÄÊý¾Ýµ¼Èëµ½Êý¾Ý¿âÖÐÈ¥¡£µ±Ê±Ã»ÔõôÏë¾ÍÖ±½ÓÓÃjava.sql°üϵÄÀà°ÑÊý¾Ý¶Á³öÀ´È»ºóÆ´×°³ÉsqlÓï¾ä£¬Ë³ÀûÍê³ÉÁËÈÎÎñ¡£ºóÀ´ÓõÚÈý·½²å¼þʵÏÖÁ˶Á£¬Ð´£¬ÐÞ¸ÄexcelÎļþ¡£ ÏÖÔÚÄóöÀ´¾ÍºÍ´ó¼Ò·ÖÏí¡£Ï£ÍûÄܹ»ÔÚijÖ̶ֳÈÉÏ°ï´ó¼Ò½â¾öһЩʵ¼ÊÎÊÌâ¡£
µÚÈý·½×é¼þ¿ÉÒÔÔÚ´ËÏÂÔØ£ºhttp://nexcel.sourceforge.net/
Ê× ......