달력

4

« 2024/4 »

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
2012. 11. 30. 13:57

Adobe BlazeDS download Enjoy/FLEX2012. 11. 30. 13:57


출처 : https://www.adobe.com/cfusion/entitlement/index.cfm?e=lc_blazeds


adobe 로그인이 필요함



Adobe BlazeDS download

BlazeDS, powered by Adobe LiveCycle Data Services ES2 a server‐based Java remoting and web messaging technology that enables developers to easily connect to back‐end distributed data and push data to Adobe® Flex® and Adobe AIR™ applications for more responsive rich Internet application (RIA) experiences. For more performance and capable rich Internet applications, organizations need to consider the complete product offering available with LiveCycle Data Services ES2. Review the BlazeDS and LiveCycle Data Services ES2 comparison table for details.

BLAZEDS RELEASE BUILDS

Turnkey

The turnkey download contains a ready-to-use version of Tomcat (version 6.0.14) in which the BlazeDS WAR file has already been deployed and configured along with a variety sample applications. The turnkey allows you to get up and running with BlazeDS in a matter of minutes. BlazeDS is licensed under GNU Lesser General Public License, Version 3. Please refer to the Legal Stuff page for specific licensing information.

Binary Distribution

The binary distribution of BlazeDS contains the BlazeDS WAR file. BlazeDS is licensed under GNU Lesser General Public License, Version 3.

Source

The source download is a zip file that includes the BlazeDS source code and build scripts, everything you need to build BlazeDS from source. For more information about the BlazeDS source code or to browse the source tree, go here. BlazeDS is licensed underGNU Lesser General Public License, Version 3.

Explore your options

FeaturesBlazeDSLiveCycle Data Services ES2
RPC services
Java remoting/Action Message Format (AMF)YesYes
Ajax client libraries to Java™ remotingYesYes
WS/JSON proxy serviceYesYes
Messaging
Servlet-based messaging services (hundreds of clients per CPU)YesYes
Java NIO high-performance messaging (thousands of clients per CPU)NoYes
Real Time Messaging Protocol (RTMP)NoYes
Data throttlingNoYes
Reliable communicationsNoYes
Data management
Transaction (batch processing)NoYes
Data pagingNoYes
Lazy loading (on demand)NoYes
Conflict resolution and synchronizationNoYes
SQL adapterNoYes
Hibernate adapterNoYes
"Fiber-aware" assemblerNoYes
Offline web applicationsNoYes
Development and deployment
Spring integration supportYesYes
Adobe Flash® Builder™ modeling plug-inNoYes
Enterprise supportNoYes
RIA PDF generationNoYes
WSRP portal integrationNoYes
Load/stress testing toolNoYes
Edge serverNoYes
Enterprise support plansNoYes

Downloads

DownloadMD5 checksum
BlazeDS turnkeyTurnkey (ZIP, 43.7M)01fef59b87fcf28b664d55adaeba5cde
BlazeDS binary distributionBinary distribution(ZIP, 4.1M)d5655a04196f0c107a48734b181bde42
BlazeDS sourceSource (ZIP, 358.8M)b971bd31fadaa0f6fded3aab7f522ba4

THESE RESOURCES ARE AVAILABLE TO SUPPORT YOU IN THE INSTALLATION AND EVALUATION PROCESS.

DIFFICULTIES DOWNLOADING?

Download help

Adobe BlazeDS download

:
Posted by 라면스프


출처 : http://theeye.pe.kr/entry/Flex-BlazeDS-with-Spring-Annotation?category=11


Flex 개발을 하다보면 서버와의 통신을 통해 다양한 방법을 사용할수 있다는 장점을 쉽게 알 수 있습니다.

하지만 안타까운게 Remote Object를 사용하기 위해서는 얼마인지 산출하기도 힘든 비싼 FDS (LCDS)를 구매해야 한다는 장벽이 있었죠.

이 장벽에 막혀 안정성이 확보되지 못한 일부 오픈 소스제품군을 사용하거나 다른 방식의 통신을 사용하여야 했습니다.

하지만 LCDS의 빠른 속도를 보장받을수는 없었죠. 현재 LCDS의 Remote Object 통신 프로토콜은 AMF3 (Action Message Format 3)까지 나왔습니다.

하지만 Adobe에서 BlazeDS라는 이름의 LCDS 무료버젼을 내놓았습니다. 또한 오픈소스로 개발 진행중입니다.

또한 Jeff Vroom 이라는 멋진 분이 Spring ↔ BlazeDS 간 통신할 수 있는 Factory를 개발하였습니다.

