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

ÓÃJava NIOдHTTP Server¼Ç¼

»¨ÁËÒ»¸ö¶àÔÂÓÃJava NIOдÁËÒ»¸ö¶¨ÖƵÄHTTP Server£¬Ö÷ÒªÊÇÖ§³ÖÎÒµÄWeBuzz.IMÍøÒ³°æÁÄÌì·þÎñ
¡£
ÏȽéÉÜÒ»ÏÂWeBuzz.IMÍøÒ³ÁÄÌì·þÎñ¡£
WeBuzz.IM
ÊÇÒ»¿îÍøÒ³°æ¼´Ê±ÁÄÌ칤¾ß£¬ÓÃÓÚ°ïÖúÓû§Í¨¹ýÍøÒ³ºÍÅóÓÑÁÄÌì¡£Gtalk£¨Google Talk£©
¡¢MSN£¨Windows Live Messenger£©
¡¢Yahoo! Messenger£¨Yahoo! Chat£¬ÓÖ³ÆΪÑÅ»¢Í¨£©
¡¢AIM£¨AOL Instant Messenger£©
¡¢ICQ
¡¢Jabber£¨Ö§³ÖXMPPЭÒéµÄÁÄÌì·þÎñÆ÷£©
µÄÓû§£¬¿ÉÒÔͨ¹ýWeBuzz.IMÌṩµÄÍøÒ³½çÃæµÇ¼¶ÔÓ¦µÄÁÄÌìÍøÂ磬ÓëÒÑÓеÄÅóÓѽøÐÐÁÄÌ졣ͨ¹ýWeBuzz.IMÍøÒ³°æÁÄÌ칤¾ß£¬ÄãÎÞÐèÔÚÄã±¾µØµçÄÔ°²×°Gtalk¡¢MSN¡¢Yahoo! Messenger¡¢AIM»òICQµÈ¿Í»§¶Ë£¬Ö»ÐèÒªÔÚä¯ÀÀÆ÷ÖзÃÎÊ http://webuzz.im/
£¬¼´¿É²é¿´ºÃÓѸüУ¬²¢ÓëÅóÓÑÇáËÉÁÄÌì¡£
¶ÔÓÚijЩûÓÐȨÏÞÔÚ±¾µØµçÄÔ°²×°¸÷ÖÖÁÄÌì¿Í»§¶ËµÄÓû§£¨Æ©ÈçÔÚÍø°ÉÉÏÍøµÄÓû§£©À´Ëµ£¬WeBuzz.IMÄܹ»°ïÖúËûÃDz»°²×°Èκοͻ§¶ËÈí¼þ¼´¿ÉºÍËûÃǵÄÅóÓÑÁªÏµ¡£
¶ÔÓÚÄÇЩÑá·³Á˵çÄÔÒ»µ©Æô¶¯¾ÍÆô¶¯Êý¸öÁÄÌì¿Í»§¶ËÒÔÖµçÄÔËÙ¶ÈÂýÍÌÍ̵ÄÓû§À´Ëµ£¬WeBuzz.IMʵÏÖÁËÒ»¸öä¯ÀÀÆ÷´°¿Ú¶à¸öÁÄÌì¿Í»§¶Ë£¬´ó´óÌáÉýµçÄÔµÄÐÔÄܺÍËٶȡ£
¶ÔÓÚijЩÆä½ûÖ¹»ò·âËøÁËÁÄÌì¿Í»§¶Ë¶Ë¿ÚµÄÍøÂçÓû§£¨Æ©ÈçÔڰ칫ÊҵŤ×÷ÈËÊ¿¡¢ÔÚѧУµÄѧÉú½Ìʦ»òÕßÔÚÒøÐлú¹¹µÄ¹«ÎñÔ±£©À´Ëµ£¬WeBuzz.IMʹÓÃÁËÆÕͨÍøÒ³µÄHTTP 80¶Ë¿Ú£¬²»»á±»·À»ðǽ·âËø£¬´Ó¶øÒÀÈ»Äܹ»°ïÖúÓû§µÇ¼ÁÄÌìÍøÂç²¢ºÍËûÃǵÄÅóÓѱ£³ÖÁªÏµ¡£
ΪʲôÒѾ­ÓгÉÊìµÄTomcat Server²»Óöø·ÇµÃ×Ô¼ºÐ´HTTP ServerÄØ£¿
1. ÍøÒ³ÁÄÌì·þÎñÐèÒª´¦Àí´óÁ¿µÄ³¤Á¬½ÓµÄHTTPÇëÇó£¬Ò²¾ÍÊÇCometÁ¬½ÓÇëÇ󣬶øÏÖÓеÄTomcat ServerÔÚÕâ·½Ãæ²»Ëã³ÉÊì¡£
2. WeBuzz.IMºǫ́ʹÓÃÁËJava2Script
¼¼ÊõµÄSimple RPC
ºÍSimple Pipe
£¬Simple RPC/PipeÔ­À´ÊÇÃæ¶ÔServlet APIµÄÒ»¸ö·â×°£¬µ«ÊÇServlet API 2.XûÓйØÓÚCometÁ¬½Ó´¦ÀíµÄÏà¹ØAPI£¬¶øServlet 3.0 API¸Õ¸Õ³ÉΪJSR±ê×¼£¬ÉÐδÓгÉÊìÎȶ¨µÄ·þÎñÆ÷ʵÏÖ¡£
2. ÔÚд×Ô¼ºµÄHTTP Server֮ǰ£¬ÎÒÒѾ­Ê¹ÓÃTomcat ServerÁ½ÈýÄ꣬ÔÚ´óÁ¿CometÁ¬½Ó´¦Àí·½ÃæÒѾ­µ½´ïÁËTomcat·þÎñÆ÷µÄ¼«ÏÞ¡£
ÆÕͨTomcat ServerºÍ»ùÓÚJava NIO¶¨ÖƵÄHTTP CometÓ¦ÓÃServerÓÐʲôÇø±ðÄØ£¿
ÆÕͨTomcat Server»ù±¾¶¼ÊÇÖ¸Ìṩ֧³ÖServlet/JSP±ê×¼µÄÈÝÆ÷£¬¿ÉÒÔÍùÆäÖв¿Êð¶ÔÓ¦µÄServletÓ¦Ó᣻ùÓÚJava NIO¶¨ÖƵÄHTTP Server£¬²»ÊÜÏÞÓÚServletµÄAPI£¬¿ÉÒÔ¸ù¾ÝNIOµÄÌØÐÔºÍCometÁ¬½ÓµÄÌØÐÔ½áºÏWeBuzz.IMÍøÒ³ÁÄÌìµÄÐèÇó£¬Ð޸Ķ¨ÖÆ£¬´Ó¶øÄܹ»³ä·ÖÌá¸ßµ¥»úServe


