½« 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 ÓïÑÔµÄÌض¨¶ÔÏó£¨Èç Çåµ¥
Ïà¹ØÎĵµ£º
1. ÒýÑÔ
¡¡¡¡½üÄêÀ´£¬Ëæ×ÅInternet/Intranet½¨Íø¼¼ÊõµÄ·ÉËÙ·¢Õ¹ºÍÔÚÊÀ½ç·¶Î§ÄÚµÄѸËÙÆÕ¼°£¬¼ÆËã»ú
¡¡¡¡Ó¦ÓóÌÐòÒÑ´Ó´«Í³µÄ×ÀÃæÓ¦ÓÃתµ½WebÓ¦Ó᣻ùÓÚB/S£¨Browser/Server£©¼Ü¹¹µÄ3²ã¿ª·¢Ä£Ê½Öð½¥È¡´úC/S£¨Client/Server£©¼Ü¹¹µÄ¿ª·¢Ä£Ê½£¬³ÉΪ¿ª·¢ÆóÒµ¼¶Ó¦Óú͵ç×ÓÉÌÎñÆÕ±é²ÉÓõļ¼Êõ¡£ÔÚWebÓ¦Óÿª·¢µÄÔçÆÚ£¬Ö÷ҪʹÓõ ......
http://looframework.sourceforge.net/
http://robocode.sourceforge.net/
JAVA is DOOMED(JID)ÊÇÒ»¸öÀûÓÃJavaʵÏֵĿªÔ´3DÒýÇæ²¢ÇÒʹÓÃOpenGL×÷ΪͼÐÎAPI.
¿ª·¢ÓïÑÔ£º Java
ÏîÄ¿Ö÷Ò³£º http://javaisdoomed.sourceforge.net/
ÎĵµµØÖ·£º
ÏÂÔصØÖ·£º https://sourceforge.net/projects/javaisdoomed/
JMine ÊÇÒ» ......
Java¿ªÔ´ÏîÄ¿¼ò½é
Jakarta
ÏîÄ¿ÊÇASF(The Apache Software
Foundation)µÄÒ»²¿·Ö¡£ASFÊÇÒ»¸ö·ÇÓ®Àû×éÖ¯£¬Ëý¹ÄÀø»ùÓÚ¿ª·ÅµÄÈí¼þÐí¿ÉϽøÐкÏ×÷¡¢×¢ÖØʵЧµÄ¿ª·¢£¬²¢Ìṩ¸÷¸öÁìÓòµÄ¸ßÖÊÁ¿Èí¼þ£¬ËýÉæ¼°µ½
Http·þÎñÆ÷£¬±àÒ빤¾ß£¬Àà¿â£¬¿ª·¢¼Ü¹¹£¬·þÎñÆ÷¶ËJava¼¼Êõ,J2EEÈÝÆ÷£¬Êý¾Ý¿â¹¤¾ß£¬ÈÕÖ¾¹¤¾ß£¬XML½âÎöµÈµÈÖî¶ ......
JSPÔ´´úÂë
<%
//»ñȡϵͳʱ¼ä
//String ddate=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(Calendar.getInstance().getTime());
TimeZone tz = TimeZone.getTimeZone("ETC/GMT-8");
TimeZone.setDefault(tz);
  ......
ת£º http://hi.baidu.com/jiong0818/blog/item/93f9b21641294b4d20a4e971.html JavaÖÐÈÕÆÚ¸ñʽת»» /** * ×Ö·û´®×ª»»Îªjava.util.Date
* Ö§³Ö¸ñʽΪ yyyy.MM.dd G 'at' hh:mm:ss z Èç '2002-1-1 AD at 22:10:59 PSD'
* yy/MM/dd HH:mm:ss Èç '2002/1/1 17:55:00'
* yy/MM/dd HH:mm:ss pm Èç '2002/1/1 17:55:00 p ......