JAVA wed ¿ª·¢ÖªÊ¶»Ø¹Ë
Eclipse ³£Óòå¼þµÄ°²×°
1£©Download plugin package
2) Exit Eclipse App
3) Unzip the plugin and copy it to ..\Eclipse\plugins
4) Restart Eclipse App
J2EE µÄ¿ªÔ´Æ½Ì¨
Eclipse+Tomcat+Lombez+MyEclipse
MyEclipse: MyEclipseEnterpriseWorkbeachInstall , °²×°µ½Ä¿Â¼Eclipse ϲſÉÒÔÕý³£Ê¹Óá£
Servlet £¨Java ·þÎñÆ÷¶ËС³ÌÐò£©
1) ÓÃjava±àд£¬ÓÉ·þÎñÆ÷¶Ëµ÷ÓúÍÖ´ÐУ¬Àà×ñÑServlet¹æ·¶¡£
2£©lifecycle£º ×°ÔØ->instant ->Init() ->¶ÔÏàÓ¦µÄrequestÌṩ·þÎñ ->destory()
3) Éæ¼°µÄÈí¼þ°ü£º
javax.servlet ºÍ javax.servlet.http
4£©Ò»¸öÀ࣬Ëĸö½Ó¿Ú
Ò»¸öÀࣺHttpservlet£¬ ´¦Àí²»Í¬µÄHttpÇëÇó £¨Get£¬ Post£¬ Put£©
doGet£¨£©
doPost£¨£©
Ëĸö½Ó¿Ú£º
HttpServletRequest£ºÌṩ´¦Àí¿Í»§ÇëÇóµÄ·½·¨¡£
String GetParameter£¨String name£©£»
String[] GetParameters( String name);
HttpServletReponse: ÌṩÒÔHtmlÐÎʽ°ÑÇëÇó·¢Ë͸ø¿Í»§µÄ·½·¨¡£
SetContentType();
SendRedirect();
HttpSession: ¼Ç¼µ±Ç°servletÖеÄÓû§»á»°¡£
PutValue£¨£© £¬ getValue£¨£©
 
Ïà¹ØÎĵµ£º
¶ÔÏóÐòÁл¯¾ÍÊǰѶÔÏóдÈëµ½Êä³öÁ÷ÖУ¬ÓÃÀ´´æ´¢»òÕß´«Êä¡£
¶ÔÏóµÄ·´ÐòÁл¯¾ÍÊÇ´ÓÊäÈëÁ÷ÖжÁÈ¡¶ÔÏó¡£
ÒªÐòÁл¯µÄ¶ÔÏóÓ¦¸ÃʵÏÖSerializable½Ó¿Ú¡£
Serializable½Ó¿ÚÊÇÒ»¸ö±êʶ½Ó¿Ú£¬Ã»ÓгéÏó·½·¨¡£
SerializableÓÐÒ»¸ö× ......
javaÁ¬½Ó³£¼ûÊý¾Ý¿âµÄÁ¬½Ó×Ö·û´®
1. MySQL(http://www.mysql.com)mm.mysql-2.0.2-bin.jar ;
Class.forName( "org.gjt.mm.mysql.Driver" );
cn = DriverManager.getConnection( "jdbc:mysql://MyDbComputerNameOrIP:3306/myDatabaseName", sUsr, sPwd );
2. PostgreSQL(http://www.de.postgresql.org)pgjdbc2.jar ;
C ......
Ò»£¬Ï̵߳ÄËĸöÖ÷ÒªÖÜÆÚ״̬ÊÇ“´´½¨”£¬“¿ÉÖ´ÐД£¬“·Ç¿ÉÖ´ÐД£¬“ÏûÍö”£¬×´Ì¬×ª»»¹ØϵÈçÏÂͼ£º
£¨1£©´´½¨¡£µ±ÊµÀý»¯Ò»¸öthread¶ÔÏó²¢Ö´ÐÐstart()·½·¨ºó£¬Ï߳̽øÈë“¿ÉÖ´ÐД״̬¿ªÊ¼Ö´ÐС£ËäÈ»¶àÏ̸߳øÓû§Ò»ÖÖͬʱִÐеļÙÏ󣬵«ÊÂʵÉÏÔÚͬһʱ¼äµãÄÚ£¬Ö»ÓÐÒ»¸ö ......
תÌûhttp://zmfkplj.javaeye.com/blog/629678
ÔÚ³õѧjava swingʱ±ãÓõÄÊÇJbuilder£¬±ã½ÝµÄ¹¤¾ßϲúÉúµÄ½á¹ûÓÐÁ½¸ö£¬Ò»ºÃÒ»»µ¡£ºÃµÄ·½ÃæÊÇ̫ˬÁË£¬½ö½öÊó±êµã»÷£¬Êó±êÒƶ¯£¬±ã»á²ú³ö²»ÓÃÀí½âµÄ´úÂ룬¶øÕâЩ´úÂëÕÕÑùÄÜÔËÐУ¬Íê³ÉËùÐèÒªµÄ¹¦ÄÜ£»»µµÄ·½ÃæÊÇÌ«ÔãÁË£¬µ±À뿪Jbuilder¹¤¾ß¿ª·¢swingʱ£¬ËùÓеķ½ÃæͨͨûÓУ¬ËùÓе ......
±¾ÎĽéÉܶÔÏóµÄÇ¿¡¢Èí¡¢ÈõºÍÐéÒýÓõĸÅÄî¡¢Ó¦Óü°ÆäÔÚUMLÖеıíʾ¡£
1£®¶ÔÏóµÄÇ¿¡¢Èí¡¢ÈõºÍÐéÒýÓÃ
ÔÚJDK 1.2ÒÔÇ°µÄ°æ±¾ÖУ¬ÈôÒ»¸ö¶ÔÏó²»±»ÈκαäÁ¿ÒýÓã¬ÄÇô³ÌÐò¾ÍÎÞ·¨ÔÙʹÓÃÕâ¸ö¶ÔÏó¡£Ò²¾ÍÊÇ˵£¬Ö»ÓжÔÏó´¦ÓÚ¿É´¥¼°£¨reachable£©×´Ì¬£¬³ÌÐò²ÅÄÜʹÓÃËü¡£´ÓJDK 1.2°æ±¾¿ªÊ¼£¬°Ñ¶ÔÏóµÄÒýÓ÷ÖΪ4ÖÖ¼¶±ð£¬´Ó¶øÊ ......