´«ÖDz¥¿Íjavaѧϰ OAÏîÄ¿1
½ñÌìÊÇѧϰOAϵͳµÄµÚÒ»Ì죬ÎÒ¶Ô½ñÌìµÄÉÏ¿ÎÄÚÈÝ×öÁ˼òµ¥µÄ×ܽ᣺
OA¼ò½é£º
OAÊÇOFFICE AUTOMATIONµÄËõд£¬±¾ÒâΪÀûÓü¼ÊõµÄÊÖ¶ÎÌá¸ß°ì¹«µÄЧÂÊ£¬½ø¶øʵÏְ칫µÄ×Ô¶¯»¯´¦Àí¡£²ÉÓÃInternet/Intranet¼¼Êõ£¬»ùÓÚ¹¤×÷Á÷µÄ¸ÅÄʹÆóÒµÄÚ²¿ÈËÔ±·½±ã¿ì½ÝµØ¹²ÏíÐÅÏ¢£¬¸ßЧµØÐͬ¹¤×÷£»¸Ä±ä¹ýÈ¥¸´ÔÓ¡¢µÍЧµÄÊÖ¹¤°ì¹«·½Ê½£¬ÊµÏÖѸËÙ¡¢È«·½Î»µÄÐÅÏ¢²É¼¯¡¢ÐÅÏ¢´¦Àí£¬ÎªÆóÒµµÄ¹ÜÀíºÍ¾ö²ßÌṩ¿ÆѧµÄÒÀ¾Ý¡£
OAÈí¼þ½â¾öÆóÒµµÄÈÕ³£¹ÜÀí¹æ·¶»¯¡¢Ôö¼ÓÆóÒµµÄ¿É¿ØÐÔ¡¢Ìá¸ßÆóÒµÔËתµÄЧÂʵĻù±¾ÎÊÌâ¡£·¶Î§Éæ¼°ÈÕ³£ÐÐÕþ¹ÜÀí¡¢¸÷ÖÖÊÂÏîµÄÉóÅú¡¢°ì¹«×ÊÔ´µÄ¹ÜÀí¡¢¶àÈ˶ಿÃŵÄÐͬ°ì¹«¡¢ÒÔ¼°¸÷ÖÖÐÅÏ¢µÄ¹µÍ¨Óë´«µÝ¡£¿ÉÒÔ¸ÅÀ¨µÄ˵£¬OAÈí¼þ¿çÔ½ÁËÉú²ú¡¢ÏúÊÛ¡¢²ÆÎñµÈ¾ßÌåµÄÒµÎñ·¶³ë£¬¸ü¼¯ÖйØ×¢ÓÚÆóÒµÈÕ³£°ì¹«µÄЧÂʺͿɿØÐÔ£¬ÊÇÆóÒµÌá¸ßÕûÌåÔËתÄÜÁ¦²»¿ÉȱÉÙµÄÈí¼þ¹¤¾ß¡£
·Ö²ã£º
ʹÓÃÁ½²ã£º
1.±íʾ²ã£¨view£©
2.ÒµÎñÂß¼²ã£¨Service + DAO£©
ϵͳµÄÅäÖãº
¹¤³Ì±àÂ룺ʹÓÃUTF-8¡£
Îļþ±àÂ룺jsp¡¢javascript£¨MyEclipse7.x²»ÓÃÐ޸ģ©
ÎļþµÄÐÐ¿í£ºxml¡¢html£¨¶ÔÓ¦µÄÅäÖò˵¥ÎªXml Source¡¢Html Source£©
³£ÓõĿì½Ý¼ü
ËùÓеÄÒ³Ã涼ÊÇʹÓÃutf-8±àÂë¡££¨ÒªÍ³Ò»±àÂ룬ÕâÑù·½±ã½â¾ö±íµ¥ÄÚÈݵÄÂÒÂëÎÊÌ⣩
Ìí¼Ójar°ü»·¾³£º
Struts£ºjar°ü¡¢ÅäÖÃÎļþ£¨struts-config.xml¡¢ÐÞ¸Äweb.xml£©¡¢¹ú¼Ê»¯×ÊÔ´Îļþ¡¢×Ô¶¨Òå±êÇ©¿â¡£ÅäΪ*.doÀ¹½ØµÄÇëÇó¡£
Jstl 1.1 ÒÑ°üº¬ÔÚJavaEE5.0ÖУ¬ËùÒÔ²»ÓÃÅäÖá£
JbpmÓëHibernate£ºjar°ü¡¢ÅäÖÃÎļþ¡£
´´½¨Êý¾Ý¿â£¬ÐÞ¸ÄÊý¾Ý¿âÁ¬½ÓÐÅÏ¢£¬²¢Éú±í¡£
Junit4¡£
£¨JstlÒÑ°üº¬ÔÚJavaEE5.0ÖУ©
Ìí¼ÓStruts 1.3.8µÄjar°üÓëÅäÖÃÎļþ
Ìí¼ÓJbpmµÄjar°ü£¬Í¬Ê±Ò²»áÌí¼ÓHibernateµÄjar°ü¡£ÔÙÌí¼ÓÏàÓ¦µÄÅäÖÃÎļþ(jbpm.cfg.xml¡¢log4j.propertiesÓëhibernate.cfg.xml)¡£
Ìí¼ÓJDBCÇý¶¯µÄjar°ü
´´½¨µÄÊý¾Ý¿â¡£ÐÞ¸ÄHibernate.cfg.xmlÖеÄÊý¾Ý¿âÁ¬½ÓÐÅÏ¢£¬²¢´´½¨Êý¾Ý¿â±í¡£
Ìí¼ÓJunit4µÄjar°ü
½â¾öStrutsÖеÄcommons-BeanUtils.jarÓëHibernateÖеÄcommons-Collections.jarµÄ³åÍ»ÎÊÌâ¡£
ÊÂÎñ¹ÜÀí£º
ÒòΪSession¿ÉÒÔͨ¹ýJbpmContext.getSession()»ñµÃ£¬ËùÒÔÖ»Ðè¹ÜÀí JbpmContext¼´¿É£»¹ýÂËÆ÷À¹½Ø*.doµÄÇëÇó¡£
Ò»¸öÇëÇó£¨Ị̈߳©Ê¹ÓÃͬһ¸öJbpmContext Èç¹ûÇëÇóÖÐûÓÐʹÓÃJbpmContext»òSession£¬¾Í²»Òª´´½¨JbpmContext¡£
ÔÚ¹ýÂËÆ÷ÖйرÕJbpmContextʱ£¬Ò²Òªµ÷Óà ThreadLocal.remove()£¬ÒòΪWebÈÝÆ÷Ó
Ïà¹ØÎĵµ£º
±¾ÎÄÕª×Ô£º http://www.ibm.com/developerworks/cn/java/j-noaccent.html
ѧϰһÖÖеıà³ÌÓïÑÔ±ÈѧϰеĿÚÍ·ÓïÑÔÒªÈÝÒ׵öࡣȻ¶ø£¬ÔÚÕâÁ½ÖÖѧϰ¹ý³ÌÖУ¬¶¼Òª¸¶³ö¶îÍâµÄŬÁ¦È¥Ñ§Ï°²»´ø¿ÚÒôµØ˵ÐÂÓïÑÔ¡£Èç¹ûÄúÊìϤ C »ò C++£¬ÄÇôѧϰ Java ÓïÑÔ²¢²»À§ÄÑ£¬Õâ¾ÍÏñÊÇ»á˵ÈðµäÓïµÄÈËȥѧµ¤ÂóÓïÒ»Ñù¡£ÓïÑÔËäÓв»Í¬£¬µ«Óֱ˴˻ ......
/**
* ### Õæ難µÄ題Ä¿: ¹·Æ¨ÑÝËã·¨ (測資ºÜ機車)
* 測驗結¹û: x.xx0 ms
* 測驗ÈÕÆÚ: 200y-mm-dd
* @author Raymond Wu (Сè°Íè)
*/
public class Main {
// 輸Èë緩衝區 (緩衝¿Õ ......
ÎÒ½ñÌìѧϰÁËÐìÀÏʦ½²µÄhibernate֪ʶ£¬ÎÒ×öÁ˼òµ¥µÄ±Ê¼Ç£º
Ò»¡¢Hibernate
a) Á¬½ÓjavaÓ¦ÓóÌÐòºÍ¹ØϵÐÍÊý¾Ý¿âµÄÖмä¼þ£¬¶ÔJDBC API·â×°£¬¸ºÔð¶ÔÏó³Ö¾Ã»¯
b) λÓڳ־û¯²ã£¬·â×°ËùÓеÄÊý¾Ý·ÃÎÊϸ½Ú£¬Ê¹ÒµÎñÂß¼²ã¸ü¹Ø×¢ÓÚÒµ ......
ÎÒ½ñÌìѧϰÁËjbpmµÄ֪ʶ£ºÎÒ×öÁ˼òµ¥µÄÕªÒª£º
Á÷³ÌͼÖеĸ÷ÖÖ½ÚµãµÄ×÷Óü°Ó÷¨£º
ÐèÒªÓв»Í¬ÀàÐÍ£¨×÷Ó㩵Ľڵ㣬²ÅÄÜÉè¼Æ³ö¸´ÔÓµÄÁ÷³Ìͼ¡£JbpmÓÐÒ»Ì×Ô¤Ïȶ¨ÒåºÃµÄ½ÚµãÀàÐÍ¡£Èç¹û²»¹»Óã¬Ò²¿ÉÒÔʹÓÃ×Ô¶¨Òå½Úµã½øÐÐÀ©Õ¹£¬ÒÔÍê³É²»Í¬µÄÁ÷³ÌµÄÐèÒª¡£²»Í¬µÄ½ÚµãÀàÐÍ´ú±í²»Í¬µÄÐÐΪ¡£
ÿ¸öÁ÷³Ì¶¼±ØÐëÒªÓп ......