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

´óרÉúJAVAµÄÕâÌõ·

     ÎÒÓÐÒ»ÍòԪǮ£¬ÊǽèµÄ£¡ÎÒ½èÁËÕâÒ»Íò¿éÇ®×¼±¸È¥±±¾©¼ÌÐøѧϰ¡£
     ÎÒÊÇÒ»¸ö´óרÉú£¬²»ÈëÁ÷ÎÒѧУ£¡ËäÈ»ÎÒÏàÐÅÒ»¸öÈ˵ÄŬÁ¦ÄܸıäÃüÔË£¡ËùÒÔÎÒÒ»Ö±¶¼ÔÚŬÁ¦µÄѧϰJAVA¼¼Êõ£¬Ï£ÍûÄÜÔÚÕâÌõ·ÉÏ×ߵĸüÔ¶£¡ÎÒÓÐÅ®ÅóÓÑ£¬¶ÔÎҺܺã¬Ò²ºÜÖ§³ÖÎÒ£¡µ«ÎÒ´Ó¸ñÁ¦¿Õµ÷´ÇÖ°£¬ÎÒ¾ÍÑ¡ÔñÁËJAVA¿ª·¢ÕâÌõ·£¬ÒòΪÎÒÏëͨ¹ýѧϰ¼¼Êõ¸Ä±ä×Ô¼ºµÄÃüÔË¡£
     ´ÓJAVA»ù´¡¿ªÊ¼Ñ§Ê±£¬ÎÒ¶¼²»ÖªµÀÓÐJ2EEÕâ¸ö¶«Î÷¡£JAVAºËÐļ¼ÊõµÚÈý°æ£¬JAVA±à³Ì˼Ï룬ÎÒÔÚÍøÉÏËÑʱ£¬±ðÈËÍƼöµÄ£¬ËùÒÔÎÒ¾ÍÑ¡ÔñÁËÕâÁ½±¾Ê鿪ʼѧϰ£¬Ò»±¾Ò»±¾µÄ×Ôѧ£¡ÍêJAVAºËÐļ¼ÊõµÚÒ»¾íʱ£¬ÎÒѧ»áÁËÓÃSWING+¶àỊ̈߳¬×öÁËÒ»¸ö·É»úÓÎÏ·£¨ÐÔÄܺܲµ±³öÏֵķɻúÌ«¶àʱ£¬¾Í»áºÜ¿¨£©¡£¸Ð¾õ×ÔÒÑÊÇÄÇôµÄÅ£X¡£·Â·ðÕÒ¹¤×÷¾ÍÊÇÐÅÊÖÁ·À´Ò»°ã£¬Ò²ÒÔΪ×Ô¼ºÖÕÓÚÕÒµ½ÁË×Ô¼ºµÄ·½Ïò¡£
     ÎҵļòÀúÈ«¶¼Ê¯³Á´óº£µÄʱºò£¬ÎÒ²ÅÖªµÀ×Ô¼º¶®µÃµÄÄǵã֪ʶ£¬Ö»ÊÇJAVA¿ª·¢µÄ±ùɽһ½Ç¡£¿´×ÅÍøÉϵÄÕÐƸ£¬ÊìϤjsp£¬servlet£¬spring£¬hibernate£¬struts£¬µÈÎÒÕÒÒ»·Ý¹¤×÷Ö®ºó£¬ÎÒ»áÓÃÒµÓàµÄʱºò£¬°ÑÕâЩ¶¼Ñ§¾«£¬Ñ§Í¨µÄÏ£ÍûËæÖ®ÆÆÃð¡£
     ÔÚÕâ¸ö³ÇÊÐÀïÉú´æ£¬Èç¹ûûÓÐÇ®£¬Ã»ÃÅ£¬Ã»ÓÐÈκÎÈË»á¿ÉÁ¯Ä㣬ҲûÓÐÈκÎÒ»¸öÈË»áÒòΪÄãÓÐÄ¿±ê¶ø¿Ï¶¨Ä㣬ÒòΪÕâ¸öÉç»áÊÇÕâÑùµÄÏÖʵ£¬¹«Ë¾ÐèÒªµÄÊÇΪ¹«Ë¾´´ÀûÒæµÄÈË£¬ËûÃDz»»á¸øÇ®ÈÃÄãȥѧϰ¡£
    
      ÕâÒ»Íò¿éÇ®£¬ÊÇÎÒÕÒÎÒÅ®ÅóÓѽèµÄ£¡ÇëÄ㲻Ҫ˵ÎÒ³ÔÈí·¹£¬ÒòΪÎÒÊÇÒª»¹µÄ£¬ÎÒ»áÓÃÎÒµÄÒ»ÉúÀ´»¹£¡ÎÒÅ®ÅóÓѱ³×żÒÈ˽è¸øÎҵģ¬ÒòΪÎÒ´ÓÔ­À´ÄǸö´ýÓö½ÏºÃ µÄ¹«Ë¾´ÇÖ°¶¼Ã»ÓÐÈÃËûµÄ¸¸Ä¸Ç×ÖªµÀ£¬ÒòΪÎÒÃÇÅÂËûµÄ¸¸Ä¸Ç×µ£ÐÄÎÒÃǵÄδÀ´£¬ÎÒºÍËýµÄ¼ÒÀﶼÊÇÅ©´åµÄ£¬ËýµÄ¸¸Ç×ÔÚÒ»¸ö¹¤³§ÀïÉϰ࣬ËýµÄĸÇ×ÔÚµ±±£Ä¸£¬Ç®À´Ö®²»Ò×£¬ÎÒÒÔÇ°´ýÓö²»´í£¨Óжþǧ×óÓÒ£©µÄ¹«Ë¾ºÍ¼ÆËã»úÕâ¸öÐÐÒµ²»Ïà¸É£¬ÎÒ´ÇÖ°µÄÊÂÒ²²»ÄܸæËßÎҵĸ¸Ä¸£¬ÒòΪÎÒÒ²²»ÏëËûÃÇÖªµÀÎÒÔÚÕâ¸ö³ÇÊÐÉú»îµÄÈç´ËÀDZ·¡£ÎÒÃÇÁ½¸öÈË£¬ÓÐËĸöÀÏÈËÒªÑø£¬ËäÈ»ËûÃÇÏÖÔÚ»¹²»ÊǺÜÀÏ£¬ÎÒ¸¸Ä¸¶¼ÒªÁùÊ®ËêÁË£¡Èç¹ûÎÒ²»Å¬Á¦£¬ÎÒÕâ±²×Ó£¬¾ÍÊǸö²»Ð¢Ö®×Ó£¬ÎÒ¸ù±¾¾Í²»¿ÉÄÜÈÃËûÃǹýÉϺõÄÈÕ×Ó£¡
   
      »¹¼ÇµÃСʱºò£¬×ÜÊǶÔÂèÂè˵£¬“ÂèÂ裬µÈÎÒ³¤´óÁË£¬ÎÒÒ»¶¨ÈÃÄãÃǹýºÃÈÕ×Ó£¬µÈÎÒ³¤´óÁË£¬ÕõºÜ¶àºÜ¶àµÄÇ®”¡£¶øÈç½ñ£¬Ê®¼¸Äê¹ýÈ¥ÁË£¬ÎÒÓÖ×öÁËʲô£¬¸ßÖв»


