Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : java

Java¶àÏß³Ì

http://lavasoft.blog.51cto.com/62575/27069
ÊØ»¤Ï̺߳ÍÓû§Ïß³Ì
ÊØ»¤Ïß³ÌÓëÆÕͨÏ̵߳ÄΨһÇø±ðÊÇ£ºµ±JVMÖÐËùÓеÄÏ̶߳¼ÊÇÊØ»¤Ï̵߳Äʱºò£¬JVM¾Í¿ÉÒÔÍ˳öÁË£»Èç¹û»¹ÓÐÒ»¸ö»òÒÔÉϵķÇÊØ»¤Ïß³ÌÔò²»»áÍ˳ö¡££¨ÒÔÉÏÊÇÕë¶ÔÕý³£Í˳ö£¬µ÷ÓÃSystem.exitÔò±Ø¶¨»áÍ˳ö£© 
ËùÒÔsetDeamon(true)µÄΨһÒâÒå¾ÍÊǸæËßJVM²»ÐèÒªµÈ´ýËüÍ˳ö£¬ÈÃJVMϲ»¶Ê²Ã´Í˳ö¾ÍÍ˳ö°É£¬²»ÓùÜËü¡£
join·½·¨
join()·½·¨-µÈ´ý¸ÃÏß³ÌÖÕÖ¹£¬ÄÇôÈç¹ûthread_n.join(),¾ÍÊÇ˵µÈ´ýµ±Ç°Ïß³Ì(join()µÄµ÷ÓÃÕß--thread_n)ÖÕÖ¹
notify notifyall
waitÓënotifyÒ»°ãÊÇÅäÌ×ʹÓõģ¬ 
Ò»¸öÏß³ÌÔÚͬ²½Óï¾äÖе÷ÓÃObject.wait·½·¨£¬Ê¹¸Ã¶ÔÏó»òÀàµÄËøÊͷŵô£¬µÈ´ýCPU·ÖÅäʱ¼äƬ¸øÆäËüỊ̈߳¬µ±ÆäËüÏ̵߳÷ÓÃOjbect.notifyºó£¬wait·½·¨²Å»á·µ»Ø¡£ 
notifyÓënotifyAllµÄΨһÇø±ð¾ÍÔÚÓÚÏ̵߳÷ÓÃObject.wait·½·¨ºó£¬Óм¸¸öÏß³ÌÔڵȴýÆäËüÏ߳̽«¶ÔÏó»òÀàµÄËøÊͷŵô£¬×¢ÒâÆäËüÏß³ÌûÓе÷ÓÃnotify»ònotifyAllÖ®¼ä£¬µ÷ÓÃObject.waitµÄÏß³ÌÊDz»ÊÇ»ñÈ¡ËøµÄ£¬ËüÃǵÄÇø±ð¾ÍÔÚÓÚÊÇ»½Ðѵ÷ÓÃwait·½·¨µÄÏ̻߳¹ÊÇËùÓеȴýËø±»ÊͷŵÄÏ̡߳£
1¡¢ÕâÁ½¸ö·½·¨À´×Ô²»Í¬µÄÀà·Ö±ðÊÇThreadºÍObject
¡¡¡¡2¡¢×îÖ÷ÒªÊÇsleep·½·¨Ã»ÓÐÊÍ· ......

JavaÖÐhashCode()·½·¨µÄ˵Ã÷

