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

Ò»¸öjava³ÌÐòÔ±µÄ³É³¤Àú³Ì(ºÜÔçµÄÎÄÕÂÁË)

ºÜ¶àÍøÓÑÎÊÎÒѧϰJavaÓÐûÓÐʲô½Ý¾¶,ÎÒ˵“ÎÞËû£¬Î¨ÊÖÊì¶û”¡£µ«ÊÇÎÒÈ´ºÜÔ¸Ò⽫×Ô¼ºÑ§Ï°µÄһЩ¾­Ñéд³öÀ´£¬ÒÔ±ãºóÀ´ÕßÉÙ×ßÍä·,°ïÖú±ðÈËÊÇ×î´óµÄ¿ìÀÖÂ
ÒªÏëѧºÃJava£¬Ê×ÏÈÒªÖªµÀJavaµÄ´óÖ·ÖÀà¡£ÎÒÃÇÖªµÀ£¬×Ô´ÓSunÍƳöJavaÒÔÀ´£¬¾ÍÁ¦Í¼Ê¹Ö®ÎÞËù²»°ü£¬ËùÒÔJava·¢Õ¹µ½ÏÖÔÚ£¬°´Ó¦ÓÃÀ´·ÖÖ÷Òª·ÖΪÈý´ó¿é£ºJ2SE,J2MEºÍJ2EE,ÕâÒ²¾ÍÊÇSun ONE(Open Net Environment)Ìåϵ¡£J2SE¾ÍÊÇJava2µÄ±ê×¼°æ£¬Ö÷ÒªÓÃÓÚ×ÀÃæÓ¦ÓÃÈí¼þµÄ±à³Ì£»J2MEÖ÷ÒªÓ¦ÓÃÓÚǶÈëÊÇϵͳ¿ª·¢£¬ÈçÊÖ»úºÍPDAµÄ±à³Ì£»J2EEÊÇJava2µÄÆóÒµ°æ£¬Ö÷ÒªÓÃÓÚ·Ö²¼Ê½µÄÍøÂç³ÌÐòµÄ¿ª·¢£¬Èçµç×ÓÉÌÎñÍøÕ¾ºÍERPϵͳ¡£J2SE¿ª·¢×ÀÃæÓ¦ÓÃÈí¼þ±ÈÆðVC,VB,DELPHIÕâЩ´«Í³¿ª·¢ÓïÑÔÀ´Ëµ£¬ÓÅÊƺÃÏó²¢²»Ã÷ÏÔ¡£J2ME¶ÔÓÚ³õѧÕßÀ´Ëµ£¬ºÃÏóÓÖÓеãÉî°Â£¬¶øÇÒÒ»°ã¿ª·¢ÕߺÜÄÑÓпª·¢»·¾³¡£ËùÒÔÏÖÔÚÓ¦ÓÃ×î¹ã·ºÓÖ×îºÃѧµÄ¾ÍÊÇJ2EEÁË¡£J2EEÓÖ°üÀ¨Ðí¶à×é¼þ£¬ÈçJSP, Servlet,JavaBean,EJB,JDBC,JavaMailµÈ¡£ÒªÑ§Ï°ÆðÀ´¿É²»ÊÇÒ»Á½ÌìµÄÊ¡£
ÄÇôÓÖ¸ÃÈçºÎѧϰ J2EEÄØ£¿µ±È»JavaÓï·¨µÃÏÈ¿´Ò»¿´µÄ£¬I/O°ü£¬Util°ü£¬Lang°üÄ㶼ÊìϤÁËÂð£¿È»ºóÔÙ´ÓJSPѧÆð¡£Èç¹ûÄãѧ¹ýHTML£¬ÄÇôÊÂÇéÒªºÃ°ìµÄ¶à£¬Èç¹ûûÓУ¬ÄÇÄã¿ìÈ¥²¹Ò»²¹HTML»ù´¡°É¡£ÆäʵJSPÖеÄJavaÓï·¨Ò²²»¶à£¬Ëü¸üÏóÒ»¸ö½Å±¾ÓïÑÔ£¬ÓеãÏóASP¡£È»ºóÄã¾Í¸ÃѧһѧServlet ÁË¡£Servlet¾ÍÊÇ·þÎñÆ÷¶ËС³ÌÐò£¬Ëû¸ºÔðÉú³É·¢Ë͸ø¿Í»§¶ËµÄHTMLÎļþ¡£JSPÔÚÖ´ÐÐʱ£¬Ò²ÊÇÏÈת»»³ÉServletÔÙÔËÐеġ£Ëä˵JSPÀíÂÛÉÏ¿ÉÒÔÍêÈ«È¡´úServlet£¬ÕâÒ²ÊÇSUNÍƳöJSPµÄ±¾Ò⣬¿ÉÊÇServletÓÃÀ´¿ØÖÆÁ÷³ÌÌøת»¹ÊÇͦ·½±ãµÄ£¬Ò²Áî³ÌÐò¸üÇåÎú¡£½ÓÏÂÀ´ÄãÓ¦¸ÃѧϰһÏ JavabeanÁË£¬¿ÉÄÜÄãÔç¾Í¿´²»¹ÜJSPÔÚHTMLÖÐǶJava´úÂëµÄ»ìÂÒ·½Ê½ÁË£¬ÕâÖÖ·½Ê½¸úASPÓÖÓÐʲôÇø±ðÄØ£¿»¹ºÃ£¬SUNÌṩÁË Javabean¿ÉÒÔ°ÑÄãµÄJSPÖеÄJava´úÂë·â×°ÆðÀ´£¬±ãÓÚµ÷ÓÃÒ²±ãÓÚÖØÓ᣽ÓמÍÊÇEJBÁË£¬EJB¾ÍÊÇ Enterprise JavaBean£¬¿´Ãû×ÖºÃÏóËüÊÇJavabean£¬¿ÉÊÇËüºÍJavabean»¹ÊÇÓÐÇø±ðµÄ¡£ËüÊÇÒ»¸öÌåϵ½á¹¹£¬Äã¿ÉÒԴ¸ü°²È«¡¢¸üÎȶ¨µÄÆóÒµÓ¦Óá£ËüµÄ´óÁ¿´úÂëÒÑÓÉÖмä¼þ£¨Ò²¾ÍÊÇÎÒÃdz£Ìýµ½µÄWeblogic,WebsphereÕâЩJ2EE·þÎñÆ÷£©Íê³ÉÁË£¬ËùÒÔÎÒÃÇÒª×öµÄ³ÌÐò´úÂëÁ¿ºÜÉÙ£¬´ó²¿·Ö¹¤×÷¶¼ÔÚÉè¼ÆºÍÅäÖÃÖмä¼þÉÏ¡£ÖÁÓÚJDBC£¬¾Í²»ÓÃÎÒ¶à˵ÁË£¬ÄãÈç¹ûÓÃjava±à¹ý´æÈ¡Êý¾Ý¿âµÄ³ÌÐò£¬¾ÍÓ¦¸ÃºÜÊìϤ¡£»¹ÓУ¬Èç¹ûÄãÒªÓÃJava±à·¢Ë͵ç×ÓÓʼþµÄ³ÌÐò£¬Äã¾ÍµÃ¿´¿´JavaMailÁË¡£
ºÃÁË£¬¶ÔJavaºÍJ2EEÓÐÁËһЩ»ù±¾¸ÅÄîÖ®ºó£¬Äã¾ÍÓ¦¸Ã±àһЩ³ÌÐòÁË£¬Ç§Íò²»ÒªÖ½ÉÏ̸±øŶ¡£


