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

Java×¢Ê͹淶

¶¨ÒåÕâ¸ö¹æ·¶µÄÄ¿µÄÊÇÈÃÏîÄ¿ÖÐËùÓеÄÎĵµ¶¼¿´ÆðÀ´ÏñÒ»¸öÈËдµÄ£¬Ôö¼Ó¿É¶ÁÐÔ£¬¼õÉÙÏîÄ¿×éÖÐÒòΪ»»È˶ø´øÀ´µÄËðʧ¡££¨ÕâЩ¹æ·¶²¢²»ÊÇÒ»¶¨Òª¾ø¶Ô×ñÊØ£¬µ«ÊÇÒ»¶¨ÒªÈóÌÐòÓÐÁ¼ºÃµÄ¿É¶ÁÐÔ£©¡£
Java µÄÓï·¨Óë C++ ¼°ÎªÏàËÆ£¬ÄÇô£¬ÄãÖªµÀ Java µÄ×¢ÊÍÓм¸ÖÖÂð£¿ÊÇÁ½ÖÖ£¿ ¡¡¡¡
// ×¢ÊÍÒ»ÐС¡¡¡
/* ...... */ ×¢ÊÍÈô¸ÉÐÐ
²»ÍêÈ«¶Ô£¬³ýÁËÒÔÉÏÁ½ÖÖÖ®Í⣬»¹ÓеÚÈýÖÖ£¬Îĵµ×¢ÊÍ£º ¡¡¡¡
/** ...... */ ×¢ÊÍÈô¸ÉÐУ¬²¢Ð´Èë javadoc Îĵµ
×¢ÊÍÒª¼òµ¥Ã÷ÁË¡£
String userName = null; //̞
±ßд´úÂë±ß×¢ÊÍ£¬Ð޸ĴúÂëͬʱÐÞ¸ÄÏàÓ¦µÄ×¢ÊÍ£¬ÒÔ±£Ö¤×¢ÊÍÓë´úÂëµÄÒ»ÖÂÐÔ¡£
ÔÚ±ØÒªµÄµØ·½×¢ÊÍ£¬×¢ÊÍÁ¿ÒªÊÊÖС£×¢Ê͵ÄÄÚÈÝÒªÇå³þ¡¢Ã÷ÁË£¬º¬Òå׼ȷ£¬·À
Ö¹×¢ÊͶþÒåÐÔ¡£±£³Ö×¢ÊÍÓëÆäÃèÊöµÄ´úÂëÏàÁÚ£¬¼´×¢Ê͵ľͽüÔ­Ôò¡£
¶Ô´úÂëµÄ×¢ÊÍÓ¦·ÅÔÚÆäÉÏ·½ÏàÁÚλÖ㬲»¿É·ÅÔÚÏÂÃæ¡£¶ÔÊý¾Ý½á¹¹µÄ×¢ÊÍÓ¦·ÅÔÚ
ÆäÉÏ·½ÏàÁÚλÖ㬲»¿É·ÅÔÚÏÂÃ棻¶Ô½á¹¹ÖеÄÿ¸öÓòµÄ×¢ÊÍÓ¦·ÅÔÚ´ËÓòµÄÓÒ·½£»
ͬһ½á¹¹Öв»Í¬ÓòµÄ×¢ÊÍÒª¶ÔÆë¡£
±äÁ¿¡¢³£Á¿µÄ×¢ÊÍÓ¦·ÅÔÚÆäÉÏ·½ÏàÁÚλÖûòÓÒ·½¡£
È«¾Ö±äÁ¿ÒªÓнÏÏêϸµÄ×¢ÊÍ£¬°üÀ¨¶ÔÆ书ÄÜ¡¢È¡Öµ·¶Î§¡¢ÄÄЩº¯Êý»ò¹ý³Ì´æÈ¡ËüÒÔ
¼°´æȡʱעÒâÊÂÏîµÈµÄ˵Ã÷¡£
ÔÚÿ¸öÔ´ÎļþµÄÍ·²¿ÒªÓбØÒªµÄ×¢ÊÍÐÅÏ¢£¬°üÀ¨£ºÎļþÃû£»°æ±¾ºÅ£»×÷Õߣ»Éú³ÉÈÕ
ÆÚ£»Ä£¿é¹¦ÄÜÃèÊö£¨È繦ÄÜ¡¢Ö÷ÒªËã·¨¡¢ÄÚ²¿¸÷²¿·ÖÖ®¼äµÄ¹Øϵ¡¢¸ÃÎļþÓëÆäËüÎÄ
¼þ¹ØϵµÈ£©£»Ö÷Òªº¯Êý»ò¹ý³ÌÇåµ¥¼°±¾ÎļþÀúÊ·Ð޸ļǼµÈ¡£
Java´úÂë
/**  
   * Copy Right Information   : Neusoft IIT  
   * Project                        : eTrain  
   * JDK version used           : jdk1.3.1  
   * Comments                  : config path  
   * Version                       :&nb


Ïà¹ØÎĵµ£º

javaÓëmysqlÂÒÂëµÄÎÊÌâ [ת]

½â¾ö·½·¨Ò»:(×îÖØÒªµÄÒ»ÖÖ·½·¨)
Äã¿´ÏÂmy.ini£¬ÓÐÎÞ
[mysql]
default-character-set=utf8
[client]
default-character-set=utf8
[mysqld]
default-character-set=utf8
È»ºó½¨Á¢±íʱ£¬Ò²ÒªÓ㨱ÈÈ磩
DROP   TABLE   IF   EXISTS   `Company`;
CREATE &nb ......

java·ºÐÍT.classµÄ»ñÈ¡

   ºÜÔç֮ǰд¹ýÀûÓ÷ºÐͺͷ´Éä»úÖƳéÏóDAO £¬¶ÔÆäÖлñÈ¡×ÓÀà·ºÐ͵ÄclassÒ»Ö±²»ÊǺÜÀí½â¡£¹Ø¼üµÄµØ·½ÊÇHibernateBaseDaoµÄ¹¹Ôì·½·¨ÖеÄ
Type genType = getClass().getGenericSuperclass();
Type[] params = ((ParameterizedType) genType).getActualTypeArguments();
entityClass = (Class)params[0] ......

java ASM

Java ASM
ÎÒÃÇÖªµÀJavaÊǾ²Ì¬ÓïÑÔ£¬¶øpython¡¢rubyÊǶ¯Ì¬ÓïÑÔ£¬Java³ÌÐòÒ»µ©Ð´ºÃºÜÄÑÔÚÔËÐÐʱ¸ü¸ÄÀàµÄÐÐΪ£¬¶øpython¡¢ruby¿ÉÒÔ¡£
²»¹ý»ùÓÚbytecode²ãÃæÉÏÎÒÃÇ¿ÉÒÔ×öһЩÊֽţ¬À´Ê¹Java³ÌÐò¶àһЩÁé»îÐÔºÍMagic£¬ASM¾ÍÊÇÕâÑùÒ»¸öÓ¦Óù㷺µÄ¿ªÔ´¿â¡£
ASM is a Java bytecode manipulation framework. It can be used t ......

JAVAÏß³ÌÖеÄÊØ»¤Ị̈߳¨Daemon£©

ÊØ»¤Ị̈߳¨Daemon£©
JavaÓÐÁ½ÖÖThread£º“ÊØ»¤Ïß³ÌDaemon”Óë“Óû§Ïß³ÌUser”¡£
ÎÒÃÇ֮ǰ¿´µ½µÄÀý×Ó¶¼ÊÇÓû§£¬ÊØ»¤Ïß³ÌÊÇÒ»ÖÖ“ÔÚºǫ́ÌṩͨÓÃÐÔÖ§³Ö”µÄỊ̈߳¬Ëü²¢²»ÊôÓÚ³ÌÐò±¾Ìå¡£
´Ó×ÖÃæÉÏÎÒÃǺÜÈÝÒ×½«ÊØ»¤Ïß³ÌÀí½â³ÉÊÇÓÉÐéÄâ»ú£¨virtual machine£©ÔÚÄÚ²¿´´½¨µÄ£¬¶øÓû§Ïß³ÌÔòÊÇ×Ô ......

JavaÖÐNative¹Ø¼ü×Ö

Java²»ÊÇÍêÃÀµÄ£¬JavaµÄ²»×ã³ýÁËÌåÏÖÔÚÔËÐÐËÙ¶ÈÉÏÒª±È´«Í³µÄC++ÂýÐí¶àÖ®Í⣬JavaÎÞ·¨Ö±½Ó·ÃÎʵ½²Ù×÷ϵͳµ×²ã£¨ÈçϵͳӲ¼þµÈ)£¬Îª´ËJavaʹÓÃnative·½·¨À´À©Õ¹Java³ÌÐòµÄ¹¦ÄÜ¡£
¿ÉÒÔ½«native·½·¨±È×÷Java³ÌÐòͬ£Ã³ÌÐòµÄ½Ó¿Ú£¬ÆäʵÏÖ²½Ö裺
£±¡¢ÔÚJavaÖÐÉùÃ÷native()·½·¨£¬È»ºó±àÒ룻
£²¡¢ÓÃjavah²úÉúÒ»¸ö.hÎļþ£»
£³¡¢Ð´Ò ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