Code and detailed description of FLEX and JAVA interaction instances
Download the FLEX plug-in
Step 1. Download the flex 3.0 plug-in and install it on my myeclips tutorial e 6.0.
1): http://trials.adobe.com/Applications/Flex/FlexBuilder/3/FB3_WWEJ_Plugin.exe
2) install the plug-in
Add the features folder under the com. adobe. flexbuilder. update. site folder in the flex plugin installation directory, the plugins folder, and the site. xml file to the eclipse folder in the myeclipse folder.
Note: If you have installed FLEXBUILD, you can also find its installation directory to overwrite the features and plugins in its directory to the two folders in eclipse.
The features folder under the eclipse folder in the flex plugin installation directory. The plugins folder overwrites the eclipse folder in the myeclipse folder (to prevent updates)
Step 1
Step 2. Download blazeds
Http://download.macromedia.com/pub/opensource/blazeds/blazeds_bin_3-0-0-544.zip
The Web project reversely adds Flex, that is, Java + Flex.
1. Create a web Project: flexweb. (Omitted)
2. manually add the elements required by Flex to the flexweb project.
1) first copy the jar file required by BlazeDS to the lib directory of the project. You can copy the jar files under lib in the blazed application to the lib directory of the project.
2) Add the configuration file required by Flex BlazeDS. Create a folder named flex under the WEB-INF and copy the four xml files under the folder firstFlex under our blazed application to the folder.
3) modify the web. xml file and add the Flex configuration. Simply copy part of the web. xml code of the flex project we created above. 1 2 3