Ïà¹ØÎĵµ£º

Java×ÀÃ濪·¢±Ê¼Ç

      ÐèÒª×öÒ»¸ö×ÀÃæµÄС¶«Î÷£¬ÓÉÓÚÖÁ½ñΪֹֻ»áдJava£¬ËùÒÔÖ»ÓÐÓÃswingÀ´×öÁË¡£ÅóÓÑ˵Delphi×öÆðÀ´ºÜ¿ì£¬µ«ÎÒûʱ¼äȥѧÁË£¬Ò»¶¨Òª¿ªÊ¼ºáÏò·¢Õ¹ÁË¡£
     Ô­À´¶ÌÔݵÄ×ö¹ýNetBeansµÄrcp¿ª·¢£¬µ«ËüµÄ´úÂë×éÖ¯Óеã¹ýÓÚ¸´ÔÓ£¬²»¹ýÎÒÒª×öµÄ²»ÊǺܴóµÄ¶«Î÷£¬µ«»¹ÊÇÏëÏÈÕÒEclips ......

javaÀûÓÃSocketÍøÂç´«µÝÎļþ

·þÎñÆ÷¶Ë:
package com.huahua;
import java.io.BufferedOutputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
public class ServerThread extends Thread {
......

java³ÌÐòÔ±Ó¦¸Ã¾­³£ä¯ÀÀµÄÍøÕ¾£¨¾­µäÍƼö£¬¸öÈËÊղأ©

ÍøÕ¾ÁбíÈçÏ£º
 
IBMÖйúµÄ¿ª·¢ÕßÍøÕ¾£ºhttp://www.ibm.com/developerworks/cn/
 
IBMÖйúfor javaµÄ¿ª·¢ÕßÍøÕ¾£ºhttp://www.ibm.com/developerworks/cn/java/  ÖÐÎÄ
 
IBMÖйúfor javaµÄ¿ª·¢ÕßÍøÕ¾£ºhttp://www.ibm.com/developerworks/java  Ó¢ÎÄ
 
Google´úÂëĿ¼ÍøÕ¾£ºhttp://c ......

java »ù´¡

1 import
2 package
3 ÐÞÊηû
4 ³éÏóÀà ½Ó¿Ú
5 static
6 StringÏà¹Ø
7 javadoc
8 Òì³£
9 ÈÕÆÚÏà¹Ø
10 ÊäÈëÊä³öÁ÷
11
Ò» import
     importÓÃÓÚµ¼È벻ͬ°üÖеÄÀ࣬²»Í¬°üÖеÄÀàÃû¿ÉÒÔÏàͬ¡£
     ÓÃ*ºÅÖ»Äܵ¼ÈëÒ»¸ö°ü£¬²»ÄÜʹÓà import java.* »òÕß java.*. ......

JavaÏà¶Ô·¾¶/¾ø¶Ô·¾¶×ܽá

.»ù±¾¸ÅÄîµÄÀí½â
¾ø¶Ô·¾¶£º¾ø¶Ô·¾¶¾ÍÊÇÄãµÄÖ÷Ò³ÉϵÄÎļþ»òĿ¼ÔÚÓ²ÅÌÉÏÕæÕýµÄ·¾¶£¬(URLºÍÎïÀí·¾¶)ÀýÈ磺
C:xyz est.txt ´ú±íÁËtest.txtÎļþµÄ¾ø¶Ô·¾¶¡£http://www.sun.com/index.htmÒ²´ú±íÁËÒ»¸öURL¾ø¶Ô·¾¶¡£
Ïà¶Ô·¾¶£ºÏà¶ÔÓëij¸ö»ù׼Ŀ¼µÄ·¾¶¡£°üº¬WebµÄÏà¶Ô·¾¶£¨HTMLÖеÄÏà¶ÔĿ¼£©£¬ÀýÈ磺ÔÚ
ServletÖ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