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

JAVA¿ªÔ´¹¤¾ß´óÈ«

Spring Framework  ¡¾Java¿ªÔ´ J2EE¿ò¼Ü¡¿
SpringÊÇÒ»¸ö½â¾öÁËÐí¶àÔÚJ2EE¿ª·¢Öг£¼ûµÄÎÊÌâµÄÇ¿´ó¿ò¼Ü¡£ SpringÌṩÁ˹ÜÀíÒµÎñ¶ÔÏóµÄÒ»Ö·½·¨²¢ÇÒ¹ÄÀøÁË×¢Èë¶Ô½Ó¿Ú±à³Ì¶ø²»ÊǶÔÀà±à³ÌµÄÁ¼ºÃÏ°¹ß¡£SpringµÄ¼Ü¹¹»ù´¡ÊÇ»ùÓÚʹÓÃJavaBeanÊôÐ﵀ Inversion of ControlÈÝÆ÷¡£È»¶ø£¬Õâ½ö½öÊÇÍêÕûͼ¾°ÖеÄÒ»²¿·Ö£ºSpringÔÚʹÓÃIoCÈÝÆ÷×÷Ϊ¹¹½¨Íê¹Ø×¢ËùÓмܹ¹²ãµÄÍêÕû½â¾ö·½°¸·½ÃæÊǶÀÒ»ÎÞ¶þµÄ¡£ SpringÌṩÁËΨһµÄÊý¾Ý·ÃÎʳéÏ󣬰üÀ¨¼òµ¥ºÍÓÐЧÂʵÄJDBC¿ò¼Ü£¬¼«´óµÄ¸Ä½øÁËЧÂʲ¢ÇÒ¼õÉÙÁË¿ÉÄܵĴíÎó¡£SpringµÄÊý¾Ý·ÃÎʼܹ¹»¹¼¯³ÉÁË HibernateºÍÆäËûO/R mapping½â¾ö·½°¸¡£Spring»¹ÌṩÁËΨһµÄÊÂÎñ¹ÜÀí³éÏó£¬ËüÄܹ»ÔÚ¸÷ÖֵײãÊÂÎñ¹ÜÀí¼¼Êõ£¬ÀýÈçJTA»òÕßJDBCÊÂÎñÌṩһ¸öÒ»Öµıà³ÌÄ£ÐÍ¡£ SpringÌṩÁËÒ»¸öÓñê×¼JavaÓïÑÔ±àдµÄAOP¿ò¼Ü£¬Ëü¸øPOJOsÌṩÁËÉùÃ÷ʽµÄÊÂÎñ¹ÜÀíºÍÆäËûÆóÒµÊÂÎñ--Èç¹ûÄãÐèÒª--»¹ÄÜʵÏÖÄã×Ô¼ºµÄ aspects¡£Õâ¸ö¿ò¼Ü×㹻ǿ´ó£¬Ê¹µÃÓ¦ÓóÌÐòÄܹ»Å׿ªEJBµÄ¸´ÔÓÐÔ£¬Í¬Ê±ÏíÊÜןʹ«Í³EJBÏà¹ØµÄ¹Ø¼ü·þÎñ¡£Spring»¹ÌṩÁË¿ÉÒÔºÍIoCÈÝÆ÷ ¼¯³ÉµÄÇ¿´ó¶øÁé»îµÄMVC Web¿ò¼Ü¡£¡¾SpringIDE£ºEclipseƽ̨ÏÂÒ»¸ö¸¨Öú¿ª·¢²å¼þ¡¿.
WebWork  ¡¾Java¿ªÔ´ Web¿ò¼Ü¡¿
WebWorkÊÇÓÉOpenSymphony×éÖ¯¿ª·¢µÄ£¬ÖÂÁ¦ÓÚ×é¼þ»¯ºÍ´úÂëÖØÓõÄÀ­³öʽMVCģʽJ2EE Web¿ò¼Ü¡£WebWorkÄ¿Ç°×îа汾ÊÇ2.1£¬ÏÖÔÚµÄWebWork2.xÇ°ÉíÊÇRickard Oberg¿ª·¢µÄWebWork£¬µ«ÏÖÔÚWebWorkÒѾ­±»²ð·Ö³ÉÁËXwork1ºÍWebWork2Á½¸öÏîÄ¿¡£ Xwork¼ò½à¡¢Áé»î¹¦ÄÜÇ¿´ó£¬ËüÊÇÒ»¸ö±ê×¼µÄCommandģʽʵÏÖ£¬²¢ÇÒÍêÈ«´Óweb²ãÍÑÀë³öÀ´¡£ XworkÌṩÁ˺ܶàºËÐŦÄÜ£ºÇ°¶ËÀ¹½Ø»ú£¨interceptor£©£¬ÔËÐÐʱ±íµ¥ÊôÐÔÑéÖ¤£¬ÀàÐÍת»»£¬Ç¿´óµÄ±í´ïʽÓïÑÔ£¨OGNL – the Object Graph Notation Language£©£¬IoC£¨Inversion of Controlµ¹ÖÿØÖÆ£©ÈÝÆ÷µÈ¡£ WebWork2½¨Á¢ÔÚXworkÖ®ÉÏ£¬´¦ÀíHTTPµÄÏìÓ¦ºÍÇëÇó¡£WebWork2ʹÓÃServletDispatcher½«HTTPÇëÇóµÄ±ä³É Action(ÒµÎñ²ãActionÀà), session£¨»á»°£©application£¨Ó¦ÓóÌÐò£©·¶Î§µÄÓ³É䣬requestÇëÇó²ÎÊýÓ³Éä¡£WebWork2Ö§³Ö¶àÊÓͼ±íʾ£¬ÊÓͼ²¿·Ö¿ÉÒÔʹÓà JSP, Velocity, FreeMarker, JasperReports£¬XMLµÈ¡£ÔÚWebWork2.2ÖÐÌí¼ÓÁ˶ÔAJAXµÄÖ§³Ö£¬ÕâÖ§³ÖÊǹ¹½¨ÔÚDWRÓëDojoÕâÁ½¸ö¿ò¼ÜµÄ»ù´¡Ö®ÉÏ.¡¾EclipseWork£ºÓÃÓÚWebWork¸¨Öú¿ª·¢µÄÒ»¸öEclipse²å¼þ¡¿
Struts  ¡¾Java¿ªÔ´ Web¿ò¼Ü¡¿
StrutsÊÇÒ»¸ö»ùÓÚSun J2EEƽ̨µÄMVC¿ò¼Ü£¬Ö÷ÒªÊDzÉÓÃServletºÍJSP¼¼ÊõÀ´Ê


