MyEclipse
FlexµÄÅäÖÃÖ®³õÎÒÃÇ¿´¿´ÔµÓÉ£ºÒ»¿ªÊ¼Ñ§Ï°Ê¹ÓÃFlexµÄʱºò,ÎÒÊÇÓõĵ¥¶ÀµÄFlexBuilder3,×öЩ´¿FlexµÄÓ¦ÓóÌÐò»¹¿ÉÒÔ.µ«ÊÇÈç¹ûÒª
ºÍJava½áºÏÔÚÒ»ÆðʹÓÃ,¼´ÀûÓÃFLEX³äµ±Ò»¸öÍêÕûµÄJ2EEϵͳµÄWEB²ãµÄ»°,ÄÇôµ¥¶ÀʹÓÃFlexBuilder3ºÍMYECLIPSEÊǺܲ»
·½±ãµÄ,´ó´óÓ°ÏìÁË¿ª·¢Ð§ÂÊ,Òò´Ë×öÁËÏÂMyEclipse+FlexµÄÅäÖÃ,´ïµ½Ö±½ÓÔÚÀûÓÃMyEclipseÖпª·¢ÕûºÍÁËFlexµÄWeÓ¦ÓóÌÐò,²¢
ÇÒʵÏÖÈȲ¿Êð.
Ê×ÏÈ,ÎÒÃÇÐèÒªÏÂÁÐÈí¼þ
Eclipse 3.3 :http://www.eclipse.org/
FlexBuilder3 beta2 ²å¼þ°æ: FB3_WWEJ_Plugin
MyEclipse 6.0£ºhttp://www.myeclipseide.com/
Lcds ds-console.war£ºds-console.war
Tomcat 5£º http://tomcat.apache.org/
¹ØÓÚ°æ±¾ÎÊÌâ,֮ǰÎÒÒ»Ö±ÓõÄÊÇec3.2+myec5.0,¿ÉÊÇÔÚ×îºóÒ»²½×ÜÒªµ¯³öecÄÚ²¿µÄ´íÎó,ºóÀ´»»³Éec3.3+myec6.0Ôò¿ÉÒÔ˳ÀûÍêÕûÅäÖÃ,Òò´ËÍƼöʹÓÃÒÔÉÏ°æ±¾.
Ê×ÏÈÊÇ°²×°EC+MYEC,¾Í²»ÐèÒª¶à˵ÁË.
È»ºó°²×°FlexBuilder3²å¼þ°æ,ºÍ°²×°MYECµÄ¹ý³ÌÒ»Ñù,¶¼ÐèÒªÔÚµÚ1´Î°²×°Ê±Ñ¡ÔñÒÑ°²×°µÄeclipseµÄλÖÃ
½ÓÏÂÀ´,¿ÉÒÔ´ò¿ªEC,Ó¦¸ÃÔÚVIEWÖÐÄÜ¿´µ½¶ÔÓ¦µÄFlexÊÓͼ
ʵ¼ÊÉÏ,µ±FlexBuilder3²å¼þ°²×°Íê³Éºó,ÎÒÃÇÒ²¿ÉÒÔÏòÌí¼ÓÆäËû³£Óòå¼þÒ»ÑùÔÚECÖÐͨ¹ý¸üÐÂÅäÖùÜÀíÀ´Ìí¼Ó²å¼þ.
È»ºóÑ¡ÔñFlexBuilder3°²×°Ä¿Â¼ÏµÄeclipseĿ¼,ÀýÈç
ÕâÑù¾Í»ù±¾Íê³ÉÁËÕûºÍµÄµÚ1²½,¼´¿ÉÒÔÔÚECÖн¨Á¢FLEXÏîÄ¿ÁË.
½ÓÏÂÀ´Òª×öµÄÊÇÍê³ÉºÍTOMCATµÄÕûºÍÒÔ¼°½«FLEXÏîÄ¿±ä³É¿É²¿ÊðµÄWEBÏîÄ¿,²¢ÔÚʵÏÖFLEXÏà¹ØÎļþµÄÈȲ¿Êð.
Ê×ÏÈ,½¨Á¢Ò»¸öFLEX PROJECT,Ó¦Ó÷þÎñÆ÷Ñ¡ÔñJ2EE
È»ºó,Ñ¡Ôñnew½øÐÐÓ¦Ó÷þÎñÆ÷µÄÅäÖÃ,FLEX WAR FILEÑ¡ÔñÏÂÔصÄds-console.warÎļþ
ÅäÖúܼòµ¥,ÕâÊÇʹÓõÄÊÇTOMCAT5.5
Íê³ÉTOMCATµÄÅäÖúó»Øµ½¸Õ²ÅµÄ½çÃæ,Ñ¡ÔñÅäÖõÄTOMCAT,ÐèҪעÒâµÄÊǽ«FLEXµÄÊä³öÎļþ¼Ð¸ÄΪWebRoot,
ÕâÀï¸ÄΪWebRoot/flex,¼´±àÒëºóµÄSWFµÈÎļþ¶¼»á·ÅÔÚWebRoot/flexÏÂ,ÕâÑù²ÅÄÜʵÏÖÈȲ¿Êð
µã»÷"Íê³É",½¨Á¢ºÃºóµÄÏîÄ¿ÈçÏÂËùʾ:
ÆäÖÐflex_srcÊÇFLEXµÄÔ´ÎļþĿ¼,src¼´ÊÇÎÒÃÇËùÊìϤµÄjavaÔ´ÎļþĿ¼.
ÏÖÔÚֻʣÏÂ×îºó1¸ö²½´ÕÁË,ʹÓÃMYECΪÎÒÃǵÄFLEXÏîÄ¿Ìí¼ÓWEBÖ§³ÖÒÔ±ãÄÜÖ±½Ó½øÐв¿Êð
OK,×îºóÍê³ÉºóÏîÄ¿ÈçÏÂ:
µ½´ËΪֹ,ÎÒÃǾÍʵÏÖÁËÔÚECÖÐÖ±½Ó¿ª·¢FLEX³ÌÐò,ͬʱºÍMYEC½øÐÐÁËÕûºÍ,»¹ÄܽøÐÐÈȲ¿Êð,ÕâÑù¿ª·¢ÆðÀ´ºÍÖ±½ÓʹÓÃMyEc¿ª·¢Java
Web³ÌÐòûÓÐʲôÇø±ð.×îºóÐèÒ
ÓÐÒ»¶Îʱ¼äûÓнӴ¥flex £¬Óе㲻Ôõ»áÓÃflex¡£»¹ºÃ×î½üŪÁËһϷÖÒ³µÄ¶«Î÷£¬¶Ôxml½øÐзÖÒ³»¹ÊÇͦ¹ÜÓ᣽èÓÃ֮ǰ·â×°ºÃµÄÀà¾ÓÈ»½â¾öºÜ¾Ã֮ǰµÄÎÊÌâ¡£¶ÔDataGrid µÄ×é¼þ·ÖÒ³£¬¿ÉÒÔͨ¹ý¶ÔXML½øÐÐһЩ´¦Àí£¬¿´ÆðÀ´ÕæµÄ·ÖÒ³ÁË¡£Êµ¼ÊÉÏÖ»ÊÇÒ»ÖÖ´í¾õ¡£
Ê×ÏÈÏÈ×¼±¸Ò»¸öÊý¾ÝÔ´XML¡£´ó¸ÅÒÔÒ»¸öÔ±¹¤×÷ÐÕÃû ÄêÁäºÍÐ ......