ÓÐÐí¶àÈËѧÁ˺ܳ¤Ê±¼äµÄJava£¬µ«Ò»Ö±²»Ã÷°×hashCode·½·¨µÄ×÷Óã¬
ÎÒÀ´½âÊÍһϰɡ£Ê×ÏÈ£¬ÏëÒªÃ÷°×hashCodeµÄ×÷Óã¬Äã±ØÐëÒªÏÈÖªµÀJavaÖеļ¯ºÏ¡£¡¡¡¡
×ܵÄÀ´Ëµ£¬JavaÖеļ¯ºÏ£¨Collection£©ÓÐÁ½À࣬һÀàÊÇList£¬ÔÙÓÐÒ»ÀàÊÇSet¡£
ÄãÖªµÀËüÃǵÄÇø±ðÂð£¿Ç°Õß¼¯ºÏÄÚµÄÔªËØÊÇÓÐÐòµÄ£¬ÔªËØ¿ÉÒÔÖظ´£»ºóÕßÔªËØÎÞÐò£¬µ«ÔªËز»¿ÉÖظ´¡£
ÄÇôÕâÀï¾ÍÓÐÒ»¸ö±È½ÏÑÏÖصÄÎÊÌâÁË£ºÒªÏë±£Ö¤ÔªËز»Öظ´£¬¿ÉÁ½¸öÔªËØÊÇ·ñÖظ´Ó¦¸ÃÒÀ¾ÝʲôÀ´ÅжÏÄØ£¿
Õâ¾ÍÊÇObject.equals·½·¨ÁË¡£µ«ÊÇ£¬Èç¹ûÿÔö¼ÓÒ»¸öÔªËؾͼì²éÒ»´Î£¬ÄÇôµ±ÔªËغܶàʱ£¬ºóÌí¼Óµ½¼¯ºÏÖеÄÔªËرȽϵĴÎÊý¾Í·Ç³£¶àÁË¡£
Ò²¾ÍÊÇ˵£¬Èç¹û¼¯ºÏÖÐÏÖÔÚÒѾ­ÓÐ1000¸öÔªËØ£¬ÄÇôµÚ1001¸öÔªËؼÓÈ뼯ºÏʱ£¬Ëü¾ÍÒªµ÷ÓÃ1000´Îequals·½·¨¡£ÕâÏÔÈ»»á´ó´ó½µµÍЧÂÊ¡£   
ÓÚÊÇ£¬Java²ÉÓÃÁ˹þÏ£±íµÄÔ­Àí¡£¹þÏ££¨Hash£©Êµ¼ÊÉÏÊǸöÈËÃû£¬ÓÉÓÚËûÌá³öÒ»¹þÏ£Ëã·¨µÄ¸ÅÄËùÒÔ¾ÍÒÔËûµÄÃû×ÖÃüÃûÁË¡£
¹þÏ£Ëã·¨Ò²³ÆΪɢÁÐËã·¨£¬Êǽ«Êý¾ÝÒÀÌض¨Ëã·¨Ö±½ÓÖ¸¶¨µ½Ò»¸öµØÖ·ÉÏ¡£Èç¹ûÏêϸ½²½â¹þÏ£Ëã·¨£¬ÄÇÐèÒª¸ü¶àµÄÎÄÕÂƪ·ù£¬ÎÒÔÚÕâÀï¾Í²»½éÉÜÁË¡£
³õѧÕß¿ÉÒÔÕâÑùÀí½â£¬hashCode·½·¨Êµ¼ÊÉÏ·µ»ØµÄ¾ÍÊǶÔÏó´æ´¢µÄÎïÀíµØÖ·£¨Êµ¼Ê¿ÉÄܲ¢²»Ê ......

Javaѧϰ·Ïßͼ£¬×¨ÎªÐÂÊÖ¶¨ÖƵÄJavaѧϰ¼Æ»®½¨Òé





ÔõôѧϰJava£¬ÕâÊǺܶàÐÂÊÖ¾­³£»áÎÊÎÒµÄÎÊÌ⣬ÏÖÔÚÎÒ¼òµ¥ÃèÊöÏÂÒ»¸öJava³õѧÕßµ½¾ÍҵҪѧµ½µÄһЩ¶«Î÷£º
   
Ê×ÏÈÒªÃ÷°×JavaÌåϵÉè¼Æµ½µÃÈý¸ö·½Ã棺J2SE,J2EE,J2ME£¨KJAVA£©¡£J2SE£¬Java 2 Platform Standard
Edition£¬ÎÒÃǾ­³£Ëµµ½µÄJDK£¬¾ÍÖ÷ÒªÖ¸µÄÕâ¸ö£¬ËüÊÇÈýÕߵĻù´¡£¬ÊôÓÚ×ÀÃ漶ӦÓÿª·¢£¬Õⲿ·ÖÈç¹ûѧµÃºÃºÜÈÝÒ×ÍØÕ¹J2EEºÍJ2ME¡£
J2ME£¬The Micro Edition of the Java 2
Platform¡£Ö÷ÒªÓÃÓÚǶÈëʽJava£¬ÈçÊÖ»ú£¬PDAµÈµÈ¡£J2EE£¬Java 2 Platform£¬Enterprise
Edition£¬¾ÍÊÇËùνµÄÆóÒµ¼¶Java£¬ÊʺÏÆóÒµµÄ´óÐÍÓ¦Óÿª·¢¡£
J2SE£º
   
