Äã±ØÐëÖªµÀµÄ11¸öJavaµÚÈý·½Àà¿â
http://apache.freelamp.com/hadoop/hive/hive-0.4.0/
http://sourceforge.net/projects/dbunit/files/
JavaµÚÈý·½library ecosystemÊÇÒ»¸öºÜ¹ãÀ«µÄ·¶³ë¡£²»¾ÃÇ°ÓÐÈË׫ÎÄ£ºÃ¿¸öÏîÄ¿ÖУ¬Äã±ØÐëÖªµÀµÄ11¸öJavaµÚÈý·½Àà¿â¡£
µ¥Ôª²âÊÔ
1.DBUnit
DBunitÊÇÒ»¸ö»ùÓÚjunitÀ©Õ¹µÄÊý¾Ý¿â²âÊÔ¿ò¼Ü¡£ËüÌṩÁË´óÁ¿µÄÀà¶ÔÓëÊý¾Ý¿âÏà¹ØµÄ²Ù×÷½øÐÐÁ˳éÏóºÍ·â×°¡£
2.MOckito
MockitoÊÇÒ»¸öÕë¶ÔJavaµÄmocking¿ò¼Ü¡£Äã¿ÉÒÔʹÓüò½àµÄAPI±àд³öƯÁÁµÄ²âÊÔ¡£
3.Hamcrest Matchers
Hamcrest ÊÇÒ»¸ö²âÊÔ¸¨Öú¹¤¾ß£¬ÌṩÁËÒ»Ì×ͨÓõÄÆ¥Åä·û Matcher£¬Áé»îʹÓÃÕâЩƥÅä·û¶¨ÒåµÄ¹æÔò£¬³ÌÐòÔ±¿ÉÒÔ¸ü¼Ó¾«È·µÄ±í´ï×Ô¼ºµÄ²âÊÔ˼Ï룬ָ¶¨ËùÏëÉ趨µÄ²âÊÔÌõ¼þ¡£
Junit4½áºÏHamcrestÌṩÁËеĶÏÑÔÓï¾ä-assertThat£¬Ö»ÐèÒ»¸öassertThatÓï¾ä£¬½áºÏHamcrestÌṩµÄÆ¥Åä·û£¬¾Í¿ÉÒÔ±í´ïÈ«²¿µÄ²âÊÔ˼Ïë¡£
Apache Commons
4.Configuration
Õâ¸ö¹¤¾ßÊÇÓÃÀ´°ïÖú´¦ÀíÅäÖÃÎļþµÄ£¬Ö§³ÖºÜ¶àÖÖ´æ´¢·½Ê½
5.DbUtils
DbUtils¿ÉÒÔ½«Êý¾Ý¿â²Ù×÷µ¥¶À×ö³ÉÒ»¸ö°ü£¬¼ò»¯Êý¾Ý¿â²Ù×÷¡£
6.IO
¿ÉÒÔ¿´³ÉÊÇjava.ioµÄÀ©Õ¹¡£ËüÌṩÁËÎļþÔĶÁ¹¦ÄÜ£¬ÒÔ¼°Ò»Ð©Ê¹Óõķ½·¨£¬ÀàËÆÓÚDbUtils¡£
7.Lang
Èç¹ûÄãÒªÎÊÎÒ»¹ÓÐÄĸö¿âÒ»»áÔÚ´ËÃûµ¥Ö®ÉÏ£¬ÎÒ»á¸æËßÄãÊÇLang»òÕßgoogle Collections¡£lang¿ÉÒÔ¿´³ÉÊǶÔjava.langµÄÀ©Õ¹£¬ÌṩÁËÖîÈçStringUtils, StringEscapeUtils, RandomStringUtils, Tokenizer, WordUtilsµÈ¹¤¾ßÀà¡£
ºóÆðÖ®Ðã
8.SLF4J
SLF4JÊÇΪ¸÷ÖÖloging APIsÌṩһ¸ö¼òµ¥Í³Ò»µÄ½Ó¿Ú£¬´Ó¶øʹµÃ×îÖÕÓû§Äܹ»ÔÚ²¿ÊðµÄʱºòÅäÖÃ×Ô¼ºÏ£ÍûµÄloging APIsʵÏÖ¡£Slf4jÀàËÆÓÚApache Common-LoggingºÍLog4J£¬µ«Slf4j±ÈËüÃǶ¼ÒªÓÅÐã¡£
9.Google Collections
JavaµÄ¼¯ºÏ¿ò¼ÜÊÇJavaÀà¿âµ±ÖÐʹÓÃƵÂÊ×î¸ßµÄ²¿·ÖÖ®Ò»£¬¶øGoogle Collections¿âÊÇÓÉGoogle»ùÓÚJava5.0 Collections Framework¿ª·¢µÄÒ»Ì×еÄJava¼¯ºÏ¿ò¼Ü£¬ÌṩһЩ¸ß¼¶¼¯ºÏ²Ù×÷µÄAPI¡£
10.c3p0
C3P0ÊÇÒ»¸öËæHibernateһͬ·Ö·¢µÄ¿ªÔ´µÄJDBCÁ¬½Ó³Ø£¬ ËüλÓÚlibĿ¼Ï¡£ °üÀ¨ÁËʵÏÖjdbc3ºÍjdbc2À©Õ¹¹æ·¶ËµÃ÷µÄConnection ºÍStatement ³ØµÄDataSources ¶ÔÏó¡£
11.Joda Time
Joda TimeÊÇÒ»¸öÇ¿´óÒ×ÓõÄÈÕÆÚºÍʱ¼ä¿â£¬¿ÉÒÔÍêÈ«È¡´úJDKDateºÍCalendarÀà¡£
Ïà¹ØÎĵµ£º
Myeclipse±¨Could not create Java VM
»·¾³£º
Myeclipse6.0£¬tomcat6.0, 2GÄÚ´æ
½ñÌìһֱʹÓÃDEBUGģʽÆô¶¯tomcatÒ»Ö±ºÜÂý£¬ËùÒÔÏëʹÓÃRUNģʽÀ´Æô¶¯£¬µ«ÊÇÿ´ÎÆô¶¯¶¼±¨´í“could not create the java virtual machine”£¬ÌáʾÉèÖÃÄÚ´æ²»×㣬°Ù¶ÈÏ£¬¶¼ÒªÇóÐÞ¸Äeclipse.iniÅäÖÃÎļþ£¬µ«ÊÇÐÞ¸ÄÁ˲»ºÃÊ ......
¡¾IT168 ¼¼ÊõÎÄÕ¡¿
WWJ SDK ÊÇÒ»ÖÖ¹¹½¨ÔÚ Java OpenGL (JOGL) À©Õ¹Ö®É쵀 3D
ͼÐεØÇòÒÇ¡£WWJ Àà²ã´Î½á¹¹µÄºËÐÄÊÇ GLCanvas µÄ×ÓÀà WorldWindowGLCanvas¡£¶ø GLCanvas ÊÇÒ»¸ö
Abstract Window Toolkit (AWT) ×é¼þ¡£
¡¡¡¡WWJ ¶Ô AWT µÄÒÀÀµÐÔ¶ÔÓÚÏëÔÚ Eclipse
Ó¦ÓóÌÐòÖÐʹÓà WWJ µÄ GIS ¿ª·¢ÈËÔ±À´½²ÊÇÒ»¸öÕÏ°¡£Äú¿É ......
public class VariableParameter {
public static void main(String[] args) {
System.out.println(add(1,2));
System.out.println(add(1,2,3,4));
}
public static int add(int x,int...args){
//ÊÇ3¸öµã£¬args±ØÐëÊÇ ......
Òë×¢
£º±¾ÎÄÀ´×Ôstraight_talking_java@yahoogroups.comÌÖÂÛ×飬ÒѾÊÇÒ»Äê¶àÇ°
µÄÎÄÕ¡£Alan WilliamsonÊÇJava Developers
JournalµÄ±à¼£¬ÏÂÎÄÀ´×ÔËûÔÚIBMµÄÒ»¸öÏûÏ¢À´Ô´¡£SWTºÍSwingµÄÂÛÕùÎÒ¼û¹ý²»ÉÙ£¬NetbeansºÍEclipseµÄҲͬÑù¶à¡£ÒëÕß·Òë
´ËÎIJ¢²»ÊÇÒª¼¤ÆðʲôÕùÖ´£¬Ò²²»ÊÇÖ§³ÖÄÄÒ»·½£¨ËäÈ»ÎÒµÄÈ·ÊÇÕ¾ÔÚSWTÒ»±ßµ ......
±¾ÎĽ²½âÁËJavaÐòÁл¯µÄ»úÖƺÍÔÀí¡£´ÓÎÄÖÐÄã¿ÉÒÔÁ˽âÈçºÎÐòÁл¯Ò»¸ö¶ÔÏó£¬Ê²Ã´Ê±ºòÐèÒªÐòÁл¯ÒÔ¼°JavaÐòÁл¯µÄËã·¨¡£
00 00 00 0B: 11, containVersionµÄÖµ.
0x70:TC_NULL£¬Ã»Óг¬ÀàÁË¡£
0x49: ÓòÀàÐÍ. 49 ´ú±í"I", Ò²¾ÍÊÇInt..
00 0E: ÓòÃû×Ö³¤¶ ......