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

½« Flex ¼¯³Éµ½ Java EE Ó¦ÓóÌÐòµÄ×î¼Ñʵ¼ù


Ô­ÌûµØÖ·£ºhttp://www.ibm.com/developerworks/cn/java/j-lo-jeeflex/?S_TACT=105AGX52&S_CMP=tec-csdn
´«Í³µÄ Java EE Ó¦ÓóÌÐòͨ³£Ê¹ÓÃijÖÖ MVC ¿ò¼Ü£¨ÀýÈ磬Struts£©×÷Ϊǰ¶ËÓû§½çÃ棬Ëæ×Å Flex µÄÐËÆ𣬻ùÓÚ RIA µÄ¿Í»§¶ËÄܹ»¸øÓû§´øÀ´¸ü¿áµÄ½çÃ棬¸ü¶ÌµÄÏìӦʱ¼ä£¬ÒÔ¼°¸ü½Ó½üÓÚ×ÀÃæÓ¦ÓóÌÐòµÄÌåÑé¡£±¾ÎĽ«½²ÊöÈçºÎ½« Flex ¼¯³ÉÖÁÒ»¸öÏÖÓÐµÄ Java EE Ó¦ÓóÌÐòÖУ¬ÒÔ¼°ÈçºÎÓ¦ÓÃ×î¼Ñʵ¼ù¸ßЧÂʵز¢Ðпª·¢ Java EE ºÍ Flex¡£
¿ª·¢»·¾³
±¾ÎĵĿª·¢»·¾³Îª Windows 7 Ultimate£¬Eclipse 3.4£¬Flex Builder 3£¨´Ó ²Î¿¼×ÊÔ´ »ñµÃÏÂÔØÁ´½Ó£©¡£Java EE ·þÎñÆ÷ʹÓà Resin 3.2£¬µ±È»£¬ÄúÒ²¿ÉÒÔʹÓà Tomcat µÈÆäËû Java EE ·þÎñÆ÷¡£
»ØÒ³Ê×
ÏÖÓÐµÄ Java EE Ó¦ÓÃ
¼Ù¶¨ÎÒÃÇÒѾ­ÓµÓÐÁËÒ»¸ö¹ÜÀí¹ÍÔ±ÐÅÏ¢µÄ Java EE Ó¦Óã¬ÃûΪ EmployeeMgmt-Server£¬½á¹¹Èç ͼ 1 Ëùʾ£º
ͼ 1. Java EE ¹¤³Ì½á¹¹
ÕâÊÇÒ»¸öµäÐ굀 Java EE Ó¦Óã¬Ê¹ÓÃÁËÁ÷ÐÐµÄ Spring ¿ò¼Ü¡£ÎªÁ˼ò»¯Êý¾Ý¿â²Ù×÷£¬ÎÒÃÇʹÓÃÁËÄÚ´æÊý¾Ý¿â HSQLDB¡£¶ÔÕâ¸ö¼òµ¥µÄÓ¦Óã¬Ê¡ÂÔÁË DAO£¬Ö±½ÓÔÚ Façade ÖÐͨ¹ý Spring µÄ JdbcTemplate ²Ù×÷Êý¾Ý¿â¡£×îºó£¬EmployeeMgmt Ó¦ÓÃͨ¹ý Servlet ºÍ JSP Ò³ÃæΪÓû§Ìṩǰ¶Ë½çÃ棺
ͼ 2. EmployeeMgmt Web ½çÃæ
¸Ã½çÃæΪ´«Í³µÄ HTML Ò³Ã棬Óû§Ã¿´Îµã»÷ij¸öÁ´½Ó¶¼ÐèҪˢÐÂÒ³Ãæ¡£ÓÉÓÚ Employee Management ϵͳ¸ü½Ó½üÓÚ´«Í³µÄ×ÀÃæÓ¦ÓóÌÐò£¬Òò´Ë£¬Óà Flex ÖØбàд½çÃæ»á´øÀ´¸üºÃµÄÓû§ÌåÑé¡£
»ØÒ³Ê×
¼¯³É BlazeDS
ÈçºÎ½« Flex ¼¯³ÉÖÁ¸Ã Java EE Ó¦ÓÃÄØ£¿ÏÖÔÚ£¬ÎÒÃÇÏ£ÍûÓà Flex Ìæ»»µôÔ­ÓÐµÄ Servlet ºÍ JSP Ò³Ã棬¾ÍÐèÒªÈà Flex ºÍ Java EE ºó¶ËͨÐÅ¡£Flex Ö§³Ö¶àÖÖÔ¶³Ìµ÷Ó÷½Ê½£¬°üÀ¨ HTTP£¬Web Services ºÍ AMF¡£²»¹ý£¬Õë¶Ô Java EE ¿ª·¢µÄ·þÎñÆ÷¶ËÓ¦Ó㬿ÉÒÔͨ¹ý¼¯³É BlazeDS£¬³ä·ÖÀûÓà AMF ЭÒé²¢ÄÜÇáÒ×Óë Flex Ç°¶Ë½»»»Êý¾Ý£¬ÕâÖÖ·½Ê½ÊÇ Java EE Ó¦ÓóÌÐò¼¯³É Flex µÄÊ×Ñ¡¡£
BlazeDS ÊÇ Adobe LifeCycle Data Services µÄ¿ªÔ´°æ±¾£¬×ñÑ­ LGPL v3 ÊÚȨ£¬¿ÉÒÔÃâ·ÑʹÓá£BlazeDS Ϊ Flex ÌṩÁË»ùÓÚ AMF ¶þ½øÖÆЭÒéµÄÔ¶³Ìµ÷ÓÃÖ§³Ö£¬Æä×÷ÓÃÏ൱ÓÚ Java µÄ RMI¡£ÓÐÁË BlazeDS£¬Í¨¹ý¼òµ¥µÄÅäÖã¬Ò»¸ö Java ½Ó¿Ú¾Í¿ÉÒÔ×÷Ϊ·þÎñ±©Â¶¸ø Flex£¬¹©ÆäÔ¶³Ìµ÷Óá£
¾¡¹ÜÏÖÓÐµÄ EmployeeMgmt Ó¦ÓóÌÐòÒѾ­ÓÐÁË Façade ½Ó¿Ú£¬µ«Õâ¸ö½Ó¿ÚÊDZ©Â¶¸ø Servlet ʹÓõģ¬×îºÃÄÜÔÙΪ Flex ¶¨ÒåÁíÒ»¸ö½Ó¿Ú FlexService£¬²¢Òþ²Ø Java ÓïÑÔµÄÌض¨¶ÔÏó£¨Èç Çåµ¥