관련 정보는 다음을 참고하세요

[ 어도비 기술문서 ]
[ Sewon님 블로그 ]
[ 머드초보님 블로그 ]

하지만 위의 기술 내용들은 Spring Framework를 이용하여 어노테이션 기반으로 개발중이라면 여간 성가시게 만드는 부분이 많지 않은가 싶습니다.

위의 내용도 매우 간단해 지고 쉬워졌지만 BlazeDS도 어노테이션을 이용해 연동할 수 있으면 얼마나 좋을까 생각하게 만들었습니다.

그러던중에 좋은 자료를 발견하였습니다.

1. Spring에서 @RemotingDestination 어노테이션을 사용하기 위해 다음의 라이브러리를 다운받습니다. 여기에는 Jeff Vroom씨가 만든 Spring Factory도 포함하고 있습니다.

[ 다운받으러 가기 ]

2. remotingdestination-annotation.zip 파일을 개발중인 프로젝트의 WEB-INF/lib 디렉토리에 넣어줍니다.

3. BlazeDS의 설정파일인 services-config.xml 에 SpringAutowiringBootStrapService를 등록해 줍니다.

<?xml version="1.0" encoding="UTF-8"?>
<services-config>
   
<services>
       
<service-include file-path="remoting-config.xml" />
       
<service-include file-path="proxy-config.xml" />
       
<service-include file-path="messaging-config.xml" />
           
<service id="spring-autowiring-bootstrap-service"
               
class="flex.contrib.services.SpringAutowiringBootstrapService"/>
       
<default-channels>
           
<channel ref="my-amf"/>
       
</default-channels>
   
</services>


....

   
<factories>
       
<factory id="spring" class="flex.contrib.factories.flex.SpringFactory" />
   
</factories>
</services-config>


SpringAutowiringBootStrapService은 BlazeDS 로딩시에 모든 @RemotingDestination 어노테이션이 포함된 클래스를 등록합니다. 이것은 Spring Factory를 통해 동적으로 Spring의 Bean을 불러다 사용할 수 있음을 뜻합니다. 밑에 추가한 factory의 경우 id는 꼭 spring이어야 합니다.

4. 마지막으로 당신의 서비스 클래스에 @RemotingDestination 어노테이션을 붙여줍니다.
package flex.contrib.samples.mortgage;


import org.springframework.beans.factory.annotation.Autowired;
import flex.contrib.stereotypes.RemotingDestination;


@RemotingDestination(destination="mortgageService")
public class Mortgage {
   
@Autowired RateFinder rateFinder;
   
public void setRateFinder(RateFinder rateFinder) {
       
this.rateFinder = rateFinder;
   
}


    public double calculate(double amount) {
       
int term = 360; // 30 years
       
double rate = rateFinder.findRate();
       
return (amount*(rate/12)) / (1 - 1 /Math.pow((1 + rate/12), term));
   
}
}



5. 물론 Spring에서 component-scan과 annotation-config를 설정해 주는걸 잊지 말자고요.
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       
xmlns:context="http://www.springframework.org/schema/context"
       
xsi:schemaLocation="http://www.springframework.org/schema/beans
           
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
           
http://www.springframework.org/schema/context
           
http://www.springframework.org/schema/context/spring-context-2.5.xsd">


    <context:annotation-config/>
   
<context:component-scan base-package="flex.contrib.samples"/>
</beans>



6. Flex 에서는 다양한 방법의 Remote Object 통신방법으로 서버의 서비스에 직접 접근할 수 있게 됩니다.
var amfChannel:AMFChannel = new AMFChannel("my-amf", "http://localhost/messagebroker/amf");
var channelSet:ChannelSet = new ChannelSet();
channelSet
.addChannel(amfChannel);
   
var remoteObject:RemoteObject = new RemoteObject();
remoteObject
.channelSet = channelSet;
remoteObject
.destination = "mortgageService";
remoteObject
.addEventListener(ResultEvent.RESULT, resultHandler);
remoteObject
.addEventListener(FaultEvent.FAULT, faultHandler);
remoteObject
.calculate(5);


+. @RemotingDestination에서 지정한 destination이 Flex에서 지정하는 destination이 됩니다. 주의할점이 하나 있는데 web.xml의 contextConfigLocation 설정에서 정의한 컨텍스트의 Bean만 가져올 수 있습니다.

참고자료 : http://marceloverdijk.blogspot.com/2008/01/code-by-convention-with-flex-and-spring.html

 

 


:
Posted by 라면스프