Its worth noting that very often what is perceived as server-push is
actually implemented through some form of client-pull.  For instance,
in many enterprise message bus implementations, the client makes a
single blocking call which "hangs", but does so on an independant
thread.  When the event occurs, the servant returns control and
marshalls results to the waiting client.  From the outside this
appears the server "pushed" data to the client.  In reality the client
pulled it.

The reason I bring this up is that Flex is a great client to implement
just such a server-push approach with.  Since all <mx:HttpService/>
calls occur on their own client thread, you can easily implement
server-push style functionality with basically any kind of servant
implementation. 

We used to call this approach a "Blocking Registration".  

-- 
Dave Wolf
Cynergy Systems, Inc.
Adobe Flex Alliance Partner
http://www.cynergysystems.com
http://www.cynergysystems.com/blogs

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY






--- In [email protected], "arnold_charming"
<[EMAIL PROTECTED]> wrote:
>
> --- In [email protected], "Stefan Schmalhaus" <stefan@> wrote:
> >
> > --- In [email protected], "arnold_charming"
> > <arnold_charming@> wrote:
> >  
> > > Can I also push data? Because till now I was justing using pull
> > mechanism.
> > 
> > AMFPHP works in both directions. Please take a look at the AMFPHP
> > documentation for details:
> > 
> > http://www.amfphp.org/docs/
> > 
> > 
> > Stefan
> >
> 
> 
> I've looked and looked but can't seem to find anything about data
> push. I'm going to use data push in application because time to time
> my application will send some messages to all current users of
> application.
>






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to