Ïà¹ØÎĵµ£º

ÈÕÆÚÀà¼Ó¼õ¼°JavaÖÐÈÕÆÚÀà²Ù×÷Ëã·¨´óÈ«

1.¼ÆËãijһÔ·ݵÄ×î´óÌìÊý
1Calendar time=Calendar.getInstance();
2time.clear();
3time.set(Calendar.YEAR,year); //year Ϊ int
4time.set(Calendar.MONTH,i-1);//×¢Òâ,Calendar¶ÔÏóĬÈÏÒ»ÔÂΪ0
5int day=time.getActualMaximum(Calendar.DAY_OF_MONTH);//±¾Ô·ݵÄÌìÊý
×¢£ºÔÚʹÓÃset·½·¨Ö®Ç°£¬±ØÐë ......

Java¿ªÔ´IDE

 Java Tools 
      Java ToolsÊÇÒ»¸öÇáÁ¿¼¶IDE£¬ÓÃÓÚ´´½¨¡¢±àÒë¡¢Ö´ÐС¢µ÷ÊÔJavaÓ¦ÓóÌÐòÓëapplets¡£Ëü»¹ÄÚÖÃÒ»¸öÎı¾±à¼­Æ÷ºÍÒ»¸öÓµÓÐÓû§²Ù
     ×÷½çÃæµÄJavaµ÷ÊÔÆ÷¡£ËüÒ×ÓÚʹÓÃÌرðÊʺÏÓÚJava³õѧÕß¡£
Eclipse 
   Eclipseƽ̨ÊÇIBMÏò¿ª·¢ ......

PHPºÍJAVA¿ª·¢µÄOAÐÔÄܱȽÏ

ÏÖÔÚ»¹ÓкܶàÈ˸㲻¶®PHPºÍJAVA¿ª·¢µÄЭͬOAµ½µ×ÓÐʲô²»Í¬£¬¶Ô×Ô¼ºµ½µ×ÓÐʲôӰÏ죬ÒÔÖÁÓÚ×ö³öÁË´íÎóµÄÑ¡Ôñ¶øêݺ¦ÎÞÇî¡£±ÊÕ߸ù¾ÝÁ½ÖÖ¼¼ÊõµÄÌصãÖØÐÂÕûÀíÁËÒ»¸ö¶Ô±È£¬¸ø¹ØÐÄЭͬOA¼¼ÊõµÄ¶ÁÕß×ö¸ö²Î¿¼¡£
         »ªÌ춯Á¦Ð­Í¬OAÊDzÉÓÃJAVA¼¼ÊõµÄµäÐÍ´ú±í£¬²¢¾ßÓÐһϵÁÐÓÅ»¯É ......

Java¿ªÔ´ÏîÄ¿¼ò½é


Java¿ªÔ´ÏîÄ¿¼ò½é

Jakarta
ÏîÄ¿ÊÇASF(The Apache Software
Foundation)µÄÒ»²¿·Ö¡£ASFÊÇÒ»¸ö·ÇÓ®Àû×éÖ¯£¬Ëý¹ÄÀø»ùÓÚ¿ª·ÅµÄÈí¼þÐí¿ÉϽøÐкÏ×÷¡¢×¢ÖØʵЧµÄ¿ª·¢£¬²¢Ìṩ¸÷¸öÁìÓòµÄ¸ßÖÊÁ¿Èí¼þ£¬ËýÉæ¼°µ½
Http·þÎñÆ÷£¬±àÒ빤¾ß£¬Àà¿â£¬¿ª·¢¼Ü¹¹£¬·þÎñÆ÷¶ËJava¼¼Êõ,J2EEÈÝÆ÷£¬Êý¾Ý¿â¹¤¾ß£¬ÈÕÖ¾¹¤¾ß£¬XML½âÎöµÈµÈÖî¶ ......

java±àÒ뾲̬³£Á¿µÄ»úÖÆ

javaÐéÄâ»ú±àÒë»úÖÆ£¬¾²Ì¬³£Á¿ÔÚ±àÒëºó£¬³ÉΪÁ˳£Á¿£¬¶ø²»ÊÇÔ­ÏȵĴúÂ룬ÀýÈ磺
ÓÐÒ»¸öÀà
Contant.java
ÀïÃæÓÐһЩ¾²Ì¬³£Á¿
public static final String GONGDAN = "gongdan@ceopen.cn";
public static final String ICT = "ictnetwork@ceopen.cn";
È»ºóÔÚ³ÌÐòÖÐÓÐʹÓÃÕâЩ³£Á¿£¬Contant.GONGDAN
ÔÚÄÇЩ³ÌÐò±àÒëºóµÄ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