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

netbeans + flex µÚÒ»¸öDEMO

  Ê×ÏȽ¨Ò»¸önetbeansµÄjava webÏîÄ¿
È»ºó´ÓÍøÉÏ°Éblazeds.war ÏÂÔØÏÂÀ´ÓÃrar ½âѹ °Ñweb-inf Ìæ»»µôÔÚnetbeans\web ÏÂÃæµÄweb-infÖеÄÈ«²¿Îļþ
È»ºó ²¿ÊðÏÂ
ÔÚ´ò¿ªflex builder н¨Ò»¸öflex project Ð´ÉÏÃû×ÖºÍÏîĿ·¾¶
ÔÚApplication server type Ñ¡ÖÐj2ee
µã»÷ ÏÂÒ»²½
È»ºó Root folderÑ¡ÖÐnetbeans ½¨µÄÏîÄ¿ ϵÄweb·¾¶ ÀýÈçE:\ѧϰ\WebDemo\web  {ÎÒµÄÏîÄ¿½»WebDemo}
Root Url дÉÏÄãµÄ·þÎñÆ÷url·¾¶  ÀýÈç:http://localhost:8080/WebDemo
Context root »¹ÊÇ/WebDemo
 ÔÚoutput folder ÕâÀï×¢ÒâһϠ±ÈÈçÎÒµÄÏîÄ¿ÊÇE:\ѧϰ\WebDemo\ Õâ¸ö·¾¶Ï ÄÇôдE:\ѧϰ\WebDemo\web  ÕâÑùµÄ»°flex builfer¾Í»á°ÑÉú³ÉµÄÎļþ¶¼·ÅÔÚwebÏÂÃæÁË
È»ºóÏÂÒ»²½ ok ÏÖÔÚÏîÄ¿ËãÊǴÍêÊÂÁË
ÏÖÔÚÐÞ¸ÄÅäÖÃÎļþnetbeans ÏÂÃæµÄweb\web-inf\flex\remoting-config.xml
<?xml version="1.0" encoding="UTF-8"?>
<service id="remoting-service"
class="flex.messaging.services.RemotingService">
<adapters>
<adapter-definition id="java-object" class="flex.messaging.services.remoting.adapters.JavaAdapter" default="true"/>
</adapters>
<default-channels>
<channel ref="my-amf"/>
</default-channels>
<destination id="helloWorld">
<properties>
<source>com.demo.java.HelloWorld</source>
</properties>
</destination>
</service>
<destination id="helloWorld">
            <properties>
            <source>cn.demo.java.HelloWorld</source>
            </properties>
        </destination>
ÕâЩÊÇÎÒÐÂ¼ÓµÄ helloWrold ÊÇ×Ô¼ºÐ½¨µÄÃû×Ö
 com.demo.java.HelloWorld ÊÇÎÒн¨µÄÀà
ÀïÃæ´úÂëÈçÏÂ
 /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
p


Ïà¹ØÎĵµ£º

Flex Builder 3.0 for Eclipse

ÕâÁ½Ìì×¼±¸Ñ§Ï°Flex,ÓÚÊÇÏÂÔØÁËFlex Builder 3.0 For Eclipse plugin×¼±¸°²×°.
µ«ÊÇ°²×°ºóÆô¶¯Eclipse,ÕÒÁË°ëÌìҲûÕÒµ½Flex.¶øÇÒFlex Builder»á°ÑJREÒ²°²×°.¾õµÃÕâÑùºÜ²»Ë¬.
ËùÒÔÎÒÏëµ½Äܲ»ÄÜÀ´¸öFlex BuilderÂÌÉ«°²×°·½·¨ÄØ.
Ïëµ½¾Í×ö.ÏÂÃæÊÇÎҵݲװ¹ý³Ì.(Ç°ÌáÊÇϵͳÒѾ­ÓÐJRE,ÇÒJAVA»·¾³±äÁ¿ÒѾ­ÅäÖÃOK,´Ë´¦ÂÔ¹ý¸ ......

MyEclipse°²×°Flex 3 ²å¼þ¼°Ð½¨FlexÏîÄ¿ÑÝʾ


Ò»¡¢×¼±¸¹¤×÷£º
ËùÐèÒªµÄÈí¼þ£º
Tomcat 5£º http://tomcat.apache.org/
FlexBuilder3 beta2 ²å¼þ°æ: FB3_WWEJ_Plugin
Eclipse 3.3 : www.eclipse.org
 
»òÕß
MyEclipse 6.0£ºhttp://www.myeclipseide.com/
Blazeds.war£ºhttp://flexorg.wip3.adobe.com/blazeds/3.0.x/milestone/3978/blazeds-bin-3.2.0.39 ......

flex ͼ±íʹÓðٷֱÈʾÀý

<?xml version="1.0"?>
<!-- charts/PredefinedAxisStyles.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">

<mx:Script>
<!--[CDATA[
//µ¼ÈëÏà¹Ø°ü
import mx.collections.ArrayCollection;
import mx.charts.*;
import mx.charts.ser ......

flexÎÞ·¨¶Ïµãµ÷ÊԵĽâ¾ö°ì·¨

·¸ÁËÒ»¸ö¼«µÍµÄ´íÎó£¬Õâ¸öÔ­ÒòÊÇ×Ô¼ºÔì³ÉµÄ£¬ÊÇ×Ô¼º°Ñ
¸ÄΪ±¾µØ×Ô¼º¼´¿É£¬
²éÁËЩӢÎÄÍøÕ¾µÄ½â¾ö·½°¸£¬ËµÊÇʲôϵͳÉý¼¶£¬Åµ¶Ùɱ¶¾Èí¼þÎÊÌ⣬¶¼²»ÊÇ×Ô¼ºÒªµÄ´ð°¸£¬ÊÇ×Ô¼ºÒÔÇ°²»Ð¡ÐĸÄÁË£¬ºóÀ´ÎÞÂÛÔõôжÔØ¡¢Éý¼¶¡¢ÖØ×°flash²å¼þ¶¼Ò»¸öÑù
http://hi.baidu.com/phperbo/blog/item/bf77fefb29a73b1e6d22ebe4.html
ÀÏÊÇÓö¼û ......

adobe flex²¿Êð ʵ¼Ê²Ù×÷

Adobe flexµ½µ×ÊÇ×öʲôµÄ£¬ÎÒÔÚÕâÀï¾Í²»½øÐвûÊöÁË¡£Ö÷ÒªÊÇдÏ£ºflex²å¼þ¼¯³Éµ½MyEclipse/EclipseÖеķ½·¨ºÍ flex+javaÏîÄ¿µÄ²¿Êð¹ý³Ì
²å¼þ°²×°¹ý³Ì£º
1.°²×°Eclipse»òÕßMyEclipse;
2.°²×°FlexBuilder3 beta2²å¼þ°æ --  FB3_WWEJ_Plugin.exe;
   a.Ñ¡ÔñFlexBuilder3 µÄ°²×°Â·¾¶£¬¿ÉÒÔÈÎÒâÑ¡Ôñ£¬È»ºóµã ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