Follow me Stepbystep Flex tutorial

Source: Internet
Author: User

The development methods of Flex and Java can be roughly divided into three kinds:

1, Flex and Java separate development. This means that the Flex section uses Flexbuilder development, and Java uses tools such as Eclipse (or myeclipse) to develop it.

This method is not recommended by authors. His advantage is that the development of flex and Java can be completely separated, but its shortcomings are also very obvious, particularly unsuitable for the style of domestic companies. The domestic boss is to hope that a person as far as possible all-round quality.

Again this way of late debugging trouble, especially now the Java EE are very big. Deployment projects are also not convenient.

2, Flex+java development. That is, create a new Flex project, publish it as an EE project, and develop it with Java.

This way, as long as the new project decides to use the Flex development page, the author strongly recommends that this approach be developed. The next lecture will tell you how to configure the development of this environment.

3, Java+flex development. Generally speaking, are in the existing Java-EE project (Struts, WebWork, etc.) on the increase in flex, then in fact, there is no choice, can only be a project on the expansion.

This way, for most of the current Java project is suitable, because the former Java EE Products Company has been invested for many years, give up the impossible, and the combination of flex this technology is not conflict with the original, or as long as the use of appropriate, it is complementary. So this is on the last side. The author goes on to say, combining the existing project of Java EE (the project framework mainly with WebWork (+ajax) +spring+hibernate) how and flex together.

Now tell me about the development environment tools you need to prepare (which basically requires the following tools):

1, Flex Builder3. Oh, this is needless to say.

2, Eclipse or MyEclipse. The myeclipse6.6 used by the author.

3, Java Development Kit (JDK), version 1.5 or more (including 1.5). The author uses a 1.5.

4, BlazeDS. The author uses 3.2.

5, Tomcat. The author uses 6.0.

6, Flex plug-in (development mode 1 do not need), with this plug-in can make Flex and Java in a tool developed.

Download Address Http://trials.adobe.com/Applications/Flex/FlexBuilder/3/FB3_WWEJ_Plugi N.exe.

The installation of this plugin needs to say:

In this step, be sure to select the path of the installed MyEclipse.

After installation, the following steps are required:

1, open your Flexbuilder plug-in installation folder, the inside of the features and plugins two folders within the files corresponding copy to the "Eclipse" folder features and plugins two folders;

2. Place the SDKs in the folder where the Flexbuilder plug-in is installed into the Eclipse folder under MyEcipse6.0.

Article Source: http://wangyisong.javaeye.com/blog/396013

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.