Adobe Dreamweaver Forums



Last 10 THreads :         CreateODBCDate and cfqueryparam with cf_sql_date (Last Post : hannibalcanibal - Replies : 0 - Views : 1 )           »          Load bmp images in a flex app (Last Post : eholz1 - Replies : 0 - Views : 1 )           »          Problem with "Title" and DW CS4 (Last Post : Murray *ACE* - Replies : 1 - Views : 2 )           »          Snippet Pod Problems (Last Post : Pat@ffic - Replies : 2 - Views : 3 )           »          DDX generated PDF Table of Contents issue (Last Post : Flashm@n - Replies : 0 - Views : 1 )           »          Array of Queries (Last Post : ptrott - Replies : 3 - Views : 4 )           »          image alignment (Last Post : alexander glomba - Replies : 0 - Views : 1 )           »          Importing Iweb to Dreamweaver (Last Post : tllearner - Replies : 2 - Views : 3 )           »          How to I get an FLV Skin to display on external sites? (Last Post : QADesign - Replies : 0 - Views : 1 )           »          Spry menu bar with a different image for each item? (Last Post : bongalook - Replies : 0 - Views : 1 )           »         


User Info Statistics
Go Back   Adobe Dreamweaver Forums > Macromedia Software > Flex
 
Tags:



Reply
  #1 (permalink)  
Old 11-15-2008, 06:57 AM
yancaoshi
 
Posts: n/a
Diggs:
Default How to communicate between clients?

Hi all,

Of course it can be done with Flex after I saw the internet meeting room
application which is developed by Adobe. And my target is similar with that.
One of the client is the host which acts like an info center, while all other
clients can read/write data with the host. As far as I know, there is a
LocalConnection object. But those clients are located in different areas, how
can the share LocalConnection? Or is there another way to achieve my target?
Any tips and ideas are very appreciated. And the more detail the better.

Thanks and regards,
Felix:confused;



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-15-2008, 01:43 PM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: How to communicate between clients?


"yancaoshi" <webforumsuser@macromedia.com> wrote in message
news:gflre0$9sk$1@forums.macromedia.com...
> Hi all,
>
> Of course it can be done with Flex after I saw the internet meeting room
> application which is developed by Adobe. And my target is similar with
> that.
> One of the client is the host which acts like an info center, while all
> other
> clients can read/write data with the host. As far as I know, there is a
> LocalConnection object. But those clients are located in different areas,
> how
> can the share LocalConnection? Or is there another way to achieve my
> target?
> Any tips and ideas are very appreciated. And the more detail the better.


Google LiveCycle Data Services and BlazeDS.


Reply With Quote
  #3 (permalink)  
Old 11-15-2008, 02:43 PM
yancaoshi
 
Posts: n/a
Diggs:
Default Re: How to communicate between clients?

Hi,

Thanks for replying. I have read some documents of BlazeDS. Isn't it mainly
used as the mediator between Flex and Java? I don't want to store data to
server side or through database. If possible, I hope clients can talk directly
via peer2peer connection.
If you think BlazeDS can meet my requirement, would you please give me some
more keywords?

Thank you again!
yancaoshi

Reply With Quote


  #4 (permalink)  
Old 11-15-2008, 03:33 PM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: How to communicate between clients?


"yancaoshi" <webforumsuser@macromedia.com> wrote in message
news:gfmmou$fa7$1@forums.macromedia.com...
> Hi,
>
> Thanks for replying. I have read some documents of BlazeDS. Isn't it
> mainly
> used as the mediator between Flex and Java? I don't want to store data to
> server side or through database. If possible, I hope clients can talk
> directly
> via peer2peer connection.


I don't believe that you can do this without some sort of central data
repository.

> If you think BlazeDS can meet my requirement, would you please give me
> some
> more keywords?


Sorry, this isn't something I have much experience with.


Reply With Quote
  #5 (permalink)  
Old 11-20-2008, 03:43 PM
yancaoshi
 
Posts: n/a
Diggs:
Default Re: How to communicate between clients?

Any suggestion?
I still haven't found any feasible and convenient implementation.

Thanks all!
Reply With Quote
  #6 (permalink)  
Old 11-20-2008, 03:43 PM
yancaoshi
 
Posts: n/a
Diggs:
Default Re: How to communicate between clients?

Any suggestion?
I still haven't found any feasible and convenient implementation.

Thanks all!
Reply With Quote


  #7 (permalink)  
Old 11-20-2008, 04:23 PM
atta707
 
Posts: n/a
Diggs:
Default Re: How to communicate between clients?

You'll need a server. BlazeDS is open source free alternative to commercial and
more capable LiveCycle Data Services.

And BlazeDS is not *just* bridge between java and flex; it much more
especially with its near real time messaging. And that's what you're looking
for.

Read and run these demos:


http://coenraets.org/blog/2008/04/ya...lex-and-blazed
s/

http://www.adobe.com/devnet/flex/art...aboration.html

and lastly, hit this URL in two separate browsers:

http://coenraets.org/samples/flexmaps/flexmaps.html

login ans start playing!

ATTA

Reply With Quote
  #8 (permalink)  
Old 11-20-2008, 05:03 PM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: How to communicate between clients?


"yancaoshi" <webforumsuser@macromedia.com> wrote in message
news:gg403u$h9e$1@forums.macromedia.com...
> Any suggestion?
> I still haven't found any feasible and convenient implementation.


Suggest you adjust your requirement for "convenient" to "possible."

HTH;

Amy


Reply With Quote
  #9 (permalink)  
Old 11-20-2008, 06:33 PM
Ansury
 
Posts: n/a
Diggs:
Default Re: How to communicate between clients?

Flex (even AIR) clients can't do that yet. You'll need a server to do this. I
really hate this too, and hope Adobe provides this functionality at some point.
AIR at least should be able to listen for incoming connections!

There is a way to do this, but it's NOT convenient at all. You'd have to use
a bridge like Merapi or Artemis to interact with your own implementation of a
Java server. The Java server would listen for the Flex clients and so on.
This should be possible but it's not trivial.

So harass Adobe to enhance AIR. ^_^

Reply With Quote


  #10 (permalink)  
Old 11-21-2008, 02:24 AM
yancaoshi
 
Posts: n/a
Diggs:
Default Re: How to communicate between clients?

It seems that BlazeDS will be a good option and hope it won't involve too many
DB access before I read the documents.

Maybe somebody have experience on chatting application with Flex. Does it use
BlazeDS or any third party technology?

And how about LocalConnection? Is it a good solution if all the clients run in
a LAN?

I think this is a widely used topic and thanks for all repliers.

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 11:06 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Cheap Car Insurance - Compare Motor Insurance
Endsleigh Car Insurance Natwest Car Insurance
More Than Car Insurance Norwich Union Car Insurance
Prudential Car Insurance Zurich Car Insurance
Inactive Reminders By Mished.co.uk