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

javaÖÐÈçºÎʵÏÖÎļþ´ò°üÉÏ´«ÒÔ¼°×Ô¶¯½âѹ


ÎÒÃÇÔÚ¿ª·¢ÏîÄ¿µÄʱºò,ÌرðÊÇB/Sϵͳ,¾­³£»áÓöµ½ÒªÅúÁ¿ÉÏ´«ÎļþµÄÐèÇó,¶Ô´ËÐèÇóÒ»°ãÓÐÈçϼ¸¸ö½â¾ö·½°¸(ÒÔB/SΪÀý):
1. ÔÚ¿Í»§¶ËÌṩÎļþÉÏ´«½Ó¿Ú,Ò»´ÎÉÏ´«Ò»¸öÎļþ
2. Ò»´ÎÉÏ´«¶à¸öÎļþ
3. ½«ÐèÒªÉÏ´«µÄÎļþ´ò°ü,Ò»´ÎÉÏ´«µ½·þÎñÆ÷,²¢×Ô¶¯½âѹµ½Ö¸¶¨Ä¿Â¼
1,2·½·¨¶¼Óм¸¸öºÜÃ÷ÏԵIJ»×ã,Óû§¹¤×÷Á¿´ó,ÎļþÈç¹û¹ý´ó,ÔÚÍøÂç»·¾³ÖÐ,ÉÏ´«µÄЧÂʵÍÏÂ,ÁíÍâÎļþÔÚ²»Í¬µÄĿ¼,ÊÇÎÞ·¨½øÐÐÒ»´ÎÑ¡ÔñÉÏ´«µÄ.ËùÒÔ´ò°üÉÏ´«¾Í³ÉΪÁ˱ȽÏÁ÷ÐеÄÅúÁ¿ÎļþÉÏ´«µÄ½â¾ö·½°¸,ÏÂÃæ¾ÍÀ´Ò»ÆðÌÖÂÛÒ»ÏÂÔÚjavaÖÐÈçºÎʵÏÖ:
   Ö÷Òª¹¦ÄÜÐèÇó:
     a. ÉÏ´«Îļþ,½«Îļþ±£´æÔÚ·þÎñÆ÷
     b. ¶ÁÈ¡·þÎñÆ÷ÉÏѹËõÎļþ,½âѹµ½Ö¸¶¨Ä¿Â¼
   ÏÂÃæ¾ÍÕâÁ½¸öÐèÇó˵˵±àÂëʵÏÖ
ÉÏ´«: ʹÓÃÁËsmartupload¿ªÔ´³ÌÐò
    1. IUpload.java - (ÉÏ´«½Ó¿Ú,ÐèÒªjsmartupload.jar°ü)
