Re: [flexcoders] Flex Remoting Options - Any Opinions?

2007-11-16 Thread Jens Halm

  
  
  
  
  

  Hello,
  I am just starting to use graniteDS and starting to likie it. My -ONLY-
  problem was that, I cannot make it work from within my flexbuilder
  environment.

  I want to be able to debug my flexbuilder application talking to my Java

  All I want to do is have my Flex client to communicate with my Java
  backend.
  Due to licensing restrictions, LCDS won't be an option for us. So far the
  biggest contenders are:
 
  1. Granite Data Services
  2. OpenAMF
  3. WebORB
  4. Red5

Btw: if you want AMF3 support you can rule out OpenAMF and WebORB
which only support AMF0.

Furthermore, since early November there is a new option: Cinnamon.
http://www.spicefactory.org/cinnamon/.

It's a bit different than Granite since it does not use the
RemoteObject API (so Cinnamon can also be used in pure AS3 projects
without Flex). Cinnamon has full AMF3 support, optional integration
with Spring configuration and a lot of flexibility for mapping AS3
classes to Java classes.


Jens Halm
Spicefactory



Re: SPAM-LOW: Re: [flexcoders] Flex Remoting Options - Any Opinions?

2007-11-16 Thread Jeffry Houser


Jens Halm wrote:
 
   Hello,
   I am just starting to use graniteDS and starting to likie it. My -ONLY-
   problem was that, I cannot make it work from within my flexbuilder
   environment.
 
   I want to be able to debug my flexbuilder application talking to my Java
 
   All I want to do is have my Flex client to communicate with my Java
   backend.
   Due to licensing restrictions, LCDS won't be an option for us. So far the
   biggest contenders are:
  
   1. Granite Data Services
   2. OpenAMF
   3. WebORB
   4. Red5
 
 Btw: if you want AMF3 support you can rule out OpenAMF and WebORB
 which only support AMF0.

  I'm pretty sure that the update for WebORB for Java (Due out next week 
I understand) will support AMF3.  However, such updates are not yet 
reflected on the WebORB web site, yet.

http://www.themidnightcoders.com/licensing/



-- 
Jeffry Houser, Technical Entrepreneur, Software Developer, Author, 
Recording Engineer
AIM: Reboog711  | Phone: 1-203-379-0773
--
My Company: http://www.dot-com-it.com
My Podcast: http://www.theflexshow.com
My Blog: http://www.jeffryhouser.com



RE: [flexcoders] Flex Remoting Options - Any Opinions?

2007-11-15 Thread Samuel R. Neff

Why not? Is it 'cause your app runs from the file system within flexbuilder
and the web host in production/test?  If that's the case then move to Flex
Builder 3 and set up your project with the right server-side bindings, then
when you run/debug from FlexBuilder it will invoke it through the web
server.  Makes development mimic production better.

HTH,

Sam 


---
We're Hiring! Seeking a passionate developer to join our team building Flex
based products. Position is in the Washington D.C. metro area. If interested
contact [EMAIL PROTECTED]
 
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of mattmadhavan
Sent: Thursday, November 15, 2007 1:49 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex Remoting Options - Any Opinions?


Hello,
I am just starting to use graniteDS and starting to likie it. My -ONLY-
problem was that, I cannot make it work from within my flexbuilder
environment.

I want to be able to debug my flexbuilder application talking to my Java
side. 

Can someone please give me steps doing this - I would greatly appreciate it.


Thanks
Matt



RE: [flexcoders] Flex Remoting Options - Any Opinions?

2007-11-15 Thread mattmadhavan

Sam,
Do you mind sending me the step by step instructions? I just cannot make it
work.

I have two project - 1. Java web project for the java server side (Say
MyWebApp). 2. A flex project with its output (bin) externalized to
MyWebApp/webroot(in the same level as WEB-INF).

And I cannot make my Flex talk to my server. If I deploy the app like the
way I downloaded it works fine!
But I donot get the benefits of using my Flexbuilder!

Any help will be appreciated.

Thanks
Matt



Samuel R. Neff wrote:
 
 
 Why not? Is it 'cause your app runs from the file system within
 flexbuilder
 and the web host in production/test?  If that's the case then move to Flex
 Builder 3 and set up your project with the right server-side bindings,
 then
 when you run/debug from FlexBuilder it will invoke it through the web
 server.  Makes development mimic production better.
 
 HTH,
 
 Sam 
 
 
 ---
 We're Hiring! Seeking a passionate developer to join our team building
 Flex
 based products. Position is in the Washington D.C. metro area. If
 interested
 contact [EMAIL PROTECTED]
  
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of mattmadhavan
 Sent: Thursday, November 15, 2007 1:49 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Flex Remoting Options - Any Opinions?
 
 
 Hello,
 I am just starting to use graniteDS and starting to likie it. My -ONLY-
 problem was that, I cannot make it work from within my flexbuilder
 environment.
 
 I want to be able to debug my flexbuilder application talking to my Java
 side. 
 
 Can someone please give me steps doing this - I would greatly appreciate
 it.
 
 
 Thanks
 Matt
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Flex-Remoting-Options---Any-Opinions--tf4635386.html#a13780055
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] Flex Remoting Options - Any Opinions?

2007-11-15 Thread mattmadhavan

Hello,
I am just starting to use graniteDS and starting to likie it. My -ONLY-
problem was that, I cannot make it work from within my flexbuilder
environment.

I want to be able to debug my flexbuilder application talking to my Java
side. 

Can someone please give me steps doing this - I would greatly appreciate it. 

Thanks
Matt



bruce76 wrote:
 
 Hi all,
 
 All I want to do is have my Flex client to communicate with my Java
 backend.
 Due to licensing restrictions, LCDS won't be an option for us. So far the
 biggest contenders are:
 
 1. Granite Data Services
 2. OpenAMF
 3. WebORB
 4. Red5
 
 Does anyone have any strong opinions, suggestions, or biases on either of
 these solutions?
 
 Thanks,
 
 Bruce
 
 

-- 
View this message in context: 
http://www.nabble.com/Flex-Remoting-Options---Any-Opinions--tf4635386.html#a13778916
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Flex remoting to external webapps

2007-11-09 Thread gigondamien

Hi everyone,

I'd like to make an flex application communicating through remoteObjects
with other webapps. Is it possible ?
I think the config should look like :

1/ In service-config.xml :

channel-definition id=my-amf-apple
class=mx.messaging.channels.AMFChannel
 endpoint uri=http://AppleWebAppURL/messagebroker/amf
http://AppleWebAppURL/messagebroker/amf 
class=flex.messaging.endpoints.AMFEndpoint/
 properties
 polling-enabledfalse/polling-enabled
 /properties
 /channel-definition

 channel-definition id=my-amf-orange
class=mx.messaging.channels.AMFChannel
 endpoint uri=http://OrangeWebAppURL/messagebroker/amf
http://OrangeWebAppURL/messagebroker/amf 
class=flex.messaging.endpoints.AMFEndpoint/
 properties
 polling-enabledfalse/polling-enabled
 /properties
 /channel-definition

2/ In remoting-config.xml :

destination id=appleService channels=my-amf-apple
 properties
 sourceappleServiceImpl/source
 scopeapplication/scope
 /properties
/destination

destination id=orangeService channels=my-amf-orange
 properties
 sourceorangeServiceImpl/source
 scopeapplication/scope
 /properties
/destination



But I wasn't able to make it work. Any ideas ?

Damien













[flexcoders] flex remoting with cf7 running on weblogic

2007-10-16 Thread Derrick Anderson
has anybody on this list figured out how to get flex remoting (remoteObject)
working on this config?  the /flex2gateway is not working and the usual
fixes don't seem to work or are not applicable.  do you have to have JRun to
make that work??


Re: [flexcoders] flex remoting with cf7 running on weblogic

2007-10-16 Thread Tom Chiverton
On Tuesday 16 Oct 2007, [EMAIL PROTECTED] wrote:
 and the usual fixes don't seem to work or are not applicable.  do you have
 to have JRun to make that work??

Nope, but you do need CF 7.0.2.

-- 
Tom Chiverton. Are you a great Flex programmer, who knows Cairngorm, and has 
done some ColdFusion work ? Would you like to work for a top 30 law firm in 
Manchester, UK ? Are not an agency ? If yes, send email !



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office.  Any reference to a partner in 
relation to Halliwells LLP means a member of Halliwells LLP.  Regulated by The 
Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.


--
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/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 


Re: [flexcoders] flex remoting with cf7 running on weblogic

2007-10-16 Thread Derrick Anderson
ok, that's good to know.  do you have any ideas of things to check?  from
what i can tell- this should be working, but my /flex2gateway still throws a
404.