ÐÂÊÖ×î³õѧϰµÄʱºòÏÈÒª´ÓJ2SE¿ªÊ¼Ñ§Æð£¬Ëù°üº¬µÄÄÚÈÝÖ÷Òª·ÖΪ£ºÃæÏò¶ÔÏó¸ÅÄîµÄÀí½â¡¢Java»ù±¾Óï·¨µÄѧϰ£¬Java×ÀÃæͼÐνçÃæÓ¦ÓóÌÐòµÄ¿ª·¢£¬
ÕÆÎÕ³£ÓõÄJava APIµÈ£¨¹Ø¼üÊÇҪѧ»áÔõÑù²éÔÄ£©¡£
Öص㣺Java»ù±¾Óï·¨£¨Ñ­»·½á¹¹£¬Êý¾ÝÀàÐÍ£¬Êý×飬ÔËËã·ûµÈ£©¡¢Swing£¬awt£¬
ʼþ»úÖÆ¡¢ÎļþÊäÈëÊä³öÁ÷´¦ÀíµÈ
Äѵ㣺ÃæÏò¶ÔÏó˼ÏëµÄÀí½â£¨½Ó¿Ú¡¢ÀàµÈ£©¡¢Ï̡߳¢socketÍøÂç±à³ÌµÈ
ÊÓƵ½Ì³ÌÍƼö£ºËïöεÄJava»ù
´¡ÊÓƵ½Ì³Ì¡¢ÕÅТÏéµÄJava»ù´¡ÊÓƵ½Ì³Ì£¬½²µÄ¶¼ºÜϸ£ ......

Javaѧϰ·Ïßͼ


JAVAѧϰ·Ïßͼ
ÔÚ¿ªÊ¼Ö®Ç°ÓбØÒªÔÙÌÖÂÛÒ»ÏÂJ2ME£¬J2SE£¬J2EEÕâЩ¸ÅÄî¡£J2ME£¬The
Micro Edition of the Java 2 Platform¡£Ö÷ÒªÓÃÓÚǶÈëʽJava£¬ÈçÊÖ»ú£¬PDAµÈµÈ¡£J2SE£¬Java 2
Platform£¬Standard Edition£¬ÎÒÃÇͨ³£Ëù˵µÄJDK(Java Development
Kit)°üº¬ÔÚ´Ë£¬ÊÇJ2EEµÄ»ù´¡¡£J2EE£¬Java 2 Platform£¬Enterprise
Edition£¬¾ÍÊÇËùνµÄÆóÒµ¼¶Java¡£ÕâЩֻÊÇ´ÓAPI¼¶±ðÉϵĻ®·Ö£¬Êµ¼ÊÉÏSun¸øJ2EEµÄ¶¨ÒåÊÇ£º¿ª·¢»ùÓÚ×é¼þµÄ¶à²ãµÄÆóÒµ¼¶Ó¦ÓõĹ淶¡£Ò²
¾ÍÊÇΪ¸÷ÖÖ²»Í¬µÄ¼¼Êõ¶¨ÒåÒ»¸öJavaµÄ¹æ·¶£¬Ê¹ÕâЩ²»Í¬µÄ¼¼Êõ½áºÏÆðÀ´£¬ÔÚJavaƽ̨ÉϹ¹½¨Ç¿×³µÄÆóÒµ¼¶Ó¦ÓᣴÓÕâÒ»µãÀ´¿´£¬J2EEÕâ¸ö¸ÅÄîÓ¦¸ÃÊÇ
º­¸ÇJ2ME£¬J2SEµÄ¡£±ÈÈçÒ»¸öµäÐ͵ÄJ2EEÓ¦Óã¬ÍøÉÏÉ̵꣬ËüÖ§³Öweb·½Ê½Ï¶©µ¥£¬Ò²Ö§³ÖÊÖ»ú϶©µ¥¡£ÏÔÈ»±ØÐëÓõ½J2SE£¬J2ME¡£ËùÒÔÒ²
¾Í²»´æÔÚËùνµÄ´ÓJ2SEתÏòJ2EEµÄÎÊÌâÁË£¬Ö»ÊǺóÕß°üº¬µÄ·¶Î§¸ü¹ã¶øÒÑ¡£
 
