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µÄ°²×°
1¡¢ÏµÍ³ÒªÇó£º
Eclipse 3.3.x (32-bit)
Sun JRE 1.5.x or newer (32-bit)
Firefox 3.0 (32-bit)
£¨ÆäÖУ¬Eclipse°æ±¾ºÜÖØÒª£¬ÏÖÔÚÒѾµ½ÁË3.5.xÁË£¬ÎÒÊÔ¹ý·Ç3.3.xµÄ½ÏÐÂEclipse£¬µ«ÊÇ×ܲ»³É¹¦£¬¶ø3.3.xµÄ°²×°ÎļþºÜÄÑÕ ......
Ò»¡¢×¼±¸¹¤×÷£º
ËùÐèÒªµÄÈí¼þ£º
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 ......
Are you running your Flex Application and continually getting the error below?
"Flex Builder cannot locate the required version of the Flash Player. You might need to install Flash Player 9 or reinstall Flex Builder. Do you want to try to run your application with the current version?"
Description ......
http://elromdesign.com/blog/2010/03/10/test-driven-development-tdd-with-flexunit-4-complete-tutorial/
±¾À´ÊÇ´òËãÍêÕûµÄ·ÒëÍê³ÉÕâƪ²©Îĵģ¬Ò»±ß·Ò룬һ±ß̸̸×Ô¼º¶ÔÇý¶¯²âÊÔ¿ª·¢µÄÀí½â¡£ µ±È»ÎÒµÄÀí½âºÍÔÎÄ×÷ÕßµÄÀí½â²»Ò»¶¨Ò»Ñù£¬µ«ÊÇÖÁÉÙ£¬ÎÒÃǶ¼³ÐÈÏ¿ª·¢µÃÊDzâÊÔÇý¶¯µÄ¡£ È»¶øCSDNµÄ²©¿ÍϵͳÊÇʵÔÚ²»ÄÜÀí½â¡¾Î ......
<?xml version="1.0"?>
<!-- Simple example to demonstrate the ColumnChart and BarChart controls. -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
creationComplete="initApp()"
backgroundColor="#FFFFFF" width="350" height="125"
layout="absolute">
<!- ......