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

Java Ï̳߳صÄÔ­ÀíÓëʵÏÖ

------------------------------------------------------------------------------------------------
Õ⼸ÌìÖ÷ÒªÊÇ¿ñ¿´Ô´³ÌÐò£¬ÔÚÃÖ²¹ÁËһЩÒÔǰ֪ʶ¿Õ°×µÄͬʱ£¬Ò²Ñ§»áÁ˲»ÉÙеÄ֪ʶ£¨±ÈÈç NIO£©£¬»òÕß³ÆÎªÐ¼¼Êõ°É¡£
Ï̳߳ؾÍÊÇÆäÖÐÖ®Ò»£¬Ò»Ìáµ½Ị̈߳¬ÎÒÃÇ»áÏëµ½ÒÔǰ¡¶²Ù×÷ϵͳ¡·µÄÉú²úÕßÓëÏû·ÑÕߣ¬ÐźÅÁ¿£¬Í¬²½¿ØÖƵȵȡ£
Ò»Ìáµ½³Ø£¬ÎÒÃÇ»áÏëµ½Êý¾Ý¿âÁ¬½Ó³Ø£¬µ«ÊÇÏ̳߳ØÓÖÈçºÎÄØ£¿
½¨Ò飺ÔÚÔĶÁ±¾ÎÄǰ£¬ÏÈÀíÒ»Àíͬ²½µÄ֪ʶ£¬ÌرðÊÇsyncronizedͬ²½¹Ø¼ü×ÖµÄÓ÷¨¡£
¹ØÓÚÎÒ¶Ôͬ²½µÄÈÏʶ£¬ÒªÔµÓÚ´óÈýÄêµÄÒ»±¾Ê飬ÊéÃûºÃÏñÊÇ Java ʵս£¬Õâ±¾ÊéдµÃʵÔÚÌ«ÃîÁË£¬ÕæÕýµÄ´ÓÀíÂÛµ½Êµ¼ù£¬´Ó½ØÍ¼·ÖÎöµ½.class×Ö½ÚÂë·ÖÎö¡£ÍÛ£¬ÎÒÏëÊг¡ÉϺÜÄÑÂòµ½Õâô¾«ÖµÄÊéÁË¡£×÷Ϊһ¸öJava°®ºÃÕߣ¬ÎÒ¾õµÃ¾ø¶ÔÖµµÃÒ»¶Á¡£
ÎÒ¶Ô´ËÊéÓ¡Ïó×îÉîÖ®Ò»µÄ¾ÍÊÇ£ºequal()·½·¨£¬ÓÉdzÈëÉ¾­µä£¡
»¹ÓоÍÊÇͬ²½ÁË£¬ÆäÖÐÌáµ½ÁËÎҵö±à³ÌÎóÇø£¬ÒÔǰÈçºÎʹÓÃͬ²½Ìá¸ßÐÔÄܵȵȣ¬Í¨¹ýѧϰ£¬Ê¹ÎÒ¶Ôͬ²½µÄÈÏʶ½øÒ»²½¼ÓÉî¡£
--------------------------------------------------------------------------------------------------
¼òµ¥½éÉÜ
    ´´½¨Ïß³ÌÓÐÁ½ÖÖ·½Ê½£º¼Ì³ÐThread»òʵÏÖRunnable¡£ThreadʵÏÖÁËRunnable½Ó¿Ú£¬ÌṩÁËÒ»¸ö¿ÕµÄrun()·½·¨£¬ËùÒÔ²»ÂÛÊǼ̳ÐThread»¹ÊÇʵÏÖRunnable£¬¶¼ÒªÓÐ×Ô¼ºµÄrun()·½·¨¡£
    Ò»¸öÏ̴߳´½¨ºó¾Í´æÔÚ£¬µ÷ÓÃstart()·½·¨¾Í¿ªÊ¼ÔËÐУ¨Ö´ÐÐrun()·½·¨£©£¬µ÷ÓÃwait½øÈëµÈ´ý»òµ÷ÓÃsleep½øÈëÐÝÃßÆÚ£¬Ë³ÀûÔËÐÐÍê±Ï»òÐÝÃß±»ÖжϻòÔËÐйý³ÌÖгöÏÖÒì³£¶øÍ˳ö¡£
