´«ÖDz¥¿ÍJAVAÅàѵ2010 5 8OAµÚ¶þÌì×ܽá
´«ÖDz¥¿ÍJAVAÅàѵ2010-5-8OAµÚ¶þÌì×ܽá
Ò»Ö±ÒÔÀ´£¬¶¼Ìýµ½ÕâÑùµÄ»°£¬½ñÌìÓÖÔÚÍøÉÏ¿´µ½ÁËÕâÑùÒ»¾ä»°“д³öÒ»ÐдúÂëÍùÍù±ÈÀí½âÒ»ÐдúÂë¸üÖØÒª¡£ÒòΪÀí½âÎÊÌâÒ²Ðí½öÊÇÒ»¸öÊýѧÉÏ»òʵÑéÉϵļ¼ÄܶøÒÑ£¬¶øд³öÒ»ÐÐеĴúÂ룬ȴÐèÒªÓд´ÔìÐԵĔ¡£ÕâºÁÎÞÒÉÎʵıíÏÔ³öÀ´£¬Ñ§³ÌÐòµÄ×î»ù±¾µÀÀí¡£µ±ÎÒÃDZ¨×ÅËã·¨µÄÊé¼®ÔڿеÄʱºò£¬µ±ÎÒÃÇÒ»±éÓÖÒ»±é¿´ÄÇЩ´óʦ¼¶³ÌÐòԱд³öµÄÔ´´úÂëʱ£¬¶øºÜ¶àÈËÈ´ºöÂÔÁË×î»ù±¾µÄ¾÷ÇÏ——д³ÌÐò¾ÍÒª¶àд£¬JAVA³ÌÐòÒ²Èç´Ë¡£
Ôø¾£¬ÎÒÒòΪÔÚÍøÉÏ¿´µ½Ò»¸öÇ°±²Ëµ£¬ÕæÕýµÄ³ÌÐòÔ±¶ÔËãÊõÊÇÏ൱µÄÁ˽âµÄ¡£µ±³õ£¬ÎÒ¾ö¶¨£¬ÎÒÒ»¶¨ÒªÕÆÎÕ×î³öÉ«µÄËã·¨£¬ÒԱ㽫À´ÄܳÉΪһ¸öÓÅÐãµÄ³ÌÐòÔ±¡£Õâ¸öÏë·¨ÊDz»´íµÄ£¬ÎÒÒ»Ö±×êÑÐ×ÅÆäÖо«ÃîµÄËã·¨Ö®ÖС£¶øµ±ÎÒ¸ãÇå³þÆäÂß¼Ö®ºó£¬ÎÒÓÖ·¢ÏÖÔÚ£¬Îҷŵ¿ÊéÖ®ºó£¬ÎÒ¾ÓÈ»¶¼²»ÄÜ×ÔÒÑдһ¶ÎÍêÕûµÄJAVA´úÂë¡£ÎÒÒ²²»ÖªµÀµ±³õÕâÑùµÄÑ¡ÔñÊǺÃÊÇ»µ£¬ÊÇÒòΪÂúÇ»ÈÈѪ£¬Ò»ÒâµÄÈÏΪÕæÕýµÄ³ÌÐò¾ÍÊÇÒª¾«Í¨Ëã·¨µÄ¸ßÊÖ¡£Èç½ñÁ½Äê¹ýÈ¥ÁË£¬ÎÒµ½Ôø¾ÎÒ¿´µ½µÄËã·¨ÒѾ¼ÇÒäÄ£ºýʱ£¬ÔÚ¹ýÈ¥¹¤×÷µÄ·;ÖУ¬×Ô¼ºÊÇÀË·ÑÁ˺ܶàµÄʱ¼ä£¡Ëã·¨£¬·Ç³£ÖØÒª¡£Õâ¸öûÓÐÈË·ñÈÏ£¬µ«ÎÒ¾õµÃ×îÖ÷ÒªµÄÊÇ£¬ÔÚÕâ֮ǰӦ¸Ã¾ß±¸Ò»ÃÅÓïÑÔ»ù´¡Ö®ºó£¬ÔÚÉîÈëÑо¿£¬ÒòΪ¿ÝÔïµÄѧϰÁËÖ®ºó£¬Ã»ÓÐʵս£¬ºÜ¿ì¾Í»áÍü¼Ç¡£ÎÒÖ»ÊÇÒªÌáÐÑ×Ô¼º£¬Ñ§Ï°Ò»¶¨Òª·ÖÇå³þÖ÷´Î£¬ÒòΪ²»Í¬µÄÈË£¬ÌرðÊÇ´óѧϰ²»ºÃºÃѧϰµÄ£¬¸ù±¾¾ÍÃþ²»×ÅÆäÖÐÍ·ÄԵijõѧÕߣ¬Èç¹ûŪ²»Çå³þÖ÷´Î£¬ÊÇ×îÀË·Ñʱ¼äµÄ¡£
ÎÒÿÌìÍíÉÏ˯¾õʱµÄÒ»¼þʾÍÊÇ——¿´ÕÐƸÍø£¬ÒòΪÎÒҪʱ¿ÌÖªµÀÆóÒµÕÐƸµÄ¶¯Ïò£¬ÒÔ±ã×ÔÒÑ2 ¸öÔÂÖ®ºóÓÐÒ»¸ö³õ²½µÄ¹æ»®£¬ÕâÒ²ÊǼ¤ÀøÎÒѧϰµÄ¶¯Á¦Ö®Ò»¡£ÒòΪÎÒÊÇ´óרÉú£¬¿´×ÅÍøÉÏ´ó¶àÊýµÄ¹«Ë¾¶¼ÊÇÕÐƸ±¾¿ÆÉúµÄʱºò£¬ÎÒÒ»±éÒ»±éµÄ¸æËß×Ô¼º£¬ÒªÏëºÍËûÃÇ̨ͬ¾º¼¼£¬ÎÒÒѾʧȥÁËÆäÖеÄһЩÓÅÊÆ£¬ÎÒÖ»ÓÐÒÀ¿¿±ÈËûÃǸü¶àµÄŬÁ¦£¬²ÅÄÜÔÚ¾ºÕùÖжàÒ»µã×Ô¼ºµÄÓÅÊÆ¡£ÔÚÖÇÁªÉÏËÑË÷±±¾©JAVA¹Ø¼ü×Ö´óÔ¼ÓÐÎåǧ¸öÏà¹Ø¸Ú룬µ«ÊÇ£¬Èç¹ûÄãÑ¡Ôñ´óרʱ£¬Ö»ÓÐ700¸ö¡£80%¶¼ÊÇÒªÇ󱾿ÆѧÀú£¬ËùÒÔ£¬ÕâÊÇÎÒʱ¿ÌÌáÐÑÎÒ£¬ÇÃÏìÎҵľ¯ÖÓ¡£Ö»ÓÐÖªÒÑ£¬²ÅÄܸüºÃµÄÈÏʶ×ÔÒѵÄÁÓÊÆ¡£
ÔÚ×öÏîÄ¿µÄ¹ý³ÌÖУ¬ÎҸоõÇ°¶Îʱ¼äµÄ¸¶³öÊÇÓзdz£´óµÄÊÕ»ñµÄ£¬ÌرðÊÇHIBERNATE£¬¿´µ½JAVA±í½á¹¹£¬¾Í¿ÉÒÔÒ»´ÎÐÔµÄÅäÖóɹ¦£¬ÌرðÊÇÔÚʵսµÄ¹ý³Ìµ±ÖУ¬°ÑÇ°¶Îʱ¼äѧϰµÄ֪ʶÓÐÁËÒ»¸öÓÃÎäÖ®µØ¡£ÒÔǰѧϰ¶«Î÷£¬ÒòΪ¿Î³Ì±È½Ï½ôµÄÔÒò£¬ÆäʵÁ·Ï°µÄʱ¼ä²¢²»ÊǺܶ࣬ËùÒÔ£¬ÏîÄ¿µÄʵս³ÉÁËÎÒÃǹ®¹Ì֪ʶµÄ×î¼Ñ³¡¹þ¡£Í¬Ê±£¬ºÍ
Ïà¹ØÎĵµ£º
<!--
/* Font Definitions */
@font-face
{font-family:ËÎÌå;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:SimSun;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:"\@ËÎÌå" ......
Õ⼸ÌìÒ»Ö±ÔÚ´¦ÀíJavaµÄÈÕÆÚÎÊÌ⣬ͨ³£ÐèÒª°´ÒªÇóÉú³ÉÈÕÆڵĻ°£¬Í¨³£»áÓõ½util°üÖеÄCalendarÀ࣬ÔÙÓÃCalendarµÄgetTime()·½·¨Éú³É¶ÔÓ¦µÄDate£¬×îºóÓÃSimpleDateFormatÊä³ö¡£
1. »ñÈ¡µ±ÆÚÈÕÆÚ¡¢Äê·Ý¡¢Ô·Ý
import java.util.Calendar;
public clas ......
ÔÎÄ£º http://blog.sina.com.cn/s/blog_4e0c121101000awr.html
(ÕâÊÇÎÒÄê³õдµÄһƪÎÄÕ£¬µ«³Ù³ÙûÓй«¿ª¡£ÓÐЩÄÚÈÝ¿ÉÄÜÒѾ¹ýʱ£¬µ«»¹ÊÇÖµµÃÒ»¶Á.)
¾¹ý½«½ü10ÄêµÄ·¢Õ¹ºó£¬Java EEÒѾÑݱäΪµ±Ç°ÆóÒµµÄÖ÷Á÷¼ÆËãƽ̨¡£¿ª·¢ÕßÔÙÒ²²»Äܹ»¼ò¼òµ¥µ¥µØ½«Java¿´³ÉÒ»ÖÖ±à³ÌÓïÑÔÁË£¬Æä²úÒµºÍ¼¼ÊõÁ´ÒÑ¾É ......
import java.io.*;
class Fen{
String fileName;
int size;
Fen(String fileName,String size){
this.fileName = fileName;
this.size = Integer.parseInt(size)*1024;
}
public void cut()throws Exception{
int maxx = 0;
File inFile = new File(fileName);
int fileLength = (int)inFile.length(); //È¡µÃÎ ......
ÔÚJavaÖУ¬²»Í¬µÄÀ඼ÓÐ×Ô¼ºµ¥¶ÀµÄCache»úÖÆ£¬ÊµÏֵķ½·¨Ò²¿ÉÄÜÓÐËù²»Í¬£¬ÎÄÕÂÁоÙÁËJavaÖг£¼ûµÄ¸÷ÀàCache»úÖƵÄʵÏÖ·½·¨£¬Í¬Ê±½øÐÐÁË×ۺϵıȽϡ£
OSCache
OSCacheÊǸöÒ»¸ö¹ã·º²ÉÓõĸßÐÔÄܵÄJava EE»º´æ¿ò¼Ü£¬OSCacheÄÜÓÃÓÚÈκÎJavaÓ¦ÓóÌÐòµÄÆÕͨµÄ»º´æ½â¾ö·½°¸¡£
OSCacheÓÐÒÔÏÂÌص㣺»º´æÈκζÔÏó£¬Äã¿ÉÒÔ²»ÊÜÏÞÖƵ ......