RE: [flexcoders] Flex Data Services Question, Java backend

2007-03-10 Thread Allen Riddle
You could use Flex's JMS messaging capabilities. Check out the
messaging-config.xml and check out the  component. I still
haven't used the Data Management services with Data Services, but if the
new data is coming from a source other than your Flex app, I think using
the Flex messaging may be the way.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of bruce1976
Sent: Friday, March 09, 2007 4:48 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex Data Services Question, Java backend

 

Hi,

I want my Flex clients to be notified when new data is available. The
data is read-only, so the Flex clients won't be updating it, they just
need to display it. When the data is ready to be viewed, I have a Java
backend that can send an HTTP post to any endpoint, but I'm having
trouble determining which FDS component I should use.

Of course, the Flex client can't receive the POST, and I don't mind
putting a mini-HTTP server on the same tier as the FDS, but I'm not
sure how to notify the clients.

Does anyone have any suggestions?

Thanks,

Bruce

 



RE: [flexcoders] Flex Data Services Question, Java backend

2007-03-09 Thread Dimitrios Gianninas
Within FDS there is a Java class called flex.data.DataServiceTransaction which 
will allow u from Java to update your Flex clients. I haven't used it yet, but 
plan too, within the FDS examples it is used, so look it up.

Dimitrios Gianninas
Optimal Payments Inc.



-Original Message-
From: flexcoders@yahoogroups.com on behalf of bruce1976
Sent: Fri 3/9/2007 5:47 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex Data Services Question, Java backend
 
Hi,

I want my Flex clients to be notified when new data is available. The
data is read-only, so the Flex clients won't be updating it, they just
need to display it. When the data is ready to be viewed, I have a Java
backend that can send an HTTP post to any endpoint, but I'm having
trouble determining which FDS component I should use.

Of course, the Flex client can't receive the POST, and I don't mind
putting a mini-HTTP server on the same tier as the FDS, but I'm not
sure how to notify the clients.

Does anyone have any suggestions?

Thanks,

Bruce


-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.

<>