ADEP Data Services for JEE 4.6
概要(PDF)
P12
AMFのパフォーマンスと帯域幅については必見
これをみたらAMFしかないですよ。
P13
AMFStreamingとRTMPの比較
RTMP一択!
P22
構成図
P23
One Tool, One Language, One Codebase
With Full Data Services Support
P29
クライアントと対応プロトコルとエンコードと機能についてのマトリクス
P35
Native Client SDK’s Demo
Flex and native HTML5, iOS, Android and Java client apps using Data Services:
http://www.youtube.com/watch?v=-1wg7shxNbE
最新バージョンに対応している
Adobe Flash Builder 4.6
Flex 4.6
AIR
AIR Mobile Support
ネイティブモバイルアプリのサポート
HTML5/JavaScript Client SDK
Apple iOS Client SDK
こんな感じでサーバ設定だー!
#import <DSClient/DSClient.h> DSChannel *amfChannel = [[DSChannel alloc] initWithId:@"my-nio-amf" url:@"h!p://lcds-test:2884/nioamf"]; DSChannel *rtmpChannel = [[DSChannel alloc] initWithId:@"my-rtmp" url:@"rtmp://lcds-test:1935"]; DSChannelSet *channelSet = [DSChannelSet channelSetWithChannels:[NSArray arrayWithObjects:rtmpChannel, amfChannel, nil]];
こんな感じでサーバにメッセージ飛ばすだー!
// Create RemoteObject.
DSRemoteObject* remoteObject = [DSRemoteObject remoteObjectWithDestinationId:@"EchoService"];
// Set its ChannelSet.
[remoteObject setChannelSet:channelSet];
// Make the remoting call.
[remoteObject invoke:@"echo” args:[NSArray arrayWithObject:@"Hello World"] delegate:self
selector:@selector(echoDidComplete:)];
. . .
-(void)echoDidComplete:(DSAsyncResponder *)responder
{
DSAcknowledgeMessage *msg = [responder getResult];
id result = msg.body;
}
Java and Google Android Client SDK
詳しくは、こちら
http://labs.adobe.com/technologies/adep_dataservices_jee/features.html