Ïà¹ØÎĵµ£º

Linux Java»·¾³ÅäÖð²×°

Ò»¡¢°²×°JDK
°²×°°üÃûΪ£ºjdk-1_5_0_18-linux-i586.rpm.bin
°²×°²½Ö裺
1. ÒÔrootÉí·ÝµÇ¼Linux²Ù×÷ϵͳ
2. ½«jdk-1_5_0_18-linux-i586.rpm.bin°²×°°üÉÏ´«µ½/tmpĿ¼ÏÂ, ¼ì²âÈ·±£jdk-1_5_0_18-linux-i586.rpm.binÓпÉÖ´ÐÐȨÏÞ£»
Èç¹ûjdk-1_5_0_18-linux-i586.rpm.binûÓпÉÖ´ÐÐȨÏÞ£¬¿ÉʹÓÃÒ»ÏÂÃüÁîÌí¼Ó
#c ......

JavaÁ¬½ÓSQL ServerÊý¾Ý¿â

ÓÃJavaÁ¬½ÓSQL Server2000Êý¾Ý¿âÓжàÖÖ·½·¨£¬ÏÂÃæ½éÉÜÆäÖÐ×î³£ÓõÄÁ½ÖÖ£¨Í¨¹ýJDBCÇý¶¯Á¬½ÓÊý¾Ý¿â£©¡£
1. ͨ¹ýMicrosoftµÄJDBCÇý¶¯Á¬½Ó¡£´ËJDBCÇý¶¯¹²ÓÐÈý¸öÎļþ£¬·Ö±ðÊÇmssqlserver.jar¡¢msutil.jarºÍmsbase.jar£¬¿ÉÒÔµ½Î¢ÈíµÄÍøվȥÏÂÔØ£¨http://www.microsoft.com/downloads/details.aspx?FamilyId=07287B11-0502-461A- ......

javaÊý¾Ý½á¹¹Ö®Á´±íLinkedList

Á´±íLinkedListÊÇÓÉÈô¸É¸ö³ÆΪ½áµãµÄ¶ÔÏó×é³ÉµÄÒ»ÖÖÊý¾Ý½á¹¹£¬Ã¿¸ö½áµãº¬ÓÐÒ»¸öÊý¾ÝºÍÏÂÒ»¸ö½áµãµÄÒýÓ㬻òº¬ÓÐÒ»¸öÊý¾Ý²¢º¬ÓÐÉÏÒ»¸ö½áµãµÄÒýÓúÍÏÂÒ»¸ö½áµãµÄÒýÓà  LinkedListÀàÔÚjava.util°üÖÐ
1.¹¹Ôì·½·¨£ºLinkedList()
2.³£Ó÷½·¨
     public boolean add(Object o)£ºÏòÁ´±íÌí¼ÓÒ»¸ ......

ICTCLAS·Ö´ÊϵͳJavaµ÷ÓýӿÚÔÚEclipseÖеݲװ

ʵÑé»·¾³£ºJDK1.5¡¢Eclipse3.1¡¢XP²Ù×÷ϵͳ
·Ö´ÊϵͳJava½Ó¿Ú½âѹ°ü£ºd:\fenci£¨http://www.nlp.org.cnÖвéÕÒÏÂÔØ£©
µ¼Èë²½Ö裺
ÔÚEclipseÖÐн¨JavaÏîÄ¿£¬Ãû³ÆΪ£ºWordSpli£¬Ä¿Â¼½á¹¹ÈçÏÂËùʾ£º
ÓÒ»÷WordSplitÏîÄ¿£¬Ñ¡Ôñ“µ¼È딣¬½«µ¯³öµ¼Èë´°¿Ú£¬Ñ¡ÔñÁбíÖеēÎļþϵͳ”£¬µ¯³ö“ÎļþÏµÍ ......

JAVAÐéÄâ»úµÄÌåϵ½á¹¹

         
ÔÚJava
ÐéÄâ»úµÄ¹æ·¶Öж¨ÒåÁËһϵÁеÄ×Óϵͳ¡¢ÄÚ´æÇøÓò¡¢Êý¾ÝÀàÐͺÍʹÓÃÖ¸ÄÏ¡£ÕâЩ×é¼þ¹¹³ÉÁËJava
ÐéÄâ»úµÄÄÚ²¿½á¹¹£¬ËûÃDz»½ö½öΪJava
ÐéÄâ»úµÄʵÏÖÌṩÁËÇåÎúµÄÄÚ²¿½á¹¹£¬¸üÊÇÑϸñ¹æ¶¨ÁËJava
ÐéÄâ»úʵÏÖµÄÍⲿÐÐΪ¡£ 
    
Ã¿Ò ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