Ïà¹ØÎĵµ£º

Java Calendar »ñÈ¡±¾ÖÜÖÜÒ»ºÍÖÜÈÕ´úÂë

/**
  * µÃµ½±¾ÖÜÖÜÒ»
  *
  * @return yyyy-MM-dd
  */
 public static String getMondayOfThisWeek() {
  Calendar c = Calendar.getInstance();
  int day_of_week = c.get(Calendar.DAY_OF_WEEK) - 1;
  if (day_of_week == 0)
   da ......

java¼¯ºÏ¿ò¼Üͼ¼°½éÉÜ

ת×Ô:http://hi.baidu.com/%C9%AE_%CC%C6/blog/item/9e2a8b0887008a8ad0581b3d.html
 
¼ò»¯Í¼£º
Javaƽ̨ÌṩÁËÒ»¸öȫеļ¯ºÏ¿ò¼Ü¡£“¼¯ºÏ¿ò¼Ü”Ö÷ÒªÓÉÒ»×éÓÃÀ´²Ù×÷¶ÔÏóµÄ½Ó¿Ú×é³É¡£²»Í¬½Ó¿ÚÃèÊöÒ»×鲻ͬÊý¾ÝÀàÐÍ¡£
Java 2¼¯ºÏ¿ò¼Üͼ
¼¯ºÏ½Ó¿Ú£º6¸ö½Ó¿Ú£¨¶ÌÐéÏß±íʾ£©£¬±íʾ²»Í¬¼¯ºÏÀàÐÍ£¬ÊǼ¯ºÏ¿ò¼Üµ ......

Java ÓйØIOÀàµÄ×¢ÊÍ/˵Ã÷


InputSteam,OutputStream:¶Ô×ֽڵIJÙ×÷
Reader,Writer:¶Ô×Ö·ûµÄ²Ù×÷
InputStreamReader,OutputStreamReader:×Ö½Ú->×Ö·ûµÄת»»,×Ö·û->×Ö½ÚµÄת»»
FilterInputSteam,FilterOutputStream:¹ýÂË×Ö½ÚÊäÈëÁ÷(Êä³öÁ÷)µÄ³¬Àà
FilterReader,FilterWriter:¹ýÂË×Ö·ûÊäÈëÁ÷(Êä³öÁ÷)µÄ³¬Àà
BufferedInputStream,BufferedOutp ......

Java±à³ÌËöÊ£¨4£©——JavaÀàÖе÷ÓÃServlet

Ò»¡¢JavaÖе÷ÓÃservlet˵Ã÷£º
ÎÒÃÇÓÐʱ¿ÉÄÜÐèÒªÔÚJavaÀàÖе÷ÓÃServlet´Ó¶øʵÏÖijЩÌØÊâµÄ¹¦ÄÜ£¬ÔÚJavaAPIÖÐÌṩÁËÒ»¸öURLµÄÀ࣬ÆäÖÐopenStream( )·½·¨¿ÉÒÔ´ò¿ªURLµÄÁ¬½Ó£¬²¢·µ»ØÒ»¸öÓÃÓÚ¸ÃÁ¬½Ó¶ÁÈëµÄInputStream¡£
¶þ¡¢JavaÖе÷ÓÃservletÓ¦ÓþÙÀý£º
package com.solid.test;
import java.io.BufferedReader;
import ja ......

Java³£ÓÃÕýÔò±í´ïʽ

java³£ÓÃÕýÔò±í´ïʽ
Ö»ÄÜÊäÈëÊý×Ö£º"^[0-9]*$"¡£
Ö»ÄÜÊäÈënλµÄÊý×Ö£º"^\d{n}$"¡£
Ö»ÄÜÊäÈëÖÁÉÙnλµÄÊý×Ö£º"^\d{n,}$"¡£
Ö»ÄÜÊäÈëm~nλµÄÊý×Ö£º¡£"^\d{m,n}$"
Ö»ÄÜÊäÈëÁãºÍ·ÇÁ㿪ͷµÄÊý×Ö£º"^0|[1-9][0-9]*$"¡£
Ö»ÄÜÊäÈëÓÐÁ½Î»Ð¡ÊýµÄÕýʵÊý£º"^[0-9]+( ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