Ïà¹ØÎĵµ£º

´«ÖDz¥¿Íjavaѧϰ struts½ø½×

ÎÒ½ñÌìѧϰÁËstruts¿ò¼ÜµÄ֪ʶ£¬×öÁ˼òµ¥µÄ±Ê¼Ç£º
 
 
Ò»¡¢             Action±êÇ©ÖÐÊôÐÔ £º
l         AttributeµÄÖµ£¬Èç²»ÉèÖã¬Ä¬ÈÏֵΪaction±êÇ©ÖÐnameÊôÐÔµÄÖµ¡£
l    &n ......

´«ÖDz¥¿ÍJavaѧϰ JavaScript¼ÓÇ¿

ÎÒ½ñÌìѧϰÁËÙ¡ÀÏʦ½²µÄJavaScript½âÎöDomÎĵµµÄ֪ʶ£º
Ò»¡¢        ½Úµã·ÖΪ3ÖÖÀàÐÍ£¬ÔªËؽڵ㣬ÊôÐԽڵ㣬Îı¾½Úµã
¶þ¡¢        ²éÕҽڵ㣺
l       js´úÂë²»ÄÜдÔÚbodyÔªËصÄÇ°Ã棬js ´úÂëдÔÚ <head> ½ ......

JavaµÄͬ²½»úÖƺÍsynchronized¹Ø¼ü×Ö

¿ª·¢ÕßÓÐʱ´´½¨µÄ¶àÏ̳߳ÌÐò»áÉú³É´íÎóÖµ»ò²úÉúÆäËüÆæ¹ÖµÄÐÐΪ¡£¹Å¹ÖÐÐΪһ°ã³öÏÖÔÚÒ»¸ö¶àÏ̳߳ÌÐòûʹÓÃͬ²½Á¬ÔØÏ̷߳ÃÎʹؼü´úÂ벿·ÝµÄʱºò¡£Í¬²½Á¬ÔØÏ̷߳ÃÎʹؼü´úÂ벿·ÝÊÇʲôÒâ˼ÄØ£¿ÔÚÕâƪÎÄÕÂÖнâÊÍÁËͬ²½£¬JavaµÄͬ²½»úÖÆ£¬ÒÔ¼°µ±¿ª·¢ÕßûÓÐÕýȷʹÓÃÕâ¸ö»úÖÆʱ³öÏÖµÄÁ½¸öÎÊÌâ¡£Ò»µ©Äã¿´ÍêÕâƪÎÄÕ£¬Äã¾Í¿ÉÒÔ±ÜÃâÔÚ ......

ѧϰjava±Ø¿´

(1) ÀàÃûÊ××ÖĸӦ¸Ã´óд¡£×ֶΡ¢·½·¨ÒÔ¼°¶ÔÏ󣨾ä±ú£©µÄÊ××ÖĸӦСд¡£¶ÔÓÚËùÓбêʶ·û£¬ÆäÖаüº¬µÄËùÓе¥´Ê¶¼Ó¦½ô¿¿ÔÚÒ»Æ𣬶øÇÒ´óдÖм䵥´ÊµÄÊ××Öĸ¡£ÀýÈ磺
ThisIsAClassName
thisIsMethodOrFieldName
ÈôÔÚ¶¨ÒåÖгöÏÖÁ˳£Êý³õʼ»¯×Ö·û£¬Ôò´óдstatic final»ù±¾ÀàÐͱêʶ·ûÖеÄËùÓÐ×Öĸ¡£ÕâÑù±ã¿É±êÖ¾³öËüÃÇÊôÓÚ±àÒë ......

JavaÁ¬½áÊý¾Ý¿âÄÚÄ»

Java.sql°üÖÐµÄ java.sql.Driver, jdbc.sql.ConnectionµÈÌṩ¸ø³ÌÐò¿ª·¢ÈËԱͳһµÄ¿ª·¢½Ó¿Ú£¬Êý¾Ý¿âÌṩÉÌÌṩÏàÓ¦µÄʵÏÖ£¬¶Ô³ÌÐò¿ª·¢ÈËÔ±À´½²Ö»ÒªÖªµÀÕâЩ½Ó¿Ú¶¼ÓÐÄÄЩ·½·¨¾Í¿ÉÒÔÁË¡£µ«ÎÒÃÇ¿ÉÒÔÉîÈëһЩ¿´¿´µ½µ×ÕâÀïÃ涼×öÁËÄÇЩÊ£¬ ͬʱҲ¿ÉÒÔѧϰÆäÖеıà³Ìģʽ(ÈçInterfaceģʽµÈ)¡£
¡¡¡¡1¡¢ Class.forName(String cl ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