On 10/16/07, Tom Chiverton [EMAIL PROTECTED] wrote:

 On Tuesday 16 Oct 2007, [EMAIL PROTECTED] wrote:
  and the usual fixes don't seem to work or are not applicable.  do you
 have
  to have JRun to make that work??

 Nope, but you do need CF 7.0.2.

 --
 Tom Chiverton. Are you a great Flex programmer, who knows Cairngorm, and
 has
 done some ColdFusion work ? Would you like to work for a top 30 law firm
 in
 Manchester, UK ? Are not an agency ? If yes, send email !

 

 This email is sent for and on behalf of Halliwells LLP.

 Halliwells LLP is a limited liability partnership registered in England
 and Wales under registered number OC307980 whose registered office address
 is at St James's Court Brown Street Manchester M2 2JF.  A list of members is
 available for inspection at the registered office.  Any reference to a
 partner in relation to Halliwells LLP means a member of Halliwells
 LLP.  Regulated by The Solicitors Regulation Authority.

 CONFIDENTIALITY

 This email is intended only for the use of the addressee named above and
 may be confidential or legally privileged.  If you are not the addressee you
 must not read it and must not use any information contained in nor copy it
 nor inform any person other than Halliwells LLP or the addressee of its
 existence or contents.  If you have received this email in error please
 delete it and notify Halliwells LLP IT Department on 0870 365 8008.

 For more information about Halliwells LLP visit www.halliwells.com.


 --
 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






Re: [flexcoders] flex remoting with cf7 running on weblogic

2007-10-16 Thread Derrick Anderson
and yes, i have 7.0.2 with flex integration turned on

On 10/16/07, Derrick Anderson [EMAIL PROTECTED] wrote:

 ok, that's good to know.  do you have any ideas of things to check?  from
 what i can tell- this should be working, but my /flex2gateway still throws a
 404.

 On 10/16/07, Tom Chiverton [EMAIL PROTECTED] wrote:
 
  On Tuesday 16 Oct 2007, [EMAIL PROTECTED] wrote:
   and the usual fixes don't seem to work or are not applicable.  do you
  have
   to have JRun to make that work??
 
  Nope, but you do need CF 7.0.2.
 
  --
  Tom Chiverton. Are you a great Flex programmer, who knows Cairngorm, and
  has
  done some ColdFusion work ? Would you like to work for a top 30 law firm
  in
  Manchester, UK ? Are not an agency ? If yes, send email !
 
  
 
  This email is sent for and on behalf of Halliwells LLP.
 
  Halliwells LLP is a limited liability partnership registered in England
  and Wales under registered number OC307980 whose registered office address
  is at St James's Court Brown Street Manchester M2 2JF.  A list of members is
  available for inspection at the registered office.  Any reference to a
  partner in relation to Halliwells LLP means a member of Halliwells
  LLP.  Regulated by The Solicitors Regulation Authority.
 
  CONFIDENTIALITY
 
  This email is intended only for the use of the addressee named above and
  may be confidential or legally privileged.  If you are not the addressee you
  must not read it and must not use any information contained in nor copy it
  nor inform any person other than Halliwells LLP or the addressee of its
  existence or contents.  If you have received this email in error please
  delete it and notify Halliwells LLP IT Department on 0870 365 8008.
 
  For more information about Halliwells LLP visit www.halliwells.com.
 
 
  --
  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
 
 
 
 



Re: [flexcoders] flex remoting with cf7 running on weblogic

2007-10-16 Thread Tom Chiverton
On Tuesday 16 Oct 2007, [EMAIL PROTECTED] wrote:
 ok, that's good to know.  do you have any ideas of things to check?  from
 what i can tell- this should be working, but my /flex2gateway still throws

It must be missing from your mappings, at a guess - WebLogic doesn't know the 
CF WAR should serve the /flex2gateway url.

-- 
Tom Chiverton. Are you a great Flex programmer, who knows Cairngorm, and has 
done some ColdFusion work ? Would you like to work for a top 30 law firm in 
Manchester, UK ? Are not an agency ? If yes, send email !



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office.  Any reference to a partner in 
relation to Halliwells LLP means a member of Halliwells LLP.  Regulated by The 
Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.


--
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/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 


[flexcoders] Flex Remoting Options - Any Opinions?

2007-10-16 Thread Bruce Hopkins
Hi all,

All I want to do is have my Flex client to communicate with my Java backend.
Due to licensing restrictions, LCDS won't be an option for us. So far the
biggest contenders are:

1. Granite Data Services
2. OpenAMF
3. WebORB
4. Red5

Does anyone have any strong opinions, suggestions, or biases on either of
these solutions?

Thanks,

Bruce


Re: [flexcoders] flex remoting with cf7 running on weblogic

2007-10-16 Thread Derrick Anderson
is it not the web.xml for my application that determines that?

i have the following in my web.xml file:

!-- start flex 2 --
 servlet-mapping id=macromedia_mapping_0
servlet-nameMessageBrokerServlet/servlet-name
url-pattern/flex2gateway/*/url-pattern
/servlet-mapping
 !-- end flex 2 --

i'm not sure what else to do to make it recognize the url, is this a
weblogic problem or a CF problem??

On 10/16/07, Tom Chiverton [EMAIL PROTECTED] wrote:

 On Tuesday 16 Oct 2007, [EMAIL PROTECTED] wrote:
  ok, that's good to know.  do you have any ideas of things to
 check?  from
  what i can tell- this should be working, but my /flex2gateway still
 throws

 It must be missing from your mappings, at a guess - WebLogic doesn't know
 the
 CF WAR should serve the /flex2gateway url.

 --
 Tom Chiverton. Are you a great Flex programmer, who knows Cairngorm, and
 has
 done some ColdFusion work ? Would you like to work for a top 30 law firm
 in
 Manchester, UK ? Are not an agency ? If yes, send email !

 

 This email is sent for and on behalf of Halliwells LLP.

 Halliwells LLP is a limited liability partnership registered in England
 and Wales under registered number OC307980 whose registered office address
 is at St James's Court Brown Street Manchester M2 2JF.  A list of members is
 available for inspection at the registered office.  Any reference to a
 partner in relation to Halliwells LLP means a member of Halliwells
 LLP.  Regulated by The Solicitors Regulation Authority.

 CONFIDENTIALITY

 This email is intended only for the use of the addressee named above and
 may be confidential or legally privileged.  If you are not the addressee you
 must not read it and must not use any information contained in nor copy it
 nor inform any person other than Halliwells LLP or the addressee of its
 existence or contents.  If you have received this email in error please
 delete it and notify Halliwells LLP IT Department on 0870 365 8008.

 For more information about Halliwells LLP visit www.halliwells.com.


 --
 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






Re: [flexcoders] flex remoting with cf7 running on weblogic

2007-10-16 Thread Derrick Anderson
actually, i checked the BEA admin and in the servlets section i see

MessageBrokerServlet  /flex2gateway/
myserverhttp://localhost:7001/console/actions/mbean/EditMBeanAction?reloadNav=falseMBean=mydomain%3AName%3Dmyserver%2CType%3DServer
0 0
so weblogic does recognize it...

On 10/16/07, Derrick Anderson [EMAIL PROTECTED] wrote:

 is it not the web.xml for my application that determines that?

 i have the following in my web.xml file:

 !-- start flex 2 --
  servlet-mapping id=macromedia_mapping_0
 servlet-nameMessageBrokerServlet/servlet-name
 url-pattern/flex2gateway/*/url-pattern
 /servlet-mapping
  !-- end flex 2 --

 i'm not sure what else to do to make it recognize the url, is this a
 weblogic problem or a CF problem??

 On 10/16/07, Tom Chiverton [EMAIL PROTECTED] wrote:
 
  On Tuesday 16 Oct 2007, [EMAIL PROTECTED] wrote:
   ok, that's good to know.  do you have any ideas of things to
  check?  from
   what i can tell- this should be working, but my /flex2gateway still
  throws
 
  It must be missing from your mappings, at a guess - WebLogic doesn't
  know the
  CF WAR should serve the /flex2gateway url.
 
  --
  Tom Chiverton. Are you a great Flex programmer, who knows Cairngorm, and
  has
  done some ColdFusion work ? Would you like to work for a top 30 law firm
  in
  Manchester, UK ? Are not an agency ? If yes, send email !
 
  
 
  This email is sent for and on behalf of Halliwells LLP.
 
  Halliwells LLP is a limited liability partnership registered in England
  and Wales under registered number OC307980 whose registered office address
  is at St James's Court Brown Street Manchester M2 2JF.  A list of members is
  available for inspection at the registered office.  Any reference to a
  partner in relation to Halliwells LLP means a member of Halliwells
  LLP.  Regulated by The Solicitors Regulation Authority.
 
  CONFIDENTIALITY
 
  This email is intended only for the use of the addressee named above and
  may be confidential or legally privileged.  If you are not the addressee you
  must not read it and must not use any information contained in nor copy it
  nor inform any person other than Halliwells LLP or the addressee of its
  existence or contents.  If you have received this email in error please
  delete it and notify Halliwells LLP IT Department on 0870 365 8008.
 
  For more information about Halliwells LLP visit www.halliwells.com.
 
 
  --
  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
 
 
 
 