waitºÍsleep±È½Ï£º
    sleep·½·¨ÓУºsleep(long millis)£¬sleep(long millis, long nanos)£¬µ÷ÓÃsleep·½·¨ºó£¬µ±Ç°Ï߳̽øÈëÐÝÃßÆÚ£¬ÔÝÍ£Ö´ÐУ¬µ«¸ÃÏ̼߳ÌÐøÓµÓмàÊÓ×ÊÔ´µÄËùÓÐȨ¡£µ½´ïÐÝÃßʱ¼äºóÏ߳̽«¼ÌÐøÖ´ÐУ¬Ö±µ½Íê³É¡£ÈôÔÚÐÝÃ߯ÚÁíÒ»Ïß³ÌÖжϸÃỊ̈߳¬Ôò¸ÃÏß³ÌÍ˳ö¡£
    wait·½·¨ÓУºwait()£¬wait(long timeout)£¬wait(long timeout, long nanos)£¬µ÷ÓÃwait·½·¨ºó£¬¸ÃÏß³Ì·ÅÆú¼àÊÓ×ÊÔ´µÄËùÓÐȨ½øÈëµÈ´ý״̬£»
      wait()£ºµÈ´ýÓÐÆäËüµÄÏ̵߳÷ÓÃnotify()»ònotifyAll()½øÈëµ÷¶È״̬£¬ÓëÆäËüÏ̹߳²Í¬Õù¶á¼àÊÓ¡£wait()Ï൱ÓÚwait(0)£¬wait(0, 0)¡£
      wait(long timeout)£ºµ±ÆäËüÏ̵߳÷ÓÃnotify()»ònotifyAll()£¬»òʱ¼äµ½´ïtimeoutÙñÃ룬»òÓÐÆäËüijÏß³ÌÖжϸÃ


Ïà¹ØÎĵµ£º

´«ÖDz¥¿Íjavaѧϰ lucene½ø½×


ÎÒ½ñÌìѧϰÁËluceneµÄһЩ֪ʶ£¬ÎÒ×öÁ˼òµ¥µÄ±Ê¼Ç£º
Ë÷ÒýÎļþ½á¹¹£º
   µ¹ÅÅË÷Òý£¬Ë÷Òý¶ÔÏóÊÇÎĵµÖеĵ¥´ÊµÈ£¬ÓÃÀ´´æ´¢ÕâЩµ¥´ÊÔÚÒ»¸öÎĵµÖеÄλÖá£ÀýÈ磬ÓÐЩÊéÔÚ×îºóÌṩµÄË÷Òý£¨µ¥´Ê——Ò³ÂëµÄ¶ÔÓ¦ÁÐ±í£©£¬¾Í¿ÉÒÔ¿´³ÉÊÇÒ»ÖÖµ¹ÅÅÐòË÷Òý¡£¿ÉÒÔͨ¹ýһЩ¹Ø¼ü×Ö£¬ÔÚÈ«ÊéÖмìË÷³öÓëÖ®Ïà¹ØµÄ²¿
Ë÷ÒýÎ ......

´«ÖDz¥¿Íjavaѧϰ jbpm½ø½×

ÎÒ½ñÌìѧϰÁËjbpmµÄ֪ʶ£ºÎÒ×öÁ˼òµ¥µÄÕªÒª£º
Á÷³ÌͼÖеĸ÷ÖÖ½ÚµãµÄ×÷Óü°Ó÷¨£º
    ÐèÒªÓв»Í¬ÀàÐÍ£¨×÷Ó㩵Ľڵ㣬²ÅÄÜÉè¼Æ³ö¸´ÔÓµÄÁ÷³Ìͼ¡£JbpmÓÐÒ»Ì×Ô¤Ïȶ¨ÒåºÃµÄ½ÚµãÀàÐÍ¡£Èç¹û²»¹»Óã¬Ò²¿ÉÒÔʹÓÃ×Ô¶¨Òå½Úµã½øÐÐÀ©Õ¹£¬ÒÔÍê³É²»Í¬µÄÁ÷³ÌµÄÐèÒª¡£²»Í¬µÄ½ÚµãÀàÐÍ´ú±í²»Í¬µÄÐÐΪ¡£
ÿ¸öÁ÷³Ì¶¼±ØÐëÒªÓп ......

´«ÖDz¥¿Íjavaѧϰ OAÉóÅúÁ÷ת1


ÎÒ½ñÌìѧϰÁËÉóÅúÁ÷תµÄ֪ʶ£º
1£¬ÎªÊ²Ã´ÒªÓÐÉóÅúÁ÷ת£¨Ä¿µÄ£©
2£¬ÉóÅúÁ÷תģ¿éҪʵÏֵŦÄÜ£¨ÒªÇó£©
3£¬½â¾ö·½°¸Óë½çÃæ
1£¬Ä¿µÄ
    1£¬ÉóÅúÁ÷ת¾ÍÊǰѵ¥Î»ÄÚ²¿µÄ¸÷ÏîÉóÅúµç×Ó»¯£¬È繤×÷Çëʾ¡¢³ö²îÉêÇë¡¢²É¹ºÉê
       Çë¡¢±¨ÏúµÈÈÕ³£¹¤×÷Á÷³Ì¡£
    ......

Java ʹÓÃSSH¿ò¼Ü¿ª·¢Jsp ·½±ã£¬¿ì½Ý£¬¼òµ¥

Impl
public class BaseDAOImpl extends HibernateDaoSupport implements IBaseDAO
 //Ìí¼ÓÊý¾Ý
 this.getHibernateTemplate().save(achi);
 //ɾ³ý
 this.getHibernateTemplate().delete(this.getById(achi));
 //²éѯËùÓÐ
return this.getHibernateTemplate().find("from Achievement a ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