In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces how to build the MyEclipse+Flex+Blzeds environment, the article is very detailed, has a certain reference value, interested friends must read it!
I use the specific download address of MyEclipse6.5 + Tomcat5.5 + Blazeds + Flex Builder Eclips Plug-in, which can be downloaded officially. First, there was a problem when installing FLex Builder. At that time, I downloaded the Flex Builder Beta2 version. When this version was installed to * *, there was a problem and the installation schedule could not be completed. If the previous version was used, the installation was successful. If it is not successful, check whether it is affected by antivirus software. At this point, the Flex development environment has been built.
The difference between 2.Blazeds and Lcds when getting started with MyEclipse+Flex+Blzeds
LCDS (LiveCycle Data Service) was formerly called FDS (Flex Data Service). It is based on the data service project at the back end of java (also available in ColdFusion version). Its functions include mapping Java objects to Flex objects (including calling methods of Java classes), RTMP (Real Time Message Protocol), proxy, server-side generation of PDF, and so on. For more information, please refer to the instructions in LCDS. After registering on the official website, you can download it for free.
LCDS is actually paid for, but it can also be used for free, which seems to be less CPU support. Of course, there are other data services, such as AMFPHP.
Of course, all the functions provided by LCDS can be implemented by ourselves. It is not true that Flex cannot deal with the background without LCDS. Besides RemoteObject, there are WebSerivce, HTTPService and so on. It's just that LCDS provides more convenience and features.
BlazeDS can be seen as a simplified version of LCDS, which lacks the advanced Data Management Service features of the latter and does not currently support the RTMP (Real Time Message Protocol) protocol.
Getting started with MyEclipse+Flex+Blzeds 3. Let's get down to business.
1) create a new Flex project, File-> new-> Flex Project... Enter the wizard interface. Java source folder is the root directory where the Java source code is stored, and the directory name can be defined by yourself.
Click next
Content folder is actually the final compiled container directory, so the blazeds.war file will be published to the flex directory under WEB-INF in this directory. At the same time, because the tutorial uses MyEclipse, his default is to publish content in WebContent, in order to automate, so here is changed to WebContent.
Output folder refers to the path where swf and html files compiled by Flex are stored. Here, it is changed to WebContent\ bin.
Click next
Main source folder is the root directory of the flex source code, which is of course separate from the java source code.
Output folder URL is the request path to run and debug during development, which has nothing to do with release, does not affect any path you use in the program, but makes development convenient. Note: there is bug here in FlexBuilder3. When you create a new project, some of the custom properties are not saved, but must be changed in the newly created project properties, as explained later.
Click Fanish to finish.
2) add Web project capabilities to the project.
Change web root directory to WebContent. The check box before create web.xml is cancelled.
3) modify the properties of the project, right-click the project and open the properties dialog box.
Modify flex build path- > out folder url + "/ bin"
It is important to modify flex server- > context root (/ Flex project name). (note: if you are divided into two projects, this refers to the name of your J2ee project, not the name of your Flex project, because you are requesting Java's data service.) this will be used as a parameter when Flex requests LCDS
Http://{server.name}:{server.port}/{context.root}/messagebroker/amf
If Context root is wrong, it will never be possible to request LCDS's service correctly.
4) deploy the application and start the service.
These are all the contents of the article "how to build a MyEclipse+Flex+Blzeds Environment". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.