Re: [flexcoders] flex remoting with cf7 running on weblogic

2007-10-16 Thread Derrick Anderson
ok, i had a guy that actually knows weblogic come over and set me
straight...

i have to call the flex gateway like
http://{ipaddress_or_domain}:7100/{appName}/flex2gateway/

and i get the blank page i've been waiting for..

but this brings up another problem, we are not going to want to be making
requests from the client app to the app server on port 7100, but instead we
need the flex2gateway to be passed thru port 80/IIS for security reasons.
so just like i have .cfm -- iisproxy.dll, i need */flex2gateway/* --
iisproxy.dll so I do not have to specify appname/port etc...

any ideas?

On 10/16/07, Derrick Anderson [EMAIL PROTECTED] wrote:

 actually, i checked the BEA admin and in the servlets section i see

 MessageBrokerServlet  /flex2gateway/ 
 myserverhttp://localhost:7001/console/actions/mbean/EditMBeanAction?reloadNav=falseMBean=mydomain%3AName%3Dmyserver%2CType%3DServer
 0 0
 so weblogic does recognize it...

 On 10/16/07, Derrick Anderson [EMAIL PROTECTED]  wrote:
 
  is it not the web.xml for my application that determines that?
 
  i have the following in my web.xml file:
 
  !-- start flex 2 --
   servlet-mapping id=macromedia_mapping_0
  servlet-nameMessageBrokerServlet/servlet-name
  url-pattern/flex2gateway/*/url-pattern
  /servlet-mapping
   !-- end flex 2 --
 
  i'm not sure what else to do to make it recognize the url, is this a
  weblogic problem or a CF problem??
 
  On 10/16/07, Tom Chiverton  [EMAIL PROTECTED] wrote:
  
   On Tuesday 16 Oct 2007, [EMAIL PROTECTED] wrote:
ok, that's good to know.  do you have any ideas of things to
   check?  from
what i can tell- this should be working, but my /flex2gateway still
   throws
  
   It must be missing from your mappings, at a guess - WebLogic doesn't
   know the
   CF WAR should serve the /flex2gateway url.
  
   --
   Tom Chiverton. Are you a great Flex programmer, who knows Cairngorm,
   and has
   done some ColdFusion work ? Would you like to work for a top 30 law
   firm in
   Manchester, UK ? Are not an agency ? If yes, send email !
  
   
  
   This email is sent for and on behalf of Halliwells LLP.
  
   Halliwells LLP is a limited liability partnership registered in
   England and Wales under registered number OC307980 whose registered office
   address is at St James's Court Brown Street Manchester M2 2JF.  A list of
   members is available for inspection at the registered office.  Any 
   reference
   to a partner in relation to Halliwells LLP means a member of Halliwells
   LLP.  Regulated by The Solicitors Regulation Authority.
  
   CONFIDENTIALITY
  
   This email is intended only for the use of the addressee named above
   and may be confidential or legally privileged.  If you are not the 
   addressee
   you must not read it and must not use any information contained in nor 
   copy
   it nor inform any person other than Halliwells LLP or the addressee of its
   existence or contents.  If you have received this email in error please
   delete it and notify Halliwells LLP IT Department on 0870 365 8008.
  
   For more information about Halliwells LLP visit www.halliwells.com.
  
  
   --
   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
  
  
  
  
 



[flexcoders] Flex Remoting over SSL - Coldfusion 8

2007-10-15 Thread Rick Root
Posted this to another list but haven't solved this problem yet... it
really bugs me that this is so poorly documented.

I have some Flex apps running that were running with a Coldfusion 7
backend using SSL.  To do this, I merely modified the
services-config.xml to use https instead of http, and changed the
channel classes to the secure versions of those classes.  All was
well.

Now that I've upgraded to Coldfusion 8, all my flex apps are sending
their gateway requests over https.  This is normal, of course, because
I hadn't changed the config files yet.

So I looked at the config files and I see there is now a
services-config.xml and a remoting-config.xml.  The
services-config.xml contains channel definitions for both ssl and
non-SSL (this is new)... the destinations are defined in
remoting-config.xml.

So I added a new destination called ColdFusionSSL - looks like this:

destination id=ColdFusionSSL
channels
channel ref=my-cfamf-secure/
/channels
properties
source*/source
!-- define the resolution rules and access level of the
cfc being invoked --
access
!-- Use the ColdFusion mappings to find CFCs, by
default only CFC files under your webroot can be found. --
use-mappingsfalse/use-mappings
!-- allow public and remote or just remote
methods to be invoked --
method-access-levelremote/method-access-level
/access

property-case
!-- cfc property names --
force-cfc-lowercasefalse/force-cfc-lowercase
!-- Query column names --
force-query-lowercasefalse/force-query-lowercase
!-- struct keys --
force-struct-lowercasefalse/force-struct-lowercase
/property-case
/properties
/destination

It's just a copy of the ColdFusion destination, except it refers to
the secure channel.  The secure channel is defined in the
services-config.xml and was not changed.  This is the default from
CF8...

channel-definition id=my-cfamf-secure
class=mx.messaging.channels.SecureAMFChannel
endpoint
uri=https://{server.name}:{server.port}{context.root}/flex2gateway/cfamfsecure;
class=flex.messaging.endpoints.SecureAMFEndpoint/
properties
polling-enabledfalse/polling-enabled
serialization
instantiate-typesfalse/instantiate-types
/serialization
/properties
/channel-definition

I changed the destination of my mx:RemoteObject tags to refer to
this new destination, compiled, and ran.

No luck.  I get the following error message:

Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed:
url: 'https://advanceweb.ads.duke.edu/flex2gateway/cfamfsecure'

I set the logging level to Debug and the following log entries appeared:

