Flex Spring JAVA BLAZEDSÕûºÏ
ÔÎĵØÖ·£ºhttp://www.javaeye.com/topic/392836
¹ØÓÚFlex
Adobe FlexÊÇÒ»Ì×´´½¨¸»¿Í»§¶ËÓ¦ÓÃ(RIAs)µÄ¿ò¼Ü.FlexÉú³ÉµÄswfÎļþ¿ÉÒÔÖ±½ÓÔËÐÐÔÚFlash PlayerÖ®ÖС£Ïà±È½Ï»ùÓÚʱ¼äÖáµÄFlash¿ª·¢£¬Flex¿ò¼Ü¸üÊʺÏÄÇЩÓô«Í³·½Ê½¿ª·¢Ó¦ÓóÌÐòµÄ¿ª·¢ÈËÔ±¡£FlexÓ¦ÓÿÉÒÔʹÓÃFlex builderÀ´¿ª·¢¡£ÕâÌ×IDEÊÇ»ùÓÚEclipseƽ̨¿ª·¢µÄ¡£Action Script3ÓïÑÔÊÇÓÃÀ´·ÃÎÊÊý¾ÝºÍ´´½¨Óû§½Ó¿Ú×é¼þµÄ¡£Flex¿ò¼ÜÒ²Óõ½ÁËÒ»ÖÖXMLÓïÑÔ½Ð×öMXML£¬ËüÊÇÓÃÀ´¼ò»¯Flex¿ª·¢ºÍ²¼¾ÖµÄ¡£
¹ØÓÚSpring
SpringÊÇÄ¿Ç°×îÊÜ»¶ÓµÄ´´½¨ÆóÒµ¼¶Ó¦ÓõÄJava¿ò¼Ü¡£²»Ïñ´«Í³µÄJ2EE¿ª·¢£¬SpringÌṩÁËÇáÁ¿¼¶µÄÈÝÆ÷¡£Ê¹ÓÃSpring»áʹӦÓõIJâÊԺͿª·¢¸üΪ¼òµ¥¡£ËäÈ»SpringÒÀÀµ×¢ÈëµÄ¹¦ÄÜ×î³öÃû£¬µ«ÊÇËüÒ²ÌṩÁËÆäËû·þÎñ¶ËÆóÒµ³ÌÐòËùÐèÒªµÄ¹¦ÄÜ¡£È簲ȫºÍÊÂÎñ´¦Àí¡£
ΪʲôʹÓÃFlexºÍSpring
Flex¼¼Êõ±¾ÉíºÍJava¾ÍÓкÜÇ¿µÄ¹ØÁªÐÔ£¬ËüÌṩÁËÒ»¸ö»ùÓÚEclipseµÄIDEºÍBlazeDS.BlazeDSÊǸö»ùÓÚ·þÎñ¶ËµÄJavaÔ¶³Ìµ÷ÓúÍWebÏûÏ¢µÄÒ»¸ö¿ªÔ´µÄ¼¼Êõ¡£ÓÐÐí¶àÓ¦Óö¼ÊÇÒÔJavaΪºó¶Ë´¦ÀíµÄ¡£FlexÓÃÓÚÇ°¶Ë¡£ÓÉÓÚJavaºÍFlexÒ»ÆðƵ·±µÄʹÓá£ÈËÃǺÜÈÝÒ×¾ÍÏëµ½FlexºÍSpringµÄÕûºÏ¡£ÓÐÐí¶àÆóÒµºÍ×éÖ¯ÒѾ×ÅÊÖ¿ªÊ¼Ê¹ÓÃFlex×÷ΪÓû§½Ó¿ÚÁË¡£ÔÚ2008ÄêÄ©£¬SpringÉçÇøÒѾ×ÅÊÖSpring BlazeDSÕûºÏµÄÏîÄ¿¡£ÎªJavaºÍSpringÌí¼Ó¸üºÃµÄFlexÖ§³Ö¡£
ĬÈϵÄÇé¿öÏÂBlazeDS´´½¨ÁËÒ»¸ö·þÎñ¶ËJava¶ÔÏóµÄʵÀý£¬ÓÃËüÃÇÀ´Íê³ÉÔ¶³Ì¶ÔÏóµÄÇëÇó¡£µ«ÊÇÕâÖÖ·½·¨²¢²»ÊÊÓÃÓÚSpring.ÒòΪÕû¸ö¿ò¼ÜʹÓõķþÎñµÄ¶ÔÏó¶¼ÊÇÓÃSpringÈÝÆ÷Ëù´´½¨µÄ¡£SpringºÍBlazeDSµÄÕûºÏ£¬Flex¾Í¿ÉÒÔʹÓÃSpringÖеĶÔÏóÁË¡£
ÕûºÏFlexºÍSpring
ΪÁËʹÓÃBlazeDS,·þÎñ¶ËµÄJavaÓ¦ÓÃÓ¦´ò°üΪWARÎļþ¡£Õⲿ·ÖµÄ´úÂëʵÀýÊÇʹÓÃEclipseÀ´´´½¨ºÍ±à¼µÄ¡£²½ÖèÈçÏÂ
ÉèÖ÷þÎñ¶ËµÄBlazeDS Java¹¤³ÌÒÔ¼°Spring¿ò¼Ü¡£
ÔÚBlazeDSÖÐÅäÖÃSpringµÄbean
дһ¸öFlexÓ¦ÓÃȥʹÓÃSpring/BlazeDSµÄ·þÎñ¡£
ËùÐèÒªµÄ¿ª·¢»·¾³ÈçÏÂ
Eclipse3.4(J2EE°æ±¾)£ºhttp://www.eclipse.org/downloads/
Flex Builder3£ºhttp://www.adobe.com/cfusion/entitlement/index.cfm?e=flex3email&sdid=EOZPI
Tomcat 6£ºhttp://tomcat.apache.org/
BlazeDS£ºhttp://opensource.adobe.com/wiki/display/blazeds/BlazeDS/
Spring¿ò¼Ü£ºhttp://www.springsource.org/download
Spring BlazeDSÕûºÏ£ºhttp://www.springsource.org/spring-flex
ANTLR3.0£ºhttp://www.antlr.org/download.html
Ê×ÏÈÉèÖ÷
Ïà¹ØÎĵµ£º
×î½ü¿´µ½Ò»¸öÓÐÒâ˼µÄÊ÷Ðνṹ£¬ÎªÃ¿¸ö½ÚµãÌí¼ÓÁËlft
ºÍ
rgt
Á½¸öÊôÐÔ¡£ÕâÑù²éÕҸýڵãµÄ×ӽڵ㡢
²éÕҸýڵãËùÓи¸½Úµã£¬¾Í²»ÓÃÈ¥µÝ¹é²éѯ£¬Ö»ÐèÒªÓÃ
between
¡¢
and
Óï¾ä¾Í¿ÉÒÔʵÏÖ¡£ÏÂÃæÒÔ´´½¨Ò»¸öÀ¸Ä¿Ê÷ΪÀý£¬ÒÔÏÂÊÇÎÒµÄÀí½â¡£
¡¡¡¡Ò»°ãÀ´½²£¬ÎÒÃÇ´´½¨À¸Ä¿Ê÷µÄʱºò£¬´ó¶àÖ»ÐèÒªÒ»¸öÍâ¼üparentid
À´Çø·Ö¸Ã½Úµã ......
ÔÎÄÀ´×ÔÓÚ¡¶Developing Games in Java¡·£¬×÷ÕߣºDavid Brackeen, Bret Barker, Laurence Vanhelsuwé
JavaÔÚÉè¼Æʱ³ä·Ö¿¼ÂÇÁËÏß³Ì,Òò´ËÔÚJavaÖÐÏ̵߳IJÙ×÷±ÈÆäËûÓïÑÔÒª¼òµ¥¡£Ö»ÐèÉú³ÉÒ»¸öThreadÀàµÄʵÀý±ã¿É´´½¨Ò»¸öỊ̈߳¬È»ºóµ÷ÓÃstart()·½·¨Ï߳̾ÍÆô¶¯ÁË¡£
&nbs ......
ÀàÃû£º
java.util.Date
¹¹Ôì·½·¨£º
¹¹Ôì·½·¨ ½â˵
Date()
ÎÞ²ÎÊýµÄ¹¹Ôì·½·¨£¬½«¹¹½¨Ò»¸ö±£³Öµ±Ç°ÈÕÆÚ.ʱ¼äµÄDate¶ÔÏó¡£
Date(long time)
²ÎÊýΪ1970Äê1ÔÂ1ÈÕ00ʱ00·Ö00ÃëÆðËù¾¹ýµÄºÁÃëÊý£¬½«¹¹½¨Ò»¸ö±£³Ö¸ÃÈÕÆÚ.ʱ¼äµÄ¾«È·µ½ºÁÃëµÄDate¶ÔÏó¡£
ÆäËûÓÐЩ¹¹Ôì·½·¨ÒѾ²»ÍƼöʹÓã¬ÕâÀï² ......
win7ϵͳÏÂJava»·¾³±äÁ¿µÄÅäÖà Jdk°æ±¾Îª1.6
´ò¿ª¿ØÖÆÃæ°å->Óû§ÕÊ»§->¸ü¸ÄÎҵĻ·¾³±äÁ¿
±äÁ¿Ãû£ºJAVA_HOME
±äÁ¿Öµ£ºD:\Program Files\Java\jdk1.6.0_12(ÕâÖ»ÊÇÎÒµÄJDK°²×°Â·¾¶)
±äÁ¿Ãû£ºPath
ÔÚ±äÁ¿ÖµµÄ×îÇ°Ãæ¼ÓÉÏ£º%JAVA_HOME%\bin;£¨ÈôÒѾÓÐPathÏÎÞÐëÁíÍâР......