import java.io.IOException;
import java.util.Hashtable;
import javax.servlet.ServletException;
import com.jspsmart.upload.File;
import com.jspsmart.upload.Files;
import com.jspsmart.upload.Request;
public interface IUpload {
     //Ö»ÄÜÉÏ´«Ò»¸öÎļþ
     public File getSingleUploadFile() throws MultiFileException,
             UploadFileIsMissingException;
     //ÅжÏÎļþÊÇ·ñ¶ªÊ§
     public boolean exists(File file);
     //±£´æÎļþ
     public int save(String targetFileName, int arg1) throws ServletException,
             IOException;
     //µÃµ½¾ø¶Ô±£´æ·¾¶
     public String getAbsoluteSavePath();
     //µÃµ½ÇëÇó
     public Request getRequest();
     //µÃµ½Îļþ
     public Files getFiles();
     //´¦ÀíËùÓвÎÊý,´¦ÀíÒ³ÃæÌá½»µÄÆäËû±íµ¥Êý¾Ý
     public Hashtable dealAllPara() throws Exception;
  


Ïà¹ØÎĵµ£º

JavaÈýÊ®¸öÄ¿±ê

1.ÄãÐèÒª¾«Í¨ÃæÏò¶ÔÏó·ÖÎöÓëÉè¼Æ(OOA/OOD)¡¢É漰ģʽ(GOF£¬J2EEDP)ÒÔ¼°×ÛºÏģʽ¡£ÄãÓ¦¸ÃÊ®·ÖÁ˽âUML£¬ÓÈÆäÊÇclass£¬object£¬interactionÒÔ¼°statediagrams¡£

¡¡¡¡2.ÄãÐèҪѧϰJAVAÓïÑԵĻù´¡ÖªÊ¶ÒÔ¼°ËüµÄºËÐÄÀà¿â
(collections£¬serialization£¬streams£¬networking£¬  
multithreading£¬reflection£¬event£¬h ......

¾ÞÈËÍøÂçjava±ÊÊÔ»ù´¡Ìâ

1¡¢StringÊÇ×î»ù±¾µÄÊý¾ÝÀàÐÍÂð?
»ù±¾Êý¾ÝÀàÐÍ°üÀ¨byte¡¢int¡¢char¡¢long¡¢float¡¢double¡¢booleanºÍshort¡£
java.lang.StringÀàÊÇfinalÀàÐ͵ģ¬Òò´Ë²»¿ÉÒԼ̳ÐÕâ¸öÀà¡¢²»ÄÜÐÞ¸ÄÕâ¸öÀࡣΪÁËÌá¸ßЧÂʽÚÊ¡¿Õ¼ä£¬ÎÒÃÇÓ¦¸ÃÓÃStringBufferÀà
2¡¢int ºÍ Integer ÓÐʲôÇø±ð
Java ÌṩÁ½ÖÖ²»Í¬µÄÀàÐÍ£ºÒýÓÃÀàÐͺÍԭʼÀàÐÍ£¨ ......

Ãô½Ý¿ª·¢Öбàд¸ßÖÊÁ¿Java´úÂë

Ãô½Ý¿ª·¢Öбàд¸ßÖÊÁ¿Java´úÂë
2010-03-08 10:32
 | 
1709
´ÎÔĶÁ
 | 
¡¾ÒÑÓÐ9
ÌõÆÀÂÛ¡¿·¢±íÆÀÂÛ
À´Ô´£º±ÈÌØÍø À´Ô´£ºIBM/ÍõÓÀ¿ý
 | 
Êղص½ÎÒµÄÍøÕª
Ãô½Ý¿ª·¢µÄÀíÄîÒѾ­Á÷ÐÐÁ˺ܳ¤µÄʱ¼ä£¬ÔÚÃô½Ý¿ª·¢ÖеĿª·¢µü´ú½×¶ÎÖУ¬ÎÒÃÇ¿ÉÒÔͨ¹ýÎå¸ö²½Ö裬À´ÓÐЧµÄÌá¸ßÕû¸öÏîÄ¿µÄ´úÂëÖÊÁ¿¡ ......

Java ¶ÁÈ¡ÊôÐÔÎļþ

// messages.hello.properties
id=001
name=ϧԵ
love=I think,therefor i am.
friends=Hi! {0} and {1} ,how are you?
// org.PropertiesUtil.java
package org;
import java.io.UnsupportedEncodingException;
import java.text.MessageFormat;
import java.util.Locale;
import java.util.MissingResourceEx ......

java ¼¸ÖÖÅÅÐòËã·¨


//ÅÅÐòºÍ²éÕÒÊÇÊý¾Ý½á¹¹ÓëËã·¨Éè¼ÆµÄÖØÒªÄÚÈÝ
/*
ÅÅÐòÖ÷Òª°üÀ¨
1.²åÈëÅÅÐò£ºÓÖ°üÀ¨Ö±½Ó²åÈëÅÅÐò¡¢¶þ·Ö·¨²åÈëÅÅÐò¡¢±í²åÈëÅÅÐò¡¢ShellÅÅÐò
2.Ñ¡ÔñÅÅÐò£º°üÀ¨Ö±½ÓÑ¡ÔñÅÅÐò¡¢¶ÑÅÅÐò
3.½»»»ÅÅÐò£ºÃ°ÅÝÅÅÐò¡¢¿ìËÙÅÅÐò
4.·ÖÅäÅÅÐò£ºÖ÷ÒªÓлùÊýÅÅÐò
5.¹é²¢ÅÅÐò£ºÖ÷ÒªÓÐÄÚÅÅÐò¡¢ÍâÅÅÐò
×¢£ºÒÔϳÌÐò¾ùÔÚ±¾È˵çÄÔÉÏͨ¹ýÍêÕ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