[Flex] FlexSession created with id
'a430990913ea13bb4ad595c1936a7a554258TR' for an Http-based client
connection.
[Flex] Channel endpoint my-cfamf-secure received request.
[Flex] Deserializing AMF/HTTP request
Version: 3
  (Message #0 targetURI=null, responseURI=/1)
(Array #0)
  [0] = (Typed Object #0 'flex.messaging.messages.CommandMessage')
operation = 5
correlationId = 
messageId = 987088B3-4172-5E89-C9BA-A5C58325ABE9
body = (Object #1)
clientId = null
timeToLive = 0
headers = (Object #2)
  DSId = nil
timestamp = 0
destination = 

[Flex] Executed command: (default service)
  commandMessage: Flex Message (flex.messaging.messages.CommandMessage)
operation = client_ping
clientId = D9B7365E-821B-0933-EB49-0778BC185020
correlationId =
destination =
messageId = 987088B3-4172-5E89-C9BA-A5C58325ABE9
timestamp = 1192487125922
timeToLive = 0
body = {}
hdr(DSId) = nil
hdr(DSEndpoint) = my-cfamf-secure
  replyMessage: Flex Message (flex.messaging.messages.AcknowledgeMessage)
clientId = D9B7365E-821B-0933-EB49-0778BC185020
correlationId = 987088B3-4172-5E89-C9BA-A5C58325ABE9
destination = null
messageId = D9B7365E-822E-51FF-4E91-C20D589B541F
timestamp = 1192487125922
timeToLive = 0
body = null
hdr(DSId) = D9B7365E-820A-23DC-E6BB-A423E671BF99

[Flex] Serializing AMF/HTTP response
Version: 3
  (Message #0 targetURI=/1/onResult, responseURI=)
(Typed Object #0 'flex.messaging.messages.AcknowledgeMessage')
  timestamp = 1.192487125922E12
  headers = (Object #1)
DSId = D9B7365E-820A-23DC-E6BB-A423E671BF99
  body = null
  correlationId = 987088B3-4172-5E89-C9BA-A5C58325ABE9
  messageId = D9B7365E-822E-51FF-4E91-C20D589B541F
  timeToLive = 0.0
  clientId = D9B7365E-821B-0933-EB49-0778BC185020
  destination = null



Can anyone help me here?  Why can't I get my flex apps to send the
gateway requests over https?

Thanks.

Rick Root


Re: [flexcoders] Flex Remoting

2007-09-15 Thread Giles Roadnight
Great, that looks very helpful. Thanks a lot

On 9/14/07, Jeremy French [EMAIL PROTECTED] wrote:

   Giles,

 This should help you out a little.  
 http://www.frenches.com/blog/index.cfm/2007/5/7/Flex-Coldfusion--Dont-make-me-have-to-separate-you-two



 On 9/14/07, Giles Roadnight [EMAIL PROTECTED] wrote:
 
Hi Guys
 
  I've started looking into Flex Remoting again. I looked into this a
  while ago but didn't get very far. I gave up when I realised that the
  production server here CF 7.1 so Flex Remoting wouldn't work anyway.
 
  I'm now pretty confident that I'll be able to updrage production to CF
  7.2 so now I want to get my flex remoting working.
 
  I know the basics of how it's supposed to work, you create a new
  project and point it at the web-inf/flex directory and it builds an
  xml file for you.
 
  I've got 2 problems with that. For a start I already have a large
  project built and don't really want to re-start the project just to
  get the wizard at the start to set up the xml for me.
  Is there any way of converting an existing non-CF remoting project
  into a CF remoting one?
 
  My second problem is that I only have FTP access to the dev box where
  CF runs so I can't point flex at the web-inf/flex directory.
  How do I get round this?
 
  I hope someone can help.
 
  Thanks
 
  Giles.
 
 
  



[flexcoders] Flex Remoting

2007-09-14 Thread Giles Roadnight
Hi Guys

I've started looking into Flex Remoting again. I looked into this a
while ago but didn't get very far. I gave up when I realised that the
production server here CF 7.1 so Flex Remoting wouldn't work anyway.

I'm now pretty confident that I'll be able to updrage production to CF
7.2 so now I want to get my flex remoting working.

I know the basics of how it's supposed to work, you create a new
project and point it at the web-inf/flex directory and it builds an
xml file for you.

I've got 2 problems with that. For a start I already have a large
project built and don't really want to re-start the project just to
get the wizard at the start to set up the xml for me.
Is there any way of converting an existing non-CF remoting project
into a CF remoting one?

My second problem is that I only have FTP access to the dev box where
CF runs so I can't point flex at the web-inf/flex directory.
How do I get round this?

I hope someone can help.

Thanks

Giles.



Re: SPAM-LOW: [flexcoders] Flex Remoting

2007-09-14 Thread Jeffry Houser

Giles Roadnight wrote:
 
 Is there any way of converting an existing non-CF remoting project
 into a CF remoting one?

  Bring up project properties and add the services config compiler 
argument.  Something like this:

-services C:\CFusionMX7\wwwroot\WEB-INF\flex\services-config.xml

 My second problem is that I only have FTP access to the dev box where
 CF runs so I can't point flex at the web-inf/flex directory.
 How do I get round this?

  With the default install you should have no problem moving from one 
services config file to another; so just point your local project to the 
local services config file.

  If changes have been made remotely you might be out of luck.

-- 
Jeffry Houser, Technical Entrepreneur, Software Developer, Author, 
Recording Engineer
AIM: Reboog711  | Phone: 1-203-379-0773
--
My Company: http://www.dot-com-it.com
My Podcast: http://www.theflexshow.com
My Blog: http://www.jeffryhouser.com



Re: [flexcoders] Flex Remoting

2007-09-14 Thread hua waveland
Hello Giles,
for you second question, you can setup channels at run time


// setup coldfusion AMFChannel
  private function setupCFChannel():void{
cSet = new ChannelSet();
var customChannel:Channel = new AMFChannel(my-cfamf,
http://yourcfservername/flex2gateway/;);
// Add the Channel to the ChannelSet.
cSet.addChannel(customChannel);
myService.channelSet = cSet;
  }

mx:RemoteObject
id=myService
destination=ColdFusion
source=cfc.testGateway
showBusyCursor=true

mx:method name=getAll
  result=handleResult(event)
  fault=Alert.show(event.fault.message) /

/mx:RemoteObject


hope this helps.

hua

On 9/14/07, Giles Roadnight [EMAIL PROTECTED] wrote:


 Hi Guys

  I've started looking into Flex Remoting again. I looked into this a
  while ago but didn't get very far. I gave up when I realised that the
  production server here CF 7.1 so Flex Remoting wouldn't work anyway.

  I'm now pretty confident that I'll be able to updrage production to CF
  7.2 so now I want to get my flex remoting working.

  I know the basics of how it's supposed to work, you create a new
  project and point it at the web-inf/flex directory and it builds an
  xml file for you.

  I've got 2 problems with that. For a start I already have a large
  project built and don't really want to re-start the project just to
  get the wizard at the start to set up the xml for me.
  Is there any way of converting an existing non-CF remoting project
  into a CF remoting one?

  My second problem is that I only have FTP access to the dev box where
  CF runs so I can't point flex at the web-inf/flex directory.
  How do I get round this?

  I hope someone can help.

  Thanks

  Giles.


Re: [flexcoders] Flex Remoting

2007-09-14 Thread Jeremy French
Giles,

This should help you out a little.
http://www.frenches.com/blog/index.cfm/2007/5/7/Flex-Coldfusion--Dont-make-me-have-to-separate-you-two


On 9/14/07, Giles Roadnight [EMAIL PROTECTED] wrote:

   Hi Guys

 I've started looking into Flex Remoting again. I looked into this a
 while ago but didn't get very far. I gave up when I realised that the
 production server here CF 7.1 so Flex Remoting wouldn't work anyway.

 I'm now pretty confident that I'll be able to updrage production to CF
 7.2 so now I want to get my flex remoting working.

 I know the basics of how it's supposed to work, you create a new
 project and point it at the web-inf/flex directory and it builds an
 xml file for you.

 I've got 2 problems with that. For a start I already have a large
 project built and don't really want to re-start the project just to
 get the wizard at the start to set up the xml for me.
 Is there any way of converting an existing non-CF remoting project
 into a CF remoting one?

 My second problem is that I only have FTP access to the dev box where
 CF runs so I can't point flex at the web-inf/flex directory.
 How do I get round this?

 I hope someone can help.

 Thanks

 Giles.

 



[flexcoders] Flex Remoting and complex objects

2007-06-15 Thread khmerang
Hi all,
I'm beginner with Flex, but have quite a lot experience with .Net. We
have been testing to move some complicated UI to Flex using Fluorine
as the remoting host. Almost everything seems to be working fine, but
sending complex objects from Flex seems to have some serious issues.

We have value objects that contain nested lists, for example:

Project
+ Sections : ListProjectSection 

ProjectSection
+ Assets : ListAsset

Asset
+ AvailableColors : ListColor

These objects are received by Flex (all generic lists are converted to
ArrayCollections) just fine, but I am getting an error when trying to
send the object back to the host:

TypeError: Error #1034: Type Coercion failed: cannot convert
[EMAIL PROTECTED] to mx.messaging.messages.IMessage.

As a breakpoint inside Fluorine service will not trigger, I am
expecting that the problem happens inside Flex. Has anybody experience
with objects like this? We are using Cairngorm in Flex, could that be
an issue? Or do you think the problem would be with Fluorine (haven't
tested with WebOrb)?

Any ideas appreciated,
Miika



RE: [flexcoders] Flex Remoting and complex objects

2007-06-15 Thread Peter Farland
AS3 doesn't have the concept of generics, so yes, all collections should
be instances of mx.collections.ArrayCollection by default. Types like
mx.collections.ArrayCollection can only really be sent and received
properly by AMF3, so any remoting endpoint would have to understand this
version of the AMF protocol. Any remoting solution working with Flex 2's
RemoteObject should be aware of the messaging infrastructure that is
used to send messages for any remote service request and response. If
Fluorine isn't sending back the result wrapped in a typed instance of
flex.messaging.messages.AcknowledgeMessage (or an error wrapped in an
mx.messaging.messages.ErrorMessage) with a correct correlationId
property to match the request mx.messaging.remoting.RemotingMessage's
messageId - then it won't work.
 
.



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of khmerang
Sent: Friday, June 15, 2007 2:14 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex Remoting and complex objects



Hi all,
I'm beginner with Flex, but have quite a lot experience with .Net. We
have been testing to move some complicated UI to Flex using Fluorine
as the remoting host. Almost everything seems to be working fine, but
sending complex objects from Flex seems to have some serious issues.

We have value objects that contain nested lists, for example:

Project
+ Sections : ListProjectSection 

ProjectSection
+ Assets : ListAsset

Asset
+ AvailableColors : ListColor

These objects are received by Flex (all generic lists are converted to
ArrayCollections) just fine, but I am getting an error when trying to
send the object back to the host:

TypeError: Error #1034: Type Coercion failed: cannot convert
[EMAIL PROTECTED] to mx.messaging.messages.IMessage.

As a breakpoint inside Fluorine service will not trigger, I am
expecting that the problem happens inside Flex. Has anybody experience
with objects like this? We are using Cairngorm in Flex, could that be
an issue? Or do you think the problem would be with Fluorine (haven't
tested with WebOrb)?

Any ideas appreciated,
Miika



 


Re: [flexcoders] Flex remoting, using a factory for beans

2007-04-10 Thread Tom Chiverton
On Thursday 05 Apr 2007, Adrian wrote:
 is possible to configure flex/CF to use a
 factory when translating* the .as instances to .cfc instances, instead of a
 plain createobject() call.

Ah ha, right, with you now :-)
You could do this in the endpoint CFC easily enough, no ?

-- 
Tom Chiverton
Helping to collaboratively conquer enterprise CEOs
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



--
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/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 


[flexcoders] Flex remoting, using a factory for beans

2007-04-05 Thread keryking0
Hi all,

Does anyone know if its possible to configure flex /cold fusion to use
a factory to create beans when using remoting, managed classes and
aliases?

e.g. I currently have:

Flex app - send aliased objects to cf over remoting - cf objects get
automagically created

I'm hoping this is possible:

Flex app - send objects to cf over remoting - myfactory.cfc is used
to create the cf objects

Thanks,
Adrian




Re: [flexcoders] Flex remoting, using a factory for beans

2007-04-05 Thread Tom Chiverton
On Thursday 05 Apr 2007, keryking0 wrote:
 Does anyone know if its possible to configure flex /cold fusion to use
 a factory to create beans when using remoting, managed classes and
 aliases?

You mean manager-type beans to do the work ?
Sure look at things like ColdSpring.

-- 
Tom Chiverton
Helping to synergistically enable collaborative metrics
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



--
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/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 


Re: [flexcoders] Flex remoting, using a factory for beans

2007-04-05 Thread Adrian

Sure look at things like ColdSpring


I don't *think* ColdSpring can do this in and of itself, I'll try to clarify
my original question (I'll start at the beginning, please don't take offence
if it sounds condescending!)

Using Flex remoting, you can specify that an actionscript class instance
should be translated into an instance of a specific cfc
e.g.

MyObjVO.as

package com.mysite.mypackage.vo
{

[Managed]
[RemoteClass(alias=com.mysite.mypackage.vo.MyObjVO)]

   public class MyObjVO
   {

MyObjVO.cfc

cfcomponent alias=com.mysite.mypackage.vo.MyObjVO

When an instance of MyObjVO.as is sent to CF using Flex remoting, it will be
translated* into an instance of MyObjVO.cfc automatically, so that all the
serialisation/deserialisation (if those terms apply to AMF?) is taken care
of, and your code only has to deal with object instances.

The problem I have is that the automatic translation* appears to simply
perform a createobject(component,alias) to create the cfc instances.

I would like to know if it is possible to configure flex/CF to use a factory
when translating* the .as instances to .cfc instances, instead of a plain
createobject() call.

*not sure if translate is the correct term here, I think this feature used
to be code named mystic, does anyone know the correct technical/product
feature term to use?


RE: [flexcoders] Flex remoting, using a factory for beans

2007-04-05 Thread Peter Farland
I understand exactly what you're asking, but it's technically not
possible right now without writing your own adapter for the remoting
service. I'd log an enhancement request with the CF team.
 
(For the FDS case with Java POJOs, you can write your own factory
instead and rely on the standard java adapter... but that adapter has no
knowledge of CF).
 
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Adrian
Sent: Thursday, April 05, 2007 9:41 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex remoting, using a factory for beans



Sure look at things like ColdSpring

I don't *think* ColdSpring can do this in and of itself, I'll try to
clarify my original question (I'll start at the beginning, please don't
take offence if it sounds condescending!) 

Using Flex remoting, you can specify that an actionscript class instance
should be translated into an instance of a specific cfc
e.g. 

MyObjVO.as

package com.mysite.mypackage.vo
{

[Managed]
[RemoteClass(alias=com.mysite.mypackage.vo.MyObjVO)]

public class MyObjVO
{

MyObjVO.cfc

cfcomponent alias=com.mysite.mypackage.vo.MyObjVO 

When an instance of MyObjVO.as is sent to CF using Flex remoting, it
will be translated* into an instance of MyObjVO.cfc automatically, so
that all the serialisation/deserialisation (if those terms apply to
AMF?) is taken care of, and your code only has to deal with object
instances. 

The problem I have is that the automatic translation* appears to simply
perform a createobject(component,alias) to create the cfc instances.

I would like to know if it is possible to configure flex/CF to use a
factory when translating* the .as instances to .cfc instances, instead
of a plain createobject() call. 

*not sure if translate is the correct term here, I think this feature
used to be code named mystic, does anyone know the correct
technical/product feature term to use?








 


[flexcoders] flex remoting and query

2007-03-22 Thread Chad Gray
If in my CFC that I am connecting to with RemoteObject can I return a Query 
object to Flex?

Here is an example cfc:
cffunction name=getJob returnType=query output=no access=remote
cfargument name=jobNum type=numeric required=yes

cfquery datasource=database name=getJobInfo
SELECT JobName, Description
FROM Job
WHERE JobNum = #arguments.jobNum#
/cfquery

cfreturn getJobInfo
/cffunction


Or should I stick to returning XML?

My goal for this exercise is to take the data and put it in a DataGrid 
component.

Second question is how do I format the dataprovider in the datagrid?

mx:DataGrid id=dgJob dataProvider={roGetJob.?}






Re: [flexcoders] flex remoting and query

2007-03-22 Thread Clint Tredway

return that query and bind it to an ArrayCollection in your AS. Then you can
bind it to a grid or list, etc.

On 3/22/07, Chad Gray [EMAIL PROTECTED] wrote:


  If in my CFC that I am connecting to with RemoteObject can I return a
Query object to Flex?

Here is an example cfc:
cffunction name=getJob returnType=query output=no access=remote
cfargument name=jobNum type=numeric required=yes

cfquery datasource=database name=getJobInfo
SELECT JobName, Description
FROM Job
WHERE JobNum = #arguments.jobNum#
/cfquery

cfreturn getJobInfo
/cffunction

Or should I stick to returning XML?

My goal for this exercise is to take the data and put it in a DataGrid
component.

Second question is how do I format the dataprovider in the datagrid?

mx:DataGrid id=dgJob dataProvider={roGetJob.?}

 





--
http://indeegrumpee.spaces.live.com/


Re: [flexcoders] flex remoting and query

2007-03-22 Thread Clint Tredway

return that query and bind it to an ArrayCollection in your AS. Then you can
bind it to a grid or list, etc.

On 3/22/07, Chad Gray [EMAIL PROTECTED] wrote:


  If in my CFC that I am connecting to with RemoteObject can I return a
Query object to Flex?

Here is an example cfc:
cffunction name=getJob returnType=query output=no access=remote
cfargument name=jobNum type=numeric required=yes

cfquery datasource=database name=getJobInfo
SELECT JobName, Description
FROM Job
WHERE JobNum = #arguments.jobNum#
/cfquery

cfreturn getJobInfo
/cffunction

Or should I stick to returning XML?

My goal for this exercise is to take the data and put it in a DataGrid
component.

Second question is how do I format the dataprovider in the datagrid?

mx:DataGrid id=dgJob dataProvider={roGetJob.?}

 





--
http://indeegrumpee.spaces.live.com/


[flexcoders] Flex, remoting, and dev/production environments

2006-08-02 Thread Rick Root
When building a flex app that uses remoting with coldfusion... if I'm 
building on my local machine and get it all working using my local 
coldfusion server, can I just copy the files to the production server, 
assuming the mappings and everything are set up the same?

Or does remoting rely on the build process to know which server to go 
to?  In that case I'd have to rebuild the swf with the production 
servers services-config.xml file, right?

Thanks.

Rick


--
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/
 




Re: [flexcoders] Flex, remoting, and dev/production environments

2006-08-02 Thread Rick Root
Rick Root wrote:
 
 When building a flex app that uses remoting with coldfusion... if I'm
 building on my local machine and get it all working using my local
 coldfusion server, can I just copy the files to the production server,
 assuming the mappings and everything are set up the same?
 
 Or does remoting rely on the build process to know which server to go
 to? In that case I'd have to rebuild the swf with the production
 servers services-config.xml file, right?

Okay, I copied the files to production and clearly it doesn't work.  I 
get an RPC error channel disconnected before an acknowledgement was 
received - yet another error that doesn't show up in google.

Anyway... how do I recompile for production without making an entirely 
new project?  I tried changing my flex server path and compiler options 
to the production server but I'm still getting the error now :(

Rick


--
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/
 





Re: [flexcoders] Flex, remoting, and dev/production environments

2006-08-02 Thread Clint Tredway



I know that this isn't always possible, but if you make your dev  production directory structure the same, then it will work. Thats how I am doing my development and it works for me.
On 8/2/06, Rick Root [EMAIL PROTECTED] wrote:













  



Rick Root wrote:
 
 When building a flex app that uses remoting with coldfusion... if I'm
 building on my local machine and get it all working using my local
 coldfusion server, can I just copy the files to the production server,
 assuming the mappings and everything are set up the same?
 
 Or does remoting rely on the build process to know which server to go
 to? In that case I'd have to rebuild the swf with the production
 servers services-config.xml file, right?

Okay, I copied the files to production and clearly it doesn't work.  I 
get an RPC error channel disconnected before an acknowledgement was 
received - yet another error that doesn't show up in google.

Anyway... how do I recompile for production without making an entirely 
new project?  I tried changing my flex server path and compiler options 
to the production server but I'm still getting the error now :(

Rick

  













-- diabetic? http://www.diabetesforums.comAlbert Einstein - It's not that I'm so smart, it's just that I stay with problems longer.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



Re: [flexcoders] Flex, remoting, and dev/production environments

2006-08-02 Thread Douglas Knudsen



as long as your paths are the same, no need to re-compile at all. Remember CFCs need a full dot path from the web root, custom tag directory, or mapping. DKOn 8/2/06, 
Rick Root [EMAIL PROTECTED] wrote:
Rick Root wrote: When building a flex app that uses remoting with coldfusion... if I'm building on my local machine and get it all working using my local coldfusion server, can I just copy the files to the production server,
 assuming the mappings and everything are set up the same? Or does remoting rely on the build process to know which server to go to? In that case I'd have to rebuild the swf with the production
 servers services-config.xml file, right?Okay, I copied the files to production and clearly it doesn't work.Iget an RPC error channel disconnected before an acknowledgement wasreceived - yet another error that doesn't show up in google.
Anyway... how do I recompile for production without making an entirelynew project?I tried changing my flex server path and compiler optionsto the production server but I'm still getting the error now :(
Rick--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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/-- Douglas Knudsen
http://www.cubicleman.comthis is my signature, like it?

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] Flex Remoting

2006-04-20 Thread murtuza_ab



Hi,

Need help in the Remoting Implementation I have tried example of 
below, with the method which does not take any param it works but 
what is the syntax for passing the argument to the remote method.

We are using this example as we are not using flex data service 
server side component. if any has related example with different way 
to achieve also help
 
var gatewayUrl : String = http://localhost:8080/demoApp/gateway;
   gateway_conn = new NetConnection();
   gateway_conn.objectEncoding = 
flash.net.ObjectEncoding.AMF0;
   gateway_conn.connect( gatewayUrl );
var userList:Array = new Array(12,13,15);
/*
what is the syntax for passing the 
userList Array to the remote method
com.tis.dao.SampleDAO.getPersons
   */


   gateway_conn.call
(com.tis.dao.SampleDAO.getPersons, new flash.net.Responder( 
onQueryResult, onQueryStatus ) );

 









--
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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] Flex Remoting

2006-04-20 Thread Peter Farland



It depends on what the method signature for SampleDAO.getPersons looks
like. Where did you find this sample?

Note that the AS signature for NetConnection.call() is:

 public function call(command:String, responder:Responder, ...
arguments):void

So the ... syntax in AS means the rest of the arguments which is an
Array.

So, if the getPersons signature was something like this:

 public Person[] getPersons(List ids);

then the call would look like this:

 gateway_conn.call(com.tis.dao.SampleDAO.getPersons, responder,
userList);


Or, if the getPersons signature was like this:

 public Person[] getPersons(id1, id2, id3);

then the call would look like this:

 gateway_conn.call(com.tis.dao.SampleDAO.getPersons, responder,
12, 13, 15);


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of murtuza_ab
Sent: Thursday, April 20, 2006 10:55 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex Remoting

Hi,

Need help in the Remoting Implementation I have tried example of below,
with the method which does not take any param it works but what is the
syntax for passing the argument to the remote method.

We are using this example as we are not using flex data service server
side component. if any has related example with different way to achieve
also help
 
var gatewayUrl : String = http://localhost:8080/demoApp/gateway;
   gateway_conn = new NetConnection();
   gateway_conn.objectEncoding =
flash.net.ObjectEncoding.AMF0;
   gateway_conn.connect( gatewayUrl );
var userList:Array = new Array(12,13,15);
/*
what is the syntax for passing the
userList Array to the remote method
com.tis.dao.SampleDAO.getPersons
   */


   gateway_conn.call
(com.tis.dao.SampleDAO.getPersons, new flash.net.Responder(
onQueryResult, onQueryStatus ) );

 





--
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



 








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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] Flex, Remoting and more

2005-06-30 Thread Erik Westra
Sorry for this late reaction. I've done some tests with ColdFusion 7 and their 
new event gateways.

I modified an existing Java socket server to be an event gateway type. This 
enabled me to be able to push data from ColdFusion to all connected Flash 
clients. In Flash I used XMLSocket.

I don't know what kind of server side software u are using, but the combination 
of a socketserver and some server side logic can do the trick. 

The cutback of this is that messages can only be send as string. Offcourse u 
can send xml for complex data, but then u still have problems with numbers and 
booleans. Its however fairly easy to create a serializer / deserializer to send 
complex data as string and still keep certain types.

I hope this information helps u in your quest.


Greetz Erik


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alberto 
Albericio Salvador
Sent: maandag 27 juni 2005 12:57
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex, Remoting and more

Hi all,

I've been reading about connecting flex client applications using Flash 
Communication Server(FCS) and shared objects. Thats seems to cover the needs 
for developing chat-like applications...
Now, imagine I have an external Notification server (yukon notification 
server, or whatever) And I want FCS to listen
*persistently* to this server. With FCS and Remoting I know how to POLL a 
database 1 time or every 10 seconds and format that answer to feed the FCS 
but HOW can I create a persistent link to a notification server,socket server 
or similar, get the data this server is pushing, format this data and pass it 
to the FCS?

So basically, I want to know how to replace POLLING with PERSISTENT LISTENING.

Example application: A Flex application that shows the queue of  a call center. 
When a new call arrives, it is shown in every client running the application. 
And it is the call center notification server that tells the FCS it has 
received the new call and NOT the FCS that polls the queue of the notification 
server to see if there is any new call pending.

Thank you mates!

--
Alberto Albericio Salvador
Aura S.A. Seguros
Departamento Informática



--
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/
 




[flexcoders] Flex, Remoting and more

2005-06-27 Thread Alberto Albericio Salvador
Hi all,

I've been reading about connecting flex client applications using 
Flash Communication Server(FCS) and shared objects. Thats seems to cover 
the needs for developing chat-like applications...
Now, imagine I have an external Notification server (yukon 
notification server, or whatever) And I want FCS to listen 
*persistently* to this server. With FCS and Remoting I know how to POLL 
a database 1 time or every 10 seconds and format that answer to feed 
the FCS but HOW can I create a persistent link to a notification 
server,socket server or similar, get the data this server is pushing, 
format this data and pass it to the FCS?

So basically, I want to know how to replace POLLING with PERSISTENT 
LISTENING.

Example application: A Flex application that shows the queue of  a call 
center. When a new call arrives, it is shown in every client running the 
application. And it is the call center notification server that tells 
the FCS it has received the new call and NOT the FCS that polls the 
queue of the notification server to see if there is any new call pending.

Thank you mates!

-- 
Alberto Albericio Salvador
Aura S.A. Seguros
Departamento Informática



--
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/
 




RE: [flexcoders] Flex, Remoting and more

2005-06-27 Thread Rick Bullotta










The danger of persistent connections is
one of scaleabilityand of trying to manage a reliable protocol across
those connections (as opposed to the relative simplicity of a request/response
protocol).



A hybrid that weve used is a server-based
collector (listener) and clients that ping (a
euphemism for lightweight polling) to see if theres something for them
to do.



The other advantage of polling is pacing
 you can manage the rate at which events/messages get exchanged even
when bursts of events occur.











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Alberto Albericio Salvador
Sent: Monday, June 27, 2005 6:57
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex,
Remoting and more





Hi all,

I've been reading about connecting
flex client applications using 
Flash Communication Server(FCS) and shared
objects. Thats seems to cover 
the needs for developing chat-like applications...
Now, imagine I have an external Notification
server (yukon

notification server, or whatever) And I want FCS
to listen 
*persistently* to this server. With FCS and
Remoting I know how to POLL 
a database 1 time or every 10 seconds
and format that answer to feed 
the FCS but HOW can I create a persistent link to
a notification 
server,socket server or similar, get the data this
server is pushing, 
format this data and pass it to the FCS?

So basically, I want to know how to replace
POLLING with PERSISTENT 
LISTENING.

Example application: A Flex application that shows
the queue of a call 
center. When a new call arrives, it is shown in
every client running the 
application. And it is the call center
notification server that tells 
the FCS it has received the new call and NOT the
FCS that polls the 
queue of the notification server to see if there
is any new call pending.

Thank you mates!

-- 
Alberto Albericio Salvador
Aura S.A. Seguros
Departamento Informática



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









--
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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] Flex, Remoting and more

2005-06-27 Thread Abdul Qabiz





Hi,

Some random 
ideas...

I am not sure, but your call center server can run a Flash 
application that is connected to FCS server persistently. Or you can run a 
XMLSocket server on call center server and FCS machine runs a flash application 
which is connected to Call Center server as well as local FCS, this flash 
application works as bridge between two...


-abdul


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Rick 
BullottaSent: Monday, June 27, 2005 4:33 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex, Remoting 
and more


The danger of 
persistent connections is one of scaleability…and of trying to manage a reliable 
protocol across those connections (as opposed to the relative simplicity of a 
request/response protocol).

A hybrid that we’ve 
used is a server-based “collector” (listener) and clients that “ping” (a 
euphemism for lightweight polling) to see if there’s something for them to 
do.

The other advantage of 
polling is “pacing” – you can manage the rate at which events/messages get 
exchanged even when “bursts” of events occur.





From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alberto Albericio 
SalvadorSent: Monday, June 27, 
2005 6:57 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Flex, Remoting and 
more

Hi all,I've been reading about "connecting" flex client applications 
using Flash Communication 
Server(FCS) and shared objects. Thats seems to cover the needs for developing chat-like 
applications...Now, imagine I have 
an external "Notification server" (yukon notification server, or whatever) And I want FCS to listen 
*persistently* to this server. With 
FCS and Remoting I know how to POLL a database "1 time or every 10 seconds" and format that 
answer to feed the FCS but HOW can 
I create a persistent link to a notification server,socket server or similar, get the data this server is 
pushing, format this data and pass 
it to the FCS?So basically, I 
want to know how to replace POLLING with PERSISTENT LISTENING.Example application: A Flex application that shows the queue 
of a call center. When a new 
call arrives, it is shown in every client running the application. And it is the call center notification server 
that tells the FCS it has received 
the new call and NOT the FCS that polls the queue of the notification server to see if there is any new 
call pending.Thank you 
mates!-- 
Alberto Albericio 
SalvadorAura S.A. 
SegurosDepartamento 
Informática--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
--Flexcoders 
Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 



--
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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] Flex, Remoting and more

2005-06-27 Thread Alberto Albericio Salvador
In some scenarios, what your telling it makes sense.. anyway, Im reading 
about what the New Data Services in Flex 2.0 will bring and I get the 
feeling I will be able to use these new features to get this working :)

Meantime, any other ideas are welcome.

Rick Bullotta escribió:

 The danger of persistent connections is one of scaleability…and of 
 trying to manage a reliable protocol across those connections (as 
 opposed to the relative simplicity of a request/response protocol).

 A hybrid that we’ve used is a server-based “collector” (listener) and 
 clients that “ping” (a euphemism for lightweight polling) to see if 
 there’s something for them to do.

 The other advantage of polling is “pacing” – you can manage the rate 
 at which events/messages get exchanged even when “bursts” of events occur.

 

 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
 *On Behalf Of *Alberto Albericio Salvador
 *Sent:* Monday, June 27, 2005 6:57 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Flex, Remoting and more

 Hi all,

 I've been reading about connecting flex client applications using
 Flash Communication Server(FCS) and shared objects. Thats seems to cover
 the needs for developing chat-like applications...
 Now, imagine I have an external Notification server (yukon
 notification server, or whatever) And I want FCS to listen
 *persistently* to this server. With FCS and Remoting I know how to POLL
 a database 1 time or every 10 seconds and format that answer to feed
 the FCS but HOW can I create a persistent link to a notification
 server,socket server or similar, get the data this server is pushing,
 format this data and pass it to the FCS?

 So basically, I want to know how to replace POLLING with PERSISTENT
 LISTENING.

 Example application: A Flex application that shows the queue of a call
 center. When a new call arrives, it is shown in every client running the
 application. And it is the call center notification server that tells
 the FCS it has received the new call and NOT the FCS that polls the
 queue of the notification server to see if there is any new call pending.

 Thank you mates!

 -- 
 Alberto Albericio Salvador
 Aura S.A. Seguros
 Departamento Informática



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




 --
 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

 * Visit your group flexcoders
   http://groups.yahoo.com/group/flexcoders on the web.
 * To unsubscribe from this group, send an email to:
   [EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED]
 * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
   Service http://docs.yahoo.com/info/terms/.


 



-- 
Alberto Albericio Salvador
Aura S.A. Seguros
Departamento Informática



--
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/
 





Re: [flexcoders] Flex, Remoting and more

2005-06-27 Thread Alberto Albericio Salvador
Hi Abdul,

Is it possible from C# or any other language to connect to this FCS in 
order to give orders to all Flex clients connected to it?

A

Abdul Qabiz escribió:

 Hi,
 Some random ideas...
 I am not sure, but your call center server can run a Flash application 
 that is connected to FCS server persistently. Or you can run a 
 XMLSocket server on call center server and FCS machine runs a flash 
 application which is connected to Call Center server as well as local 
 FCS, this flash application works as bridge between two...
 -abdul
 
 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
 *On Behalf Of *Rick Bullotta
 *Sent:* Monday, June 27, 2005 4:33 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* RE: [flexcoders] Flex, Remoting and more

 The danger of persistent connections is one of scaleability…and of 
 trying to manage a reliable protocol across those connections (as 
 opposed to the relative simplicity of a request/response protocol).

 A hybrid that we’ve used is a server-based “collector” (listener) and 
 clients that “ping” (a euphemism for lightweight polling) to see if 
 there’s something for them to do.

 The other advantage of polling is “pacing” – you can manage the rate 
 at which events/messages get exchanged even when “bursts” of events occur.

 

 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
 *On Behalf Of *Alberto Albericio Salvador
 *Sent:* Monday, June 27, 2005 6:57 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Flex, Remoting and more

 Hi all,

 I've been reading about connecting flex client applications using
 Flash Communication Server(FCS) and shared objects. Thats seems to cover
 the needs for developing chat-like applications...
 Now, imagine I have an external Notification server (yukon
 notification server, or whatever) And I want FCS to listen
 *persistently* to this server. With FCS and Remoting I know how to POLL
 a database 1 time or every 10 seconds and format that answer to feed
 the FCS but HOW can I create a persistent link to a notification
 server,socket server or similar, get the data this server is pushing,
 format this data and pass it to the FCS?

 So basically, I want to know how to replace POLLING with PERSISTENT
 LISTENING.

 Example application: A Flex application that shows the queue of a call
 center. When a new call arrives, it is shown in every client running the
 application. And it is the call center notification server that tells
 the FCS it has received the new call and NOT the FCS that polls the
 queue of the notification server to see if there is any new call pending.

 Thank you mates!

 -- 
 Alberto Albericio Salvador
 Aura S.A. Seguros
 Departamento Informática



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




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



 --
 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

 * Visit your group flexcoders
   http://groups.yahoo.com/group/flexcoders on the web.
 * To unsubscribe from this group, send an email to:
   [EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED]
 * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
   Service http://docs.yahoo.com/info/terms/.


 



-- 
Alberto Albericio Salvador
Aura S.A. Seguros
Departamento Informática



--
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/
 




RE: [flexcoders] Flex, Remoting and more

2005-06-27 Thread Abdul Qabiz
Hi,

FCS can only connect to any Flash Remoting gateway or Flash Player. If FCS 
connects to Flash Remoting gateway, it would be asynchronous process. It would 
lead to polling kind of scenario, where FCS would poll(on regular intervals) 
the Remoting Gateway(.Net or J2ee), in return gets the data. 

-abdul



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alberto 
Albericio Salvador
Sent: Monday, June 27, 2005 5:19 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex, Remoting and more

Hi Abdul,

Is it possible from C# or any other language to connect to this FCS in 
order to give orders to all Flex clients connected to it?

A

Abdul Qabiz escribió:

 Hi,
 Some random ideas...
 I am not sure, but your call center server can run a Flash application 
 that is connected to FCS server persistently. Or you can run a 
 XMLSocket server on call center server and FCS machine runs a flash 
 application which is connected to Call Center server as well as local 
 FCS, this flash application works as bridge between two...
 -abdul
 
 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
 *On Behalf Of *Rick Bullotta
 *Sent:* Monday, June 27, 2005 4:33 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* RE: [flexcoders] Flex, Remoting and more

 The danger of persistent connections is one of scaleability...and of 
 trying to manage a reliable protocol across those connections (as 
 opposed to the relative simplicity of a request/response protocol).

 A hybrid that we've used is a server-based collector (listener) and 
 clients that ping (a euphemism for lightweight polling) to see if 
 there's something for them to do.

 The other advantage of polling is pacing - you can manage the rate 
 at which events/messages get exchanged even when bursts of events occur.

 

 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
 *On Behalf Of *Alberto Albericio Salvador
 *Sent:* Monday, June 27, 2005 6:57 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Flex, Remoting and more

 Hi all,

 I've been reading about connecting flex client applications using
 Flash Communication Server(FCS) and shared objects. Thats seems to cover
 the needs for developing chat-like applications...
 Now, imagine I have an external Notification server (yukon
 notification server, or whatever) And I want FCS to listen
 *persistently* to this server. With FCS and Remoting I know how to POLL
 a database 1 time or every 10 seconds and format that answer to feed
 the FCS but HOW can I create a persistent link to a notification
 server,socket server or similar, get the data this server is pushing,
 format this data and pass it to the FCS?

 So basically, I want to know how to replace POLLING with PERSISTENT
 LISTENING.

 Example application: A Flex application that shows the queue of a call
 center. When a new call arrives, it is shown in every client running the
 application. And it is the call center notification server that tells
 the FCS it has received the new call and NOT the FCS that polls the
 queue of the notification server to see if there is any new call pending.

 Thank you mates!

 -- 
 Alberto Albericio Salvador
 Aura S.A. Seguros
 Departamento Informática



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




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



 --
 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

 * Visit your group flexcoders
   http://groups.yahoo.com/group/flexcoders on the web.
 * To unsubscribe from this group, send an email to:
   [EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED]
 * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
   Service http://docs.yahoo.com/info/terms/.


 



-- 
Alberto Albericio Salvador
Aura S.A. Seguros
Departamento Informática



--
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



 




--
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] Flex Remoting has UPPERCASE results

2005-03-22 Thread Scott Barnes

I noticed in:
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19356

It states:

...With Flash Remoting, they are returned in exactly the same case as
they are typed. For example, if you returned a query with two columns,
(FirstName, LastName), when ColdFusion returns the data through a web
service call, the columns will be all uppercase, (FIRSTNAME,
LASTNAME). If Flash Remoting is used to return the data, then the
columns will appear exactly as they appear in the database,
(FirstName, LastName). MXML is case sensitive, so it is possible that
you may run into a problem with case sensitivity...

Yet, I just spent the last 10mins trying to figure out why my bindings
weren't working - turns out  the struct I return from CFMX is now
uppercase in FLEX - instead of case sensitive which the technote
states.

Personally i prefer uppercase in the end as that way i'm now coupling
my FLEX stuff with how a developer in CFMX typed his variables.


-- 
Regards,
Scott Barnes
http://www.mossyblog.com
http://www.flexcoder.com (Coming Soon)


 
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/
 





RE: [flexcoders] Flex Remoting has UPPERCASE results

2005-03-22 Thread Peter Farland

This is an involved discussion with much to consider...

Your request goes something like this when calling CFCs via
RemoteObject:

Flex - Flash - AMF - (AMF Gateway/Flash Remoting) - ColdFusion -
Your CF Page

In ActionScript 1.0, the Flash -- -- AMF interation is case
insensitive merely because ActionScript 1.0 is case insensitive. Java,
on the other hand, always treats properties case sensitively. Flash
Remoting MX uses a convention of lowercase keys to force case
insensitivity in the Java representations of ActionScript objects.
ColdFusion has always been case insensitive - (however, how CF exposes
this to your code versus how objects are passed around internally is
involved) - so it didn't care whether the Java versions of these AMF
objects had lowercase keys.

In ActionScript 2.0, the Flash -- -- AMF interaction became case
sensitive. A switch was introduced in Flex to stop the AMF gateway from
lowercasing keys. This setting is in /WEB-INF/flex/gateway-config.xml
and by default set to false to preserve the case of properties. Again,
ColdFusion code didn't care as it was case insensitive.


However, the response gets more interesting. Your response might look
like this:

ColdFusion - (AMF Gateway/Flash Remoting) - AMF - Flash - Flex

In the simplest of cases, when ColdFusion passes database information
back to Flash Remoting it may do so without subjecting the objects to CF
specific upper casing  (perhaps if you just return a query object).
However, I imagine it is possible that when your code preprocess the
results to form a new structure the variables may actually get forced to
uppercase by CF (I'm not a CF engineer... but it sounds, theoretically,
possible)?

NOTE: as long as the switch is set in Flex to not lowercase keys, I
imagine it will pass through data properties just as ColdFusion sent the
result to the AMF Gateway.

(A more complicated case that I'm assuming doesn't affect you here is
when this switch has been changed to true to lowercase keys in the
gateway - a fix was made in CFMX 7 to handle this situation to still
preserve response property case to the form in which CF returned them).


-Original Message-
From: Scott Barnes [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 22, 2005 6:25 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex Remoting has UPPERCASE results



I noticed in:
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19356

It states:

...With Flash Remoting, they are returned in exactly the same case as
they are typed. For example, if you returned a query with two columns,
(FirstName, LastName), when ColdFusion returns the data through a web
service call, the columns will be all uppercase, (FIRSTNAME,
LASTNAME). If Flash Remoting is used to return the data, then the
columns will appear exactly as they appear in the database,
(FirstName, LastName). MXML is case sensitive, so it is possible that
you may run into a problem with case sensitivity...

Yet, I just spent the last 10mins trying to figure out why my bindings
weren't working - turns out  the struct I return from CFMX is now
uppercase in FLEX - instead of case sensitive which the technote
states.

Personally i prefer uppercase in the end as that way i'm now coupling
my FLEX stuff with how a developer in CFMX typed his variables.


-- 
Regards,
Scott Barnes
http://www.mossyblog.com
http://www.flexcoder.com (Coming Soon)


 
Yahoo! Groups Links



 





 
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/
 





Re: [flexcoders] Flex Remoting has UPPERCASE results

2005-03-22 Thread Scott Barnes

thanks all for the replies, helped me understand the mechanics of
Remoting and work-arounds.

I still prefer a consistent case to come back (lower/upper) as i think
inheriting case sensitivity from CFMX is bad form?


On Tue, 22 Mar 2005 19:04:42 -0500, Darron J. Schall
[EMAIL PROTECTED] wrote:
 
 Scott Barnes wrote:
 
 I noticed in:
 http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19356
 Yet, I just spent the last 10mins trying to figure out why my bindings
 weren't working - turns out  the struct I return from CFMX is now
 uppercase in FLEX - instead of case sensitive which the technote
 states.
 
 Personally i prefer uppercase in the end as that way i'm now coupling
 my FLEX stuff with how a developer in CFMX typed his variables.
 
 
 
 
 You can preserve the case from the CFMX side.  See my post at:
 http://www.darronschall.com/weblog/archives/000124.cfm
 
 -d
 
 
 Yahoo! Groups Links
 
 
 
 
 


-- 
Regards,
Scott Barnes
http://www.mossyblog.com
http://www.flexcoder.com (Coming Soon)


 
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/
 





RE: [flexcoders] Flex Remoting has UPPERCASE results

2005-03-22 Thread Dirk Eismann

Also check my blog entry on how to transfer data between CF and Flex and 
enforce automatic mapping between structs and AS classes (please note that the 
_remoteClass trick isn't supported officially by MM anymore and may be dropped 
completely in a future version of Flex)

http://www.richinternet.de/blog/index.cfm?entry=74BA931D-C3DA-FDE0-C7959146205942DA

Dirk.

 -Original Message-
 From: Scott Barnes [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, March 23, 2005 1:45 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Flex Remoting has UPPERCASE results
 
 
 
 thanks all for the replies, helped me understand the mechanics of
 Remoting and work-arounds.
 
 I still prefer a consistent case to come back (lower/upper) as i think
 inheriting case sensitivity from CFMX is bad form?
 
 
 On Tue, 22 Mar 2005 19:04:42 -0500, Darron J. Schall
 [EMAIL PROTECTED] wrote:
  
  Scott Barnes wrote:
  
  I noticed in:
  
 http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19356
  Yet, I just spent the last 10mins trying to figure out why 
 my bindings
  weren't working - turns out  the struct I return from CFMX is now
  uppercase in FLEX - instead of case sensitive which the technote
  states.
  
  Personally i prefer uppercase in the end as that way i'm 
 now coupling
  my FLEX stuff with how a developer in CFMX typed his variables.
  
  
  
  
  You can preserve the case from the CFMX side.  See my post at:
  http://www.darronschall.com/weblog/archives/000124.cfm
  
  -d
  
  
  Yahoo! Groups Links
  
  
  
  
  
 
 
 -- 
 Regards,
 Scott Barnes
 http://www.mossyblog.com
 http://www.flexcoder.com (Coming Soon)
 
 
  
 Yahoo! Groups Links
 
 
 
  
 
 
 
 


 
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/