MyEclipse7.5 which develop flex - helloworld (J2EE Edition)

2010-08-20  来源:本站原创  分类:Flash  人气:186 

【Small state: the immediately preceding one, the environment set up is complete, build a helloworld experience the flex (on a number of words too, so this individual to put forward, please understand!)】

The first step: build a new project: new-> flex project

Pop-up dialog box as follows:

MyEclipse7.5 which develop flex - helloworld (J2EE Edition)

Note that dragging a box around part, if the Application server type items selected none, then a simple application generated swf. Not a combination of web projects. The selected J2EE is for web application projects.

Click "next"

Step Two:
MyEclipse7.5 which develop flex - helloworld (J2EE Edition)

1. Target runtime items need to add their own, the basic problem does not occur.

2.content folder tomcat-generated content is the future name of the folder, because I used to use the webroot, so the name changed, well think of some more familiar.

3.flex WAR file is to say that blazeds.war put in front of tomcat's webapps path, the path can copy over.

【Note: If in the previous step, do not select Use remote object access service, you can skip this, but in generating the project will not generate flex configuration file】

4.output folder is the main flex project in the path, the best in content folder in the path of the following, which is where my webroot \ flex can be named according to preferences. (Here the default debug-bin, the specific thing I'm not sure how),

Click "next" or "finish", that is to complete the project to create!

Project form as shown below: (mark one box that I described above points generated effects)

MyEclipse7.5 which develop flex - helloworld (J2EE Edition)

The third step: file input in helloworld.mxml

<? Xml version = "1.0" encoding = "utf-8"?>
<Mx: Application xmlns: mx = " http://www.adobe.com/2006/mxml "Layout =" absolute ">
<mx:Script>
<! [CDATA [
private function init (): void
(
var i: int = 0;
i + +;
trace ("i ==="+ i);

)
]]>
</ Mx: Script>
<mx:Label text="hello world"/>
</ Mx: Application>

Step four: the flex project into web projects in order to be able to deploy in tomcat, run!

Select the item, right, show pop-up Figure

MyEclipse7.5 which develop flex - helloworld (J2EE Edition)

Click "finish" can be.

Step Five: deploy to tomcat, and start tomcat.

Right-run as-> run configurations running configure

"Http://localhost:8080/helloworld/flex/helloworld.html"

And then run right run as-> flex application

The result can browse to.

相关文章
  • MyEclipse7.5 which develop flex - helloworld (J2EE Edition) 2010-08-20

    [Small state: the immediately preceding one, the environment set up is complete, build a helloworld experience the flex (on a number of words too, so this individual to put forward, please understand!)] The first step: build a new project: new-> flex

  • Beginners how to develop a high-quality J2EE system 2009-11-14

    Beginners how to develop a high-quality J2EE system

  • Beginners how to develop a high-quality J2EE system (reproduced) 2010-08-10

    More and more learners J2EE, J2EE technology has its own development, the emergence of concepts, this article attempts to point from one easy to understand these concepts to explain to the beginners to grasp the direction of learning to learn J2EE. F

  • Beginners how to develop a high-quality J2EE System [reading experience] 2011-01-03

    Read the article addresses: http://www.jdon.com/idea/j2eebasic.htm More and more learners J2EE, J2EE technology continues to develop itself, emerged in a variety of concepts, this article attempts to point from one easy to understand these concepts t

  • 评点Flex结合J2EE的开发与架构 2014-02-27

    摘要:最近晚上抽出点时间写了这篇文章,关于 Flex 开发方面的语言和架构,介绍了大家都熟悉的分层结构,着重介绍视图层(flex 实现),服务控制层和领域模型层,并按照严格分层,高解耦合性并结合 Flex 技术实验了一个用户管理小模块,案例不是目的,重要的是介绍开发思想.本文第一部分介绍 Flex 相关技术以及 ActionStript3.0 语言.第二部分介绍开发实例的开发过程,代码可以下载,亮点在接口工程.由于本人 flex 经验不足,在以后的工作中会不断补充. 关键字:Flex, J2EE

  • 基于Flex和J2EE的信息管理系统基础框架 Pomer 2008-10-07

    Pomer 网站 : http://code.google.com/p/pomer/ Pomer是一 个开源的企业信息管理系统基础框架,它提供了一系列企业信息管理系统的基础功能,包括企业组织架构管理,角色权限管理,菜单管理,数据权限控制等功能. Pomer提供了简洁高效的Flex应用程序开发框架,丰富实用的Flex控件以及常见的Flex应用模式,和一个基于Pomer框架的代码生成器,基于 Pomer,可以快速开发出优秀的管理信息系统,而不用太关注业务以外的技术细节. Pomer 有哪些组件 Fl

  • FusionCharts exported images on the server side (J2EE Edition) 2010-12-05

    First, the need to download FusionCharts v3.1 swf Documents also need to download FusionCharts.js And FusionChartsExportComponent.js two JS File ( To download the matching version with v3.1 ), Also download fcexporter.jar file ( V3.1 version to match

  • Flex and J2EE, jsp pages to interact 2011-05-20

    The first to write mxml file: <? Xml version = "1.0" encoding = "utf-8"?> <MX: Application xmlns: MX = " http://www.macromedia.com/2003/mxml "verticalGap =" 20 "> <mx:HTTPService method="get"

  • First test flex-MyEclipse7.5 and flex3.0.2 environmental integration 2010-08-20

    I often see the recent subway flex courses, interests matter to intend to find out! Get a good long time, finally came up with a HelloWorld.. Actually get started is not difficult, but the online information confused some, and their counterparts is n

  • Eclipse J2EE development and configuration of Flex 2011-05-25

    also developed a project eclipse flex and j2ee environment configuration Because of work requirements, learning for a week of flex communicate with the server today, choose a free BlazeDS. As a project before using the eclipse europa, put the flex bu

  • Beginners how to develop high-quality J2EE System 2010-03-21

    J2EE learners more and more, J2EE technology continues its own development, emerged in a variety of concepts, this article attempts an easily understandable from the perspective of these concepts to explain to the beginners in order to grasp the dire

  • J2EE beginners how to develop high-quality system 2010-06-28

    More and more learners J2EE, J2EE technology itself constantly in development, the emergence of concepts, this article attempts to point from one easy to understand these concepts to explain to the beginners to grasp the direction of learning to lear

  • flex's pureMVC + Fabrication of use examples - HelloWorld 2010-09-24

    I'm still new to Kazakhstan, there are many places is badly written, do not take offense. The first step: 1. Flex4 created the Web project we need to import lib as shown below 2. Look at how we build Fabrication flex under the project, and to clarify

  • flex + cairngorm + spring + hibernate integration example of 2010-04-12

    Preparation: SQL server2005: JDK: jdk-1.5.0.0 TOMCAT: tomcat-6.0.20 ECLIPSE: eclipse -3.3 MYECLIPSE plug-in: MyEclipse-6.5 Flex: FB3_WWEJ_Plugin.exe BLEAZEDS: BlazeDS, download address: http://opensource.adobe.com/wiki/display/blazeds/Release+Builds

  • Java Notes Annotations can really simplified J2EE development? 2009-04-07

    With the J2EE entered after 5.0 time, Java EE5.0's a lot of features have also been widely used in J2EE programs. The Java EE5.0 Notes (Annotations) characteristic is one of the most widely used characteristics of one. If a slight glance at the lates

  • Flex connection Java EE technology choices 2010-03-29

    Flex can be used to connect the background JavaEE technologies: ◆ HTTPService (xml mode) ◆ Webservice (soap) ◆ Blazeds ◆ LiveCycle Data Services ◆ Graniteds ◆ Flamingo ◆ Fiji ◆ Fxstruts ◆ other open source projects Describe, respectively: HTTPService

  • MyEclipse 8.5 development environment configuration. Plugins installed. Finished. Aptana2.0 plugin, SVN plug-in, Flex Builder 3 / 4 plug-in installed 2010-07-11

    [Color = red] [/ color] [size = x-small] [/ size] [align = left] [/ align] Download MyEclipse 8.5 MyEclipse can through a proxy http://www.proxyie.cn/ visit the official website to download software Download: http://downloads.myeclipseide.com/downloa

  • (Switch) Flex and the integration of practice jsp 2010-10-12

    I. Introduction Nowadays RIA (Rich Internet Applications) is very fashionable, but sector has started many projects to develop flex framework. The other team to catch up the pace of new technology, so I would like to try the project responsible for t

  • MyEclipse 8.5 development environment, configuration, localization, Aptana2.0 plugin, SVN plug-in, Flex Builder 3 / 4 plug-in installation 2010-07-17

    MyEclipse 8.5 development environment, configuration, localization, Aptana2.0 plugin, SVN plug-in, Flex Builder 3 / 4 plug-in installation url: http://elf8848.iteye.com/blog/630864 Download MyEclipse 8.5 MyEclipse can access through a proxy http://ww

  • flex是什么 Flex介绍 2013-11-24

    Flex 是一个高效.免费的开源框架,可用于构建具有表现力的 Web 应用程序,这些应用程序利用 Adobe Flash Player和 Adobe AIR, 运行时跨浏览器.桌面和操作系统实现一致的部署 flex通常是指Adobe Flex,是最初由Macromedia公司在2004年3月发布的,基于其专有的Macromedia Flash平台,它是涵盖了支持RIA(Rich Internet Applications)的开发和部署的一系列技术组合.flex的另一个意思是一款生成扫描器的工具,