我想知道如何继续设置工作环境以开发 Spring BlazeDS 应用程序。这些服务器应用程序可以通过 AMF 远程处理从某些客户端 Flex 应用程序进行访问。
实际上,我已经设置并运行了 Maven 和 m2eclipse,本地 JBoss v6.0M2 正在运行,安装了 Flex 4 插件。
理想情况下,我想知道如何创建一个 Eclipse 项目,在该项目中我可以同时拥有服务器(Java)和客户端(Flex)代码,并且能够一键将所有内容部署到 JBoss。也许这个设置有一个特殊的 Maven 原型?如果没有,如果有人可以提供一步一步的说明来设置所有这些东西,我会很高兴。
先感谢您
I would like to know how to proceed to set up a work environment in order to develop Spring BlazeDS applications. Those server applications are meant to be accessed via AMF remoting from some client Flex application.
Actually I have Maven and m2eclipse set up and working, local JBoss v6.0M2 running, Flex 4 plugin installed.
Ideally, I would like to know how to create an eclipse project in which I can have both server (Java) and client (Flex) code and be able to deploy everything in one click to JBoss. Maybe there is a special Maven archetype for this setup? If not, I will be happy if someone can provide step by step instructions to setup all this stuff.
Thank you in advance
发布评论
评论(1)
看看
maven-blazeds-spring-archetype
原型(及其入门 指南)以及激发原型的文章:Flex、Spring 和BlazeDS 全栈 – 第 1 部分:创建 Flex 模块。
更新:我刚刚尝试了原型,实际上,它需要一些调整。步骤如下:
从远程存储库创建项目
cd
到创建的项目中,并修改./pom.xml
中Sonatype的存储库位置。将 http://svn.sonatype.org/flexmojos/repository 替换为 http://repository.sonatype.org/content/groups/forge/ (出现 2 次更新
app-flex/pom.xml
中
的版本,将2.0M8
替换为最新的2.0.3
。执行初始设置
按照入门。
Have a look at the
maven-blazeds-spring-archetype
archetype (and its GettingStarted guide) and at the article that inspired the archetype: The Flex, Spring, and BlazeDS full stack – Part 1: Creating a Flex module.Update: I just tried the archetype and, indeed, it need some tweaks. Here are the steps:
Create a project from the remote repository
cd
into the created project and modify the location of Sonatype's repository in./pom.xml
. Replace http://svn.sonatype.org/flexmojos/repository by http://repository.sonatype.org/content/groups/forge/ (there are 2 occurences to replace).Update the version of the
<flex-mojos.version>
inapp-flex/pom.xml
, replace2.0M8
with the latest2.0.3
.Perform the initial setup
Follow the rest of the steps of the GettingStarted.