À´¿´¿´Sun¸ø³öµÄJ2EE Ïà¹Ø¼¼ÊõÖ÷Òª·ÖΪ¼¸´ó¿é¡£
1. Web Service¼¼Êõ
-   Java API for XML Processing (JAXP)
-   Java API for XML Registries (JAXR)
-   Java API for XML-based RPC (JAX-RPC)
-   & ......

Java¸ÃºÎÈ¥ºÎ´Ó


TIOBE
µÄ
±à³ÌÓïÑÔÅÅÃû°ñ£¬Ïë±Ø´ó¼Ò¶¼·Ç³£ÊìϤ£¬Ã¿Ô·¢²¼È«Çò±à³ÌÓïÑÔµÄÈȶȺÍÇ÷ÊÆ¡£ÔÚËÄÔ·ݷ¢²¼µÄÊý¾ÝÖУ¬CÓïÑÔÖÕÓÚ³¬¹ýJava³ÉΪNo.1£¬µ«ÕæÕýÈÃÈ˵£ÓÇ
µÄ£¬²¢²»ÊÇCµÄ¶á¹Ú£¬¶øÊÇJavaµÄ³ÖÐøÆ£Èõ£¬¸üÔã¸âµÄÊÇ£¬ËƺõûÓÐÄĸöÀÏ´óÕ¾³öÀ´Íì¾ÈÍÇÊÆ¡£
×÷ΪһÃûJava´ÓÒµÕߣ¬ÎÒÔÚÆóÒµÓ¦ÓÃÁìÓò×öÈí¼þ£¬´Ó¹¤×÷Öв¢Î´¸ÐÊܵ½JavaµÄµØλÓÐʲô̫´óµÄ±ä»¯£¬J2EEÒÀÈ»ÊÇÆóÒµ B/S
Ó¦Óüܹ¹µÄÊ×Ñ¡£¬µ«Èç¹ûÄÃJavaÈ¥×ö»¥ÁªÍøÓ¦Óã¬Í¬ÑùÊÇWEB£¬µ«Ä¿Ç°À´¿´»¹Óв»ÉÙÎÊÌ⣬²»ÊDz»ÄÜ×ö£¬ÊǺÜÞÏÞΡ£
×î½üÔÚÑ°ÕÒºÏÊʵĵÄwiki¡¢blogÀàµÄ¿ªÔ´³ÌÐò£¬ÒÔÇ°¾ÍÖªµÀ´óÃû¶¦¶¦µÄWordPress£¬Drupal£¬µ½¹ÙÍøÉÏÒ»¿´£¬È«¶¼ÊÇPHPµÄ£¬¶øÈ«
Çò×î´óµÄά»ùÍøÕ¾wikipediaÒ²ÊÇ»ùÓÚPHPµÄ¡£ÔÚÎÒÓ¡ÏóÖУ¬JavaµÄ¿ªÔ´ÉçÇøÒ²ÊǷdz£»îÔ¾µÄ£¬ÓÚÊÇÎҾͳ¢ÊÔËÑË÷ÕâЩÈí¼þÔÚJavaÖÐÓÐûÓжԵÈ
µÄÏîÄ¿£¬½á¹ûÁîÈ˷dz£Ê§Íû£¬²»ÊÇûÓУ¬¶øÊǺÜÈõ£¬ÍêÈ«²»ÔÚÒ»¸ö¼¶±ð¡£
µ½Ä¿Ç°ÎªÖ¹£º
ÎÒÕÒµ½µÄJava·½ÃæµÄblog³ÌÐò£¬×îÇ¿µÄµ±Êô£ºApache
Roller¡£µ«ÊÇ£¬Ö»Óм¸Ì×·ç¸ñÄ£°å£¬ÕÒ²»µ½Ê²Ã´²å¼þ£¬Ã»ÓÐÀ©Õ¹¿ª·¢Îĵµ¡£¶øWordPressÓгÉǧÉÏÍòµÄ²å¼þºÍ·ç¸ñÄ£°å£¬²¢ÇÒÓÐÅÓ´óµÄÓû§ÈººÍ»îÔ¾
µÄ¿ª·¢ÉçÇø¡£
Java·½ÃæµÄWiki³ÌÐò£¬×îÇ¿µÄÓ¦¸ÃÊÇ£ºXWiki ......

Âþ̸£ºÑ¡ÔñJava Web¿ª·¢Õæ²»ÈÝÒ×

ƽʱÔÚ¹¤×÷µÄʱºò£¬×ÜÊǾõµÃ¸Õ±ÏÒµµÄͬÊÂÃǶԼ¼ÊõµÄÀí½â²»µ½Î»£¬ÖªÆäÈ»¶ø²»ÖªÆäËùÒÔÈ»¡£¿ÉÊÇ£¬¾²ÏÂÐÄÀ´ÏëÒ»Ï룬ÕâÒ²²»ÄÜÈ«¹ÖËûÃÇ£¬²»ÊÇÐÂÈËÃDz»°®
ѧ£¬¶øÊÇÏÖÈç½ñJava Web¿ª·¢µÄÈ·ºÜ·±¸´¡£±íÃæÉÏ¿´£¬ÏÖÔÚ»áJavaµÄÈ˶àÈçţ룬SSH ºÞ²»µÃÊÇÿ¸ö java ¿ª·¢Åàѵ¿ÎµÄ±ØÑ¡ÏîÄ¿£¬µ«
WEB ¿ª·¢µÄÃż÷£¬ÕæµÄ²»µÍ¡£µ±È»£¬ÎÒ˵²»µÍ£¬ÊÇÒªÒÔÒ»¸öרҵÐÔÒªÇóΪǰÌáµÄ£¬Èç¹ûÖ»ÊǾ«ÓÚ“C&P”
´ó·¨£¬Æäʵ»¹²»ÄÜËã“ÕÆÎÕ”£¬¶¥¶àÊÇ“»áÓÔ°ÕÁË£¬¸ü±ðÌᾫͨÁË¡£
ÔÚʵ¼ÊµÄ¹¤×÷ÖУ¬ÓÉÓÚÒÔÇ°ÏîÄ¿µÄ»ýÀÛ£¬ÒѾ­»ù±¾Éϲ»»á´ÓÍ·½¨Á¢¹¤³ÌÁË£¬Í¨³£¶¼ÊÇÄÃÏֳɵŤ³Ì¿ò¼Ü¿ªÊ¼×ö£¬±ÜÃâÁ˺ܶàÅäÖ𡣬ÒÀÀµ°¡Ö®ÀàµÄ·±ËöµÄ¹¤
×÷¡£µ«ÊǽñÌìÓÖ¸ÐÊÜÁËһϣ¬ÓÃÁËÒ»Ìì°ëµÄʱ¼ä£¬´ÓÁ㿪ʼ£¬½¨Á¢ÁËÒ»¸ö WEB ¹¤³Ì£¬ËùÒÔ²ÅÓÐÕâƪ¸Ð¿®ÎÄ£ºJava Web ¿ª·¢ÕæµÄ²»ÈÝÒס£
ÄÇô£¬½¨Á¢Ò»¸ö±È½ÏÍêÕûµÄWEB¹¤³Ì£¬²¢ÇÒÅÜÆðÀ´£¨Íê³É´Óǰ̨µ½Êý¾Ý¿âµÄÍêÕû´¦ÀíÁ÷³Ì£¬ÄÄÅÂÖ»ÊDzåÈëÒ»¸öÕûÊý£©£¬ÐèÒªÒ»¸öʲôÑùµÄ֪ʶ¼¯ºÏÄØ£¿
1¡¢Ê×ÏÈÊÇ»·¾³×¼±¸¡£
ͨ³££¬ÎÒÃÇÐèÒª¿ª·¢¹¤¾ß£ºEclipse£¬»òÕßMyEclipse¡£µ«ÎÒ´ÓÀ´Ã»ÓÐÓùý£¬ÎÒÑ¡Eclipse
¡£
È»ºó£¬Ñ¡ÔñWEBÈÝÆ÷£¬×î³£ÓõÄTomcat£¬»òÕßJetty£¬JBoss ......
×ܼǼÊý:6386; ×ÜÒ³Êý:1065; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [9] [10] [11] [12] 13 [14] [15] [16] [17] [18]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