First, the preparatory work:
The Required software:
FlexBuilder3:
Http://download.macromedia.com/pub/flex/flex_builder/FB3_win.exe
MyEclipse 6.5:
Http://www.blogjava.net/vip01/archive/2008/10/15/234418.html
BlazeDS: (blazeds-turnkey-3.2.zip) http://opensource.adobe.com/wiki/display/blazeds/download+blazeds+3
Tomcat 6:
http://tomcat.apache.org/
second, the installation process :
1. Install the MyEclipse6.0 (no longer detailed here).
2. Install FlexBuilder3 (fb3_wwej_plugin.exe) (no longer detailed here).
Third, the configuration process
3. Open the folder you FlexBuilder3 installed, locate the features and plugins two folders under the root directory and copy them to features and plugins two folders under the Eclipse folder under MyEcipse6.0.
Figure
4. Then place the SDKs in the folder where the Flexbuilder plugin is installed into the Eclipse folder under MyEcipse6.0.
5. Configure basic completion. It's just that you can switch views under MyEclipse6.0 to find the view structure that the flex corresponds to.
Image
Iv. Deployment Engineering
1. The Flex project can now be built in MyEclipse6.0.
The next step is to complete the integration with Tomcat and turn the Flex project into a deployable Web project and implement a hot deployment of the flex-related files.
First, build a flex Project, the application server chooses the Java EE
Figure
2. Select the downloaded blazeds.war (template file) in the Flex WAR file.
Figure
3. Use Tomcat 6.0 as the server.
4, complete the configuration of Tomcat back to just the interface, select the configuration of Tomcat, it is important to note that the Flex output folder is changed to Webroot,
This is changed to Webroot/flex, that is, the compiled SWF and other files will be placed under Webroot/flex, in order to achieve the hot deployment.
5. Click "Finish" to set up the project as shown below.
Figure
6. Where flex_src is the source file directory of Flex, SRC is the directory of Java source files that we are familiar with.
Now there are only the last 1 steps left, using MyEclipse 6.0 to add Web support for our Flex project so that it can be deployed directly.
Figure
7, OK, after the final completion of the project as follows.
Figure