Code and detailed description of FLEX and JAVA interaction instances (1/3)

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.