[flexcoders] Re: Will Microsoft's new Silverlight Player Kill our beloved Flex ?

2007-04-19 Thread Dave Wolf
Scott,

 Sillyness aside, there is substance to this and it was a great read,
but i think what hurt it's purity is the undercurrent of MS is evil,
watch them mentality.
 
I assure you that undertone wasn't purposeful.  I did flub the Sparkle
reference, but then again, most people misunderstood what Sparkle was
and the general understanding at large was the Sparkle was WPF/E. 
Code words are supposed to be confusing right? :=)

As you said, aiming at that would have just undone the message I was
trying to get out.  

Worth noting BTW, I am a MSFT Alumnus. 

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY



--- In flexcoders@yahoogroups.com, Scott Barnes [EMAIL PROTECTED]
wrote:

 Dave.C,
 
 Dave.W gets it :) He understands that the RIA space is not exclusive
to one
 company but many, while I get the undercurrent of his blog-speech, I do
 however disagree with the dark evil plotting - MIX isn't because MAX
 exists, its actually because it's intent is to showcase a MIX of
Microsoft
 Technologies in the one spot, consolidated. Usually PDC / TechEd are
 reserved for the 100% Microsoft pieces (except TechEd Australia were
we are
 hoping to mix-it-up a bit more).
 
 Furthermore, we are looking to REMIX (Australia, Melbourne, June 25th -
 26th) in the rest of the world based off what the US version does and so
 on.. point I'm thinking folks at times amplify the paranoia around
 Microsoft ;)
 
 Secondly, Sparkle was the code-name for Expression Blend, and JOLT
was the
 code-name for Silverlight. I also get nervous when anyone uses the term
 Missiles,Big Bang and Microsoft. As when they do, i start to
think of
 Cult Followings and ponder if I've been duped into some mystic cult
(I'll be
 that guy running out in FBI handcuffs on Hard Copy saying I didn't
know..I
 didn't know..)
 
 Sillyness aside, there is substance to this and it was a great read,
but i
 think what hurt it's purity is the undercurrent of MS is evil,
watch them
 mentality.
 
 I'm evil, Microsoft isn't though (just to clarify that).
 
 On 4/20/07, Dave Carabetta [EMAIL PROTECTED] wrote:
 
I hope this isn't taken with as some sort of corporate shill for my
  employer, as it's honestly not my intent, but Dave Wolf, Vice
President of
  Consulting at Cynergy Systems, gives an excellent summary as to why
  Silverlight is a phenomenally important announcement to the RIA
industry and
  why it's not just some copycat Flash competitor. If you're
looking for a
  balanced view of Silverlight's effect, check out his latest blog
entry:
 
 
 
http://www.cynergysystems.com/blogs/page/davewolf?entry=wake_up_and_see_the
 
  Regards,
  Dave Carabetta.
  Cynergy Systems, Inc.
 
  On 4/18/07, Scott Barnes [EMAIL PROTECTED] wrote:
  
  Its an annoyance of mine aswell. I'm confused as to why .NET
remoting
   was dropped from Flash/Flex (haven't yet seen FLASH CS3 and
whether its back
   but yeah, no idea and all i can say is Mark's got his head
screwed on right
   and he can help with WebORB in that regard. Actually the Flex
Builder
   integration is quite stunning I must say, it left both Andrew
Shorten  I
   drooling @ Feb Seattle Flex UG)
  
   That so sounded like a plug didn't it :) hehe. (Sorry it wasn't
meant to
   be)
  
  
On 18 Apr 2007 07:38:08 -0700, mvbaffa [EMAIL PROTECTED]  wrote:
   
  I've been working with Flex since its alpha version. Before the
release version was avaiable I had an application with AMFPHP
ready.
That is I really love Flex and i have been working with it
since it's
1.5 version.
   
But I am a .NET developer, I have a huge legacy in .NET
Framework 2.0
and 1.1. I don't know why Adobe, up to this moment, is maintaining
exclusive focus on Java. There are a lot of .NET developers that
would like to have a server framework developed directly from
Adobe.
   
Applications are not only Client, they need a strong and
consistent
server Framework. I beleive that if Adobe maintains its exclusive
focus on java it will loose, very soon a good number of .NET
developers.
   
Communications Foundations is really good and it will be
better very
soon. And it's price is very good, it is free !
   
I am still working on the Microsoft framework. But I beleive
that WPF
and SilverLight can be very soon a real competitive alternative.
   
Marcus Baffa
NOVA Consulting
   
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
Peter Demling pdemling@
   
wrote:

 Version 1 of Microsoft products have historically been slow,
 unapologizing in their copycat nature, and hampered by large
numbers
 of major bugs and gaps in functionality.

 However, their astronomical cash reserves and relentless
commitment
to
 establish market share has almost always led to vastly improved
 products in version 2

[flexcoders] Re: using soapHeaders to pass UserName and Password

2007-02-02 Thread Dave Wolf
Mark,

Does this blog entry give you any help?  In building this mashup Andy
had to add credentials to the SOAP headers.  See further down for
example source.

http://www.cynergysystems.com/blogs/page/andrewtrice?entry=census_mashups_using_strikeiron_web

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Mark [EMAIL PROTECTED] wrote:

 Another developer and I worked thru this function and really had a 
 hard time making heads or tails of everything.  In my first post I 
 added a working version from Flash MX Pro.  I just need to pass a 
 username and password (hard coded in the AS) to the webservice in 
 order to retreive the XML.  Any more help would be much 
 appreciated.  We've been trying to work this our for quite a while 
 now.
 
 Thanks,
 Mark
 
 
 --- In flexcoders@yahoogroups.com, Mark pusateri02@ wrote:
 
  Jamie,
  Thanks for the fast reply to this problem but it seems like you 
  posted partial code.  I feel like you left out some important 
 pieces 
  to the puzzle so I'm confused as to how you're calling your 
 function 
  and what is ModelLocator, ourService and myWebService (I'm 
 guessing 
  the id to the WebService tag?).
  
  Could you fill in the gaps when you have some time?
  
  Thanks!
  
  
  --- In flexcoders@yahoogroups.com, jamiebadman jamie.badman@ 
  wrote:
  
   Here's how I did it a way back... not using this anymore but I'm 
   pretty sure it worked at the time ;-)
   
   import mx.rpc.soap.SOAPHeader;
   
   private function login():void{
 ModelLocator.getInstance().qname = new QName
 (http://docs.oasis-
   open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-
   1.0.xsd,Security);
 ModelLocator.getInstance().headerSecurity = new SOAPHeader
   (ModelLocator.getInstance().qname,
   
 XML(String( wsse:Security  + 
  xmlns:wsse='http://docs.oasis-
   open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-
 1.0.xsd' 
  + 
  xmlns:wsu='http://docs.oasis-
   open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-
  1.0.xsd' 
   + 
 wsse:UsernameToken 
 wsu:Id='+username_ti.text+' 
  +
  
wsse:Username+username_ti.text+/wsse:Username
   +
  
wsse:Password+password_ti.text+/wsse:Password
   +
 /wsse:UsernameToken +
 /wsse:Security)) );
   
 ourService.addHeader(ModelLocator.getInstance
 ().headerSecurity);
 ourService.myWebService.send();
   }
   
   Hope this helps.
   
   Jamie.
 





[flexcoders] Re: Flex applications look like Fisher-Price toys

2007-01-31 Thread Dave Wolf

For everyone who was interested in seeing more samples of real Flex
applications and the extent to which you can skin up Flex using all
the built in features, check out Cynergy TV.  The first episode is the
Flex Showcase and shows a small handful of apps we have built over the
last year with Flex.  

http://www.cynergysystems.com/blogs/page/davewolf?entry=i_ll_show_you_mine

http://www.cynergysystems.tv
http://www.cynergytv.com

CynergyTV itself is a Flex2 as well.  We will be hosting many more
episodes including tutorials, panels, and more samples and examples.

Cheers,

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY


--- In flexcoders@yahoogroups.com, David Mendels [EMAIL PROTECTED] wrote:

 Hello,
  
 Many screenshots of Flex applications here:
 http://www.flickr.com/photos/flexapps/
  
 Many of them look not at all like the out of the box look of Flex.
  
 Regards,
 David
 Adobe
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Shannon Hicks
 Sent: Sunday, January 28, 2007 11:27 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Flex applications look like Fisher-Price toys
 
 
 
 Flex 2 has unlimited design potential. You are not limited like you
 think... If a component won't do what you want, you can always re-skin
 it. Here's an example of a Flex site that looks pretty much nothing like
 the standard skin:
 
 http://www.thebetterside.com/scrawl/ScrawlExample3.html
 http://www.thebetterside.com/scrawl/ScrawlExample3.html 
 
 Shan
 
 Paul Barbieux wrote: 
 
   Hi;
   
   I'm a developper but also a web designer.
   And I'm a beginner with Flex...
   But I am frustrated with the possibilities of design of Flex.
   All Flex applications I saw have same look: great buttons and
 input
   fields, great gap between lines. Every elements are great: these
   applications look like Fisher-price toys ! (you know ? Toys for
 children)
   
   Yes, the http://www.scalenine.com/ http://www.scalenine.com/
 shows beautiful themes. But all
   components have same size !
   
   A have made a click-model for an application in HTML, and now I
 must
   write it with Flex: I loose 1/3 of my page because I can't
 reduce gab
   between lines, I can't reduce padding between the label and the
 border
   of the buttons, ... (oh yes I can reduce all elements: but
 labels and
   texts become trucanted !)
   
   - Does a solution exist?
   - Can someone show me a Flex site where there is a real work of
 design?
   - Can I expect improvements with Flex 3.0 ?
   
   Thank's





[flexcoders] Re: Flex applications look like Fisher-Price toys

2007-01-31 Thread Dave Wolf
Thanks!  We have some awesome guys here who make all the magic happen.

Yes indeed we did.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Brian Dunphy [EMAIL PROTECTED] wrote:

 VERY nice Dave, you guys do awesome work.
 
 Just curious, did your team use the DistortionEffects library by Alex
 Uhlmann to do the CubeRotate effect on the right side panel?
 
 Thanks,
 
 Brian
 
 On 1/31/07, Dave Wolf [EMAIL PROTECTED] wrote:
 
 
 
 
 
 
 
   For everyone who was interested in seeing more samples of real Flex
   applications and the extent to which you can skin up Flex using all
   the built in features, check out Cynergy TV. The first episode is the
   Flex Showcase and shows a small handful of apps we have built
over the
   last year with Flex.
 
  
http://www.cynergysystems.com/blogs/page/davewolf?entry=i_ll_show_you_mine
 
   http://www.cynergysystems.tv
   http://www.cynergytv.com
 
   CynergyTV itself is a Flex2 as well. We will be hosting many more
   episodes including tutorials, panels, and more samples and examples.
 
   Cheers,
 
   --
   Dave Wolf
   Cynergy Systems, Inc.
   Adobe Flex Alliance Partner
   http://www.cynergysystems.com
   http://www.cynergysystems.com/blogs
 
   Email: [EMAIL PROTECTED]
   Office: 866-CYNERGY
 
 
   --- In flexcoders@yahoogroups.com, David Mendels dmendels@ wrote:
   
Hello,
   
Many screenshots of Flex applications here:
http://www.flickr.com/photos/flexapps/
   
Many of them look not at all like the out of the box look of Flex.
   
Regards,
David
Adobe
   
   

   
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of Shannon Hicks
Sent: Sunday, January 28, 2007 11:27 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex applications look like
Fisher-Price toys
   
   
   
Flex 2 has unlimited design potential. You are not limited like you
think... If a component won't do what you want, you can always
re-skin
it. Here's an example of a Flex site that looks pretty much
nothing like
the standard skin:
   
http://www.thebetterside.com/scrawl/ScrawlExample3.html
http://www.thebetterside.com/scrawl/ScrawlExample3.html
   
Shan
   
Paul Barbieux wrote:
   
Hi;
   
I'm a developper but also a web designer.
And I'm a beginner with Flex...
But I am frustrated with the possibilities of design of Flex.
All Flex applications I saw have same look: great buttons and
input
fields, great gap between lines. Every elements are great: these
applications look like Fisher-price toys ! (you know ? Toys for
children)
   
Yes, the http://www.scalenine.com/ http://www.scalenine.com/
shows beautiful themes. But all
components have same size !
   
A have made a click-model for an application in HTML, and now I
must
write it with Flex: I loose 1/3 of my page because I can't
reduce gab
between lines, I can't reduce padding between the label and the
border
of the buttons, ... (oh yes I can reduce all elements: but
labels and
texts become trucanted !)
   
- Does a solution exist?
- Can someone show me a Flex site where there is a real work of
design?
- Can I expect improvements with Flex 3.0 ?
   
Thank's
   
 
 
 
   
 
 
 -- 
 Brian Dunphy





[flexcoders] Cynergy Adobe Sponsor Full Day Flex Track @ AjaxWorld NYC

2007-01-23 Thread Dave Wolf
I wanted to let everyone know that Cynergy and Adobe have teamed up to
become Platinum Sponsors for AjaxWorld 2007 in NYC on March 19th-21st.
 As part of the overall AjaxWorld 2007 show, Cynergy and Adobe are
creating an entire day of tracks dedicated totally to Flex design,
development and deployment.  If Flex is on your radar, this is not
something you're going to want to miss. Mark it down on your calendar
and start talking to your bosses today.  This is without question one
of the preeminent RIA shows of the year and between Cynergy  Adobe we
are going to make sure it screams Flex from every corner.

We'd love to meet you so be sure and stop by our booth or just grab
any of us during the conference. Just look for the Cynergy red shirts
and make sure to say hi!

For more information check out Cynergy:

http://www.cynergysystems.com/blogs/page/carsonhager?entry=cynergy_and_adobe_co_sponsor
http://www.cynergysystems.com/news/2007-01-18.jsp

Or Sys-Con:

http://ajax.sys-con.com/read/325001.htm
http://linux.sys-con.com/read/324931.htm

Or to register go to the AjaxWorld 2007 site at:

http://www.ajaxworld.com

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY




[flexcoders] Re: HTTP Header Web Service Authentication

2006-12-14 Thread Dave Wolf

What exactly are you trying to do.  You can secure web service calls
using standard HTTP authentication headers.  We do this with both
BASIC and FORM auth.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, phipzkillah [EMAIL PROTECTED] wrote:

 Does anyone know if it's possible to add a custom HTTP header to the
 web service request?
 
 All authentication methods described through Flex seem to be oriented
 around SOAP headers.
 
 Can we authenticate a web service through HTTP headers?
 
 This has been driving me crazy for the past few days.  Any ideas or
 suggestions??
 
 -phil





[flexcoders] Re: Securing WebServices

2006-11-24 Thread Dave Wolf
What is wrong with standard J2EE security constraints?  Place a
security constraint on the URI of the web service.  You can then use
either FORM or BASIC auth for your Flex application as a whole an the
web service calls will inherit those credentials.  

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Sebastian Zarzycki [EMAIL PROTECTED] wrote:

 What kind of standards does Flex2 web services implementation support? 
 Which version of Soap, any WS- Standards?
 
 I'm trying to solve basic problem of securing access to my
webservice on 
 server. I would like to use WS-Security standard,
 but I'm afraid, there's no way for Flex to send proper request? Simple 
 webservice support in Flex may be not enough in the future...
 Is this a matter of just writing some additional AS3 classes to extend 
 WS, or the internal flash/flex design?
 
 How to solve such problem then? What is your solution? Most obvious one 
 that comes to my mind is to ask server for login,
 server generates token for client, and client uses his token. But this 
 means that I have to add this token parameter to *every*
 webservice method. This is not acceptable, as I want (in fact, my 
 customer wants)  my services to be free of such things. Authorization
 should be transparent (but flexible).  Then again I could have one big 
 thing, ServiceLocator or something like that, so that
 every client request will point to this one (so authorization is in one 
 place), with real service name as parameter. This is even
 harder to implement.
 
 So, any ideas?
 
 -- 
 | Sebastian Zarzycki / rat[tkin]






[flexcoders] Re: Need help auto starting a Java program to listen to msgs from Flex client

2006-09-13 Thread Dave Wolf
The best way to do this is to implement your JMS listener class as a
Java Servlet.  You can then configure the servlet to startup upon
server startup (you can even configure the order of the startup).  

Yes, you can use threads inside the Servlet.  

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, amalabie [EMAIL PROTECTED] wrote:

 I'm using messaging (JMS) to pass objects to a Java program that
 listens for messages on the Topic. My question is: How do I
 automatically get the Java program running so it can pick up messages?
 When I start it manually it does start to grab msg's off the message
 queue. Does JRun have some sort of config parameter I can set?
 
 Also, should the Java program be utilising threads? It's job is to
 wait around and service requests as they come in, so if a lot of users
 are sending, things could get messy.
 
 Any help would be greatly appreciated! Thanks in anticipation!
 
 My config:
 Windows XP Pro
 Eclipse and Flex Builder plugin
 Integrated JRun4







--
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] Re: EDI Applications - with Flex as the Front-End

2006-09-12 Thread Dave Wolf
Oh, it is also worth noting we are also currently developing a RIA
which is the front end to a very large healthcare EDI infrastructure
as well as doing the back-end development for that project.

Breathing new life into old technology.  Love it.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY








--
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] Re: EDI Applications - with Flex as the Front-End

2006-09-12 Thread Dave Wolf
We have a ton of experience in EDI across a variety of verticals
(manufacturing, order entry, healthcare, etc).

I am not sure what experience you are looking for here.  I can tell
you that jumping into EDI is a daunting process.  There are decades
and decades of history here, dozens of standards (if you can call many
of them even standards) and a bit of voodoo black magic.  

The good news is that any vendor the size of Walmart already has an
EDIT infrastructure, a translator/mapper, a gateway, a broker, etc.  I
have to assume you are doing RIA development?  If done right,
(separation of concerns, SBA etc) you should find yourself very
insulated from the EDI infrastructure.

What is the project?  How involved in the back-end EDI infrastructure
will you be?

As I said, we have a *bunch* of experience with EDI and EAI in
general. (I was the lead Product Manager for B2B and EAI at Microsoft,
so I know a schooch about EDI myself!)  Drop me a line if you need
some guidance.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Mike Anderson [EMAIL PROTECTED] wrote:

 Hello All,
 
 We just finalized our relationship with Wal-Mart - and if anybody on
 this list knows, working with Wal-Mart as a Vendor is EDI or Bust.
 They are extremely strict regarding how they do business with their
 vendors, and getting an EDI Application running ASAP, can stress out
 even the most seasoned IT Professionals.
 
 I am vaguely familiar with the EDI Standard (and there are many flavors
 out there), and I do also understand that there is much homework to be
 done on my end, before I can forge ahead with this project.
 
 With that said, I would love to get a jumpstart on this - so if anybody
 could chime in on this thread, and offer any experiences or resources
 they have on this topic, I would be eternally grateful.
 
 Thanks in advance, for anything you can offer -
 
 Mike







--
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] Re: Error #2032 HTTPS IE only

2006-09-10 Thread Dave Wolf
The simpliest way to test if that is the issue is to connect to some
other resource, say a simple HTML page via HTTPS and see if you
connect cleanly.  


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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:

 It might be a problem with a self-signed certificate.  You may need to
 update your computer to accept self-signed without prompting (I don't
 remember how to do that at the moment).  If this isn't set no prompt
 will appear but no connection to the HTTPS destination will work either.
 
  
 
 Matt
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of vitopn
 Sent: Thursday, September 07, 2006 6:07 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Error #2032 HTTPS IE only
 
  
 
 I am unable to get the SecureHTTPChannel to work in IE.  In particular
 I'm trying to use the channel to connect to a set of dataservice
 destinations.  I've experimented with my own client as well as with the
 flexcab sample.
 
  
 
 This is the error I get:
 
 [RPC Fault faultString=Send failed
 faultCode=Client.Error.MessageSend faultDetail=Channel.Ping.Failed
 error [IOErrorEvent type=ioError bubbles=false cancelable=false
 eventPhase=2 text=Error #2032: Stream Error. URL:
 https://localhost:8443/samples/messagebroker/httpsecure
 https://localhost:8443/samples/messagebroker/httpsecure ]]
  at
 mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal:
 :dispatchFaultEvent()
  at ::DataListRequestResponder/fault()
  at mx.rpc::AsyncRequest/fault()
  at mx.messaging::ChannelSet/::faultPendingSends()
  at mx.messaging::ChannelSet/channelFaultHandler()
  at
 flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEven
 tFunction()
  at flash.events::EventDispatcher/dispatchEvent()
  at mx.messaging::Channel/mx.messaging:Channel::connectFailed()
  at
 mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingChann
 el::connectFailed()
  at mx.messaging.channels::HTTPChannel/::pingErrorHandler()
  at ::ChannelRequestLoader/::callEventCallback()
  at ::ChannelRequestLoader/::ioErrorHandler()
  at
 flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEven
 tFunction()
  at flash.events::EventDispatcher/dispatchEvent()
  at flash.net::URLLoader/flash.net:URLLoader::redirectEvent()
 
 In each case all works well in firefox and IE works if I am using
 HTTPChannel instead of the SecureHTTPCHannel.
 
  
 
 I have tried using a self generated certificate and a trial certificate
 from verisign.  For each certificate I also added the required
 certificate to the CertificateAuthorities store so that I did not get
 any warnings in the browser.  
 
  
 
 Is this a problem with self generated or trial certificates?
 
  
 
 Any information would be appreciated.
 
  
 
 Cheers,
 
 -Vito








--
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] Re: Handling Login

2006-09-10 Thread Dave Wolf
Right. SharedObject is going to be the only way to do this.  The
problem is you cannot use the standard J2EE HttpSession object to
store the session state because it is transient surviving only the
like of the browser executable.  You will need to persist this state
off to some less transient storage like a database.  When the user
logs back in, you would read some opaque value (read GUID for
instance) out of the SharedObject, then lookup the users state in the
database and then store it into the transient HttpSession.  Any
changes to the session you will also have to manually persist off to
the database (there are eventing hooks on the HttpSession so you could
automate this).

The user will need to log back in after a browser shutdown, but you
could recover all state.  Actually BTW this is a good way to handle
lots of login/session business rules which arent easily supported via
J2EE.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY



--- In flexcoders@yahoogroups.com, Stacy Young [EMAIL PROTECTED] wrote:

 Once all browser instances are closed you're pretty much stuck. (as
with other web technologies)
 
  
 
 Without a session identifier to match up with on the server, there's
no way to access that session data. You *could* store session data in
a local shared object (flash cookie) and have your application read
from that on startup to determine whether or not the user needs to be
brought to a login page. Then when the user explicitly logs off you
can nuke that shared object. Not the most secure approach though.
 
  
 
 Cheers,
 
 Stace
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Daniel
 Sent: Sunday, September 10, 2006 4:26 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Handling Login
 
  
 
 Im trying to create a Login screen where I can save a user's session
 information, so I can retrieve that later and use it for some
validations.
 Is there a way that I can save this info as a session that last even
 when the user closes the browser, and until he signs out?
 
 How would you recommend it should be handled? I'd love to see some
 examples if you have any.
 
 Thanks in advance!
 
  
 
  
 
 -- 
 WARNING
 ---
 This electronic message and its attachments may contain
confidential, proprietary or legally privileged information, which is
solely for the use of the intended recipient.  No privilege or other
rights are waived by any unintended transmission or unauthorized
retransmission of this message.  If you are not the intended recipient
of this message, or if you have received it in error, you should
immediately stop reading this message and delete it and all
attachments from your system.  The reading, distribution, copying or
other use of this message or its attachments by unintended recipients
is unauthorized and may be unlawful.  If you have received this e-mail
in error, please notify the sender.
 
 AVIS IMPORTANT
 --
 Ce message électronique et ses pièces jointes peuvent contenir des
renseignements confidentiels, exclusifs ou légalement privilégiés
destinés au seul usage du destinataire visé.  L'expéditeur original ne
renonce à aucun privilège ou à aucun autre droit si le présent message
a été transmis involontairement ou s'il est retransmis sans son
autorisation.  Si vous n'êtes pas le destinataire visé du présent
message ou si vous l'avez reçu par erreur, veuillez cesser
immédiatement de le lire et le supprimer, ainsi que toutes ses pièces
jointes, de votre système.  La lecture, la distribution, la copie ou
tout autre usage du présent message ou de ses pièces jointes par des
personnes autres que le destinataire visé ne sont pas autorisés et
pourraient être illégaux.  Si vous avez reçu ce courrier électronique
par erreur, veuillez en aviser l'expéditeur.








--
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] Re: HMAC-SHA1

2006-09-03 Thread Dave Wolf
First it is worth noting that HMAC-SHA1 isnt actually encryption at
all.  Rather it is a hash.  More specifically it is a keyed hash
algorithm that produces a fixed length 160byte hash value.  This hash
is built from the SHA-1 hash algorithm and in your case will be used
as an HMAC, or hash-based message authentication code.  Technically
this is not encryption.  It is used to pass a message from sender to
receiver in a way in which both parties can test whether the contents
of the message have been tampered with in transmission (assuming both
sides share a secret key, usually an asymetric one).  Think of it like
putting a little piece of scotch tape over a door jam to know if
someone opened it.

Now, how would you produce this?  My suggestion would be to use the
server-side API's to generate the hash.  If for example your
server-side infrastructure is Java you could use a JCE 1.2 provider
that supports a SHA-1 based HMAC.  You can find a listing at

http://java.sun.com/products/jce/jce122_providers.html

Basically you will have the server-side generate the hash and simply
return it to the browser.  If you are doing this exchange over SSL and
using some kind of strong authentication (say DIGEST or
SSL-Mutual-Auth) you'll be able to be very sure the exchange was
clean.  If course, I think standard HTTP-AUTH over SSL would be plenty
for most folks!

In the end though, I would not assume an AS3 algorithm exists to
generate such a hash.  You should look to some kind of servant code to
do that heavey lifting.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY


--- In flexcoders@yahoogroups.com, Luís Gustavo Sanabio
[EMAIL PROTECTED] wrote:

 Hi David,
 
Yes, there are a lot of results about SHA1.  But I need implement
 HMAC-SHA1, that crypts a String using a Key.
 
 thanks,
 Gustavo
 
 
 2006/9/3, David Mendels [EMAIL PROTECTED]:
 
   Hi,
 
  If you Google: AS3 SHA1, you will see multple threads, blog
entries and
  work on this that can get you started I hope.
 
  HTH,
  -David
 
   --
  *From:* flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] *On
  Behalf Of *Luís Gustavo Sanabio
  *Sent:* Sunday, September 03, 2006 9:39 AM
  *To:* flexcoders@yahoogroups.com
  *Subject:* [flexcoders] HMAC-SHA1
 
 
   Hi,
 
 I would like to use Amazon S3 services, but I need to implement a
  HMAC-SHA1 to build a signature.
 Can anyone help me?
 
  thanks!
  Gustavo
  
 







--
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] Re: Unique examples of Flex?

2006-08-28 Thread Dave Wolf
Ryan,

We have several production applications we can demonstrate for you
which will show Flex applications all skinned up and not looking
much at all like out of the box Flex.  They are, by their very nature
as applications, not something available on the web publicly, but I
can setup a web demo for you and walk you through them all. I did show
several last month at the RealWorld Flex Seminar up in NYC.  

Please feel free to drop me an email directly.  

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY


--- In flexcoders@yahoogroups.com, Ryan Sabir [EMAIL PROTECTED] wrote:

 Hi all,
  
 I'm looking for examples of Flex applications that don't look like
Flex applications.
  
 So far most of the apps I've seen have used the standard buttons,
scrollbars, checkboxes etc.. that you see everywhere. Are there any
examples out there of a site that someone has done that doesn't look
like the standard Flex UI?
  
 thanks
  
  
 Ryan Sabir
 Technical Director
 
 p: (02) 9274 8030
 f: (02) 9274 8099
 m: 0411 512 454
 w: www.newgency.comNewgency Pty Ltd
 Web | Multimedia | eMarketing
 
 224 Riley St
 Surry Hills NSW 2010
 Sydney, Australia








--
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] Re: Choice of backend systems - which provides best functionality

2006-08-24 Thread Dave Wolf
Given our own license we will almost always look towards developing on
a J2EE infrastructure running on Apache Tomcat using Apache AXIS SOAP
web services.  This platform provides unquestioned scalability and
reliability. 

Flex integrates absolutely seamlessly into this environment inlcuding
RPC, session management and security.  Your back-end infrastructure
will be based on open standards and can be developed with great
separation of concerns allowing you to have a complete services
oriented architecture that is flexible and easy to expand and integrate.  

Our user-centric front to back development approach helps make sure
the end state is exactly that, and using best of breed tools and
frameworks readily available in the Java/J2EE camps you can
signigicantly reduce the complexity involved in its development.  

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY


--- In flexcoders@yahoogroups.com, rhlarochelle [EMAIL PROTECTED]
wrote:

 I am new to Flex 2, and have the opportunity to develop a new
 application. Given all of the choices of back end technology out there
 (J2EE, Coldfusion, PHP), which will provide for the richest user
 experience?
 
 It seems that leveraging J2EE and Java gives the best potential for
 sharing objects (and updates to objects ) over the wire. Have I got
 this right?








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




[Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems - which provides

2006-08-23 Thread Dave Wolf
One quite important thing to keep in mind is that in many cases (say
Java) the exact same servant class can be used for either RemoteObject
or WebService, which means the server-side processing actually is
basically identical.  It also means that switching from RemoteObject
to a web service is almost as simple as copying the classes from one
directory to another.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Jack Caldwell [EMAIL PROTECTED] wrote:

 Martin:
  
 OK . . . . so the lag time is when the data gets back to the end-user?
  
 Bottom line . . . . with all things being equal . . . .
  
 Does a web service request take longer to process on the server than
 a AMF request?
  
 If the answer is . . . . in general yes, then that can be an issue
with an
 increase in users.
  
 If the answer is . . . . it depends on the data being requested
and/or the
 data format then that seems to suggest that everyone must run tests to 
 compare results and then test again based on scaling up.
  
 Is that about right?
  
 Thanks,
  
 Jack
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Martin Wood
 Sent: Wednesday, August 23, 2006 8:13 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend
systems
 - which provides
 
 
 
 
 
 Jack Caldwell wrote:
  Dave:
  
  I agree that a 1/3 of a second is not going to be noticed by the
end-user.
  
  However, when you add 100s or 1,000s of users . . . . does that make a
  difference?
  
  I don't know . . . . that's why I am asking. You guys have the
experience.
 
 It doesn't make any difference as the timings are on the client
side, not
 the 
 server.
 
 There will be some difference in time required to handle requests on the
 server 
 which may be down to the data format but they would have to be
investigated
 on a 
 case by case basis.
 
 martin.







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




[Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems - which provides

2006-08-23 Thread Dave Wolf
--- In flexcoders@yahoogroups.com, Tom Lee [EMAIL PROTECTED] wrote:

 Do I think I should have to be making 10 sequential web service
calls? No.
 But then again, I don't develop web services.
 


Which is an interesting loop back to my initial reply to this thread
where I discussed developing RIA's from  the front to the back or as
DK pointed out, using the UI to drive out the middle tier API's.  

See the issue you have isnt with the choice of marshalling prototcol.
 The issue is with an API that holds no fidelity with the user
experience you are trying to present.  In your case having to make
multiple sequential calls.  In other cases it can be much worse where
the RIA has to shread and re-combine data feeds to match the experience.  

This is exactly what I pointed out as being one of the largest
contributors to a poorly peforming RIA.  It is the elephant in the room. 

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY




 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Dave Wolf
 Sent: Tuesday, August 22, 2006 4:20 PM
 To: flexcoders@yahoogroups.com
 Subject: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend
systems -
 which provides
 
 I simply have to disagree here.  We can demonstrate several in
 production applications which we have developed using SOAP XML
 WebServices and they perform like a champ.  One of them was the runner
 up for last years MAX award.  The majority of the applications we
 develop use this architecture and to date not a single time has a
 client nor a user complained about the performance of runtime data
 services based on SOAP.
 
 There are a few false rumors that continue to creep up in the Flex
 community about the performance issues around SOAP.
 
 There are benchmarks which show that AMF can be drastically faster
 than a SOAP call for the same data.  Sometimes even 100% faster.  Yup
 that's true there are.  But you have to peel away the layers of the
 onion to see the reality.  Statistics can be misleading.  For
 instance, if AMF is 300 milliseconds and SOAP is 600 milliseconds the
 100% difference isnt even relative.  How many people do you know who
 can even see 1/3 of a seconds difference?  In the end raw marshalling
 isnt the issue, it is the user and their experience.  Flex2 made
 DRASTIC improvements it the performance of XML parsing and in our own
 benchmarks the delta between the two services choices is often as low
 as 10%.
 
 Of a much greater impact that the marshalling time is the UI
 shredding and binding of the data.  Most badly performing RIA's
 suffer from data being returned from the back-end in a format that
 holds no fidelity with the RIA.  This requires the RIA to tear apart
 the returned structural data and place it into its own structures and
 objects and bind those to UI controls.  Developing your user
 experience in a front-to-back approach which assures great fidelity
 between the data formats of the tiers can account for an order of
 magnitude performance increase.  That is the kind of performance
 increase users will actually experience.  
 
 There are many other very smart things you can do like extending
 existing controls to do streaming rendering of data to provide the
 perception of speed, server side paging, caching, etc.  
 
 In the end perception is reality.  All that matters from the UI
 perspective is the experience that the user has.  Worring about 300
 milliseconds is like trying to debate the number of angels that could
 dance on the end of a pin.  If the user can't see them, it doesn't
 matter how many there are.
 
 The running rumor that you simply cannot develop first class RIAs in
 Flex using a SOAP web services back-end is simply not accurate, and we
 have the apps in production with our clients to prove it.
 
 
 -- 
 Dave Wolf
 Cynergy Systems, Inc.
 Adobe Flex Alliance Partner
 http://www.cynergysystems.com
 http://www.cynergysystems.com/blogs
 
 Email:  [EMAIL PROTECTED]
 Office: 866-CYNERGY
 
 
 
 
 
 --- In flexcoders@yahoogroups.com, Shannon Hicks shan@ wrote:
 
  Bob-
   
  Web Services / HTTP services are not built to be the primary backend
 of your
  flex applications. Because they are XML based, they have quite a bit
 more
  overhead than flex's built-in AMF (Action Message Format). AMF is
 smaller,
  faster and uses less bandwidth than XML. AMF is what FDS and
ColdFusion
  7.0.2 use to communicate to a Flex app.
   
  So let's say that your question is narrowed down to FDS or CF?.
 Adobe's
  ideal answer is yes. They are complimentary to each other, CF
 allows for
  wonderful rapid development of Flex apps, and FDS brings some amazing
  features to the table through it's Messaging an Data Management
 services.
   
  Web Services (SOAP) support is in Flex primarily to consume
third-party
  data, allowing you to add it to your app

[Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems - which provides

2006-08-23 Thread Dave Wolf
Basically every webcontainer these days supports GZIP compression.  We
use Tomcat in many circumstances which is hyper configurable.  We can
actually tell it to only compress the SOAP traffic and to do so when
it exceeds N bytes etc.  So in effect we turn SOAP into a compressed
binary format. That makes that differential much less relevant.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY


--- In flexcoders@yahoogroups.com, Tom Lee [EMAIL PROTECTED] wrote:

 I'm sure someone already pointed this out, but network latency is also a
 factor.  AMF is a compressed format, so it can load faster and in
that sense
 make your app more responsive.  With XML web services, the tags
themselves
 add a degree of overhead.  There are schemes for compressing web
services
 which can help.
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Martin Wood
 Sent: Wednesday, August 23, 2006 11:27 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend
systems
 - which provides
 
 
 
 Jack Caldwell wrote:
  Martin:
   
  OK . . . . so the lag time is when the data gets back to the end-user?
 
 exactly, its the time it takes for the flash player or actionscript
code to 
 convert the incoming data into a format usable by the application.
 
 Before in the flash world that was a big deal as XML processing was
 expensive 
 and often tedious to code whilst remoting was natively implemented and
 provided 
 you with typed business objects as a result of the call.
 
 With Flex 2 the differences are not so important as the features
like data 
 binding and e4x pretty much level the playing field for the data
formats.
 
 
  Bottom line . . . . with all things being equal . . . .
   
  Does a web service request take longer to process on the server than
  a AMF request?
   
  If the answer is . . . . in general yes, then that can be an issue
with an
  increase in users.
   
  If the answer is . . . . it depends on the data being requested
and/or the
  data format then that seems to suggest that everyone must run
tests to 
  compare results and then test again based on scaling up.
 
 I suppose one of the main factors would be the server code that
handles the 
 incoming request and then transforms the business data into the required
 format 
 to send back to the client.
 
 That could be anything from some hand written php code to a commercial
 remoting 
 gateway.
 
 Its so context dependent that its impossible to make a general
statement of
 the
 type 'Remoting performs better than Web Services'
 
 It would be interesting to see a comparison of the throughput you could
 expect 
 when comparing different solutions on the same server hardware, e.g.
PHP 
 Nu-Soap against AMFPHP.. Jrun's remoting vs. OpenAMF vs JAX-WS etc..
 
 and where they each perform the same business operation and return
the same
 data..
 
 but then there are other concerns such as memory usage and what else the
 server 
 is used for and how it performs for those use cases.
 
 thats what i mean by you have to take it on a case by case basis.
 
 :)
 
 martin
 
 
 --
 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/

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





[Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems - which provides

2006-08-23 Thread Dave Wolf
That is *exactly* what I am suggesting.  Although not quite letting
my UI drive the API, but using it to drive my API yes.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Douglas Knudsen
[EMAIL PROTECTED] wrote:

 Dave, by
 Developing your user
 experience in a front-to-back approach which assures great fidelity
 between the data formats of the tiers can account for an order of
 magnitude performance increase.  That is the kind of performance
 increase users will actually experience
 
 In short you are suggesting letting your UI drive the API the UI
uses, eh?
 
 DK
 
 On 8/22/06, Dave Wolf [EMAIL PROTECTED] wrote:
 
  I simply have to disagree here.  We can demonstrate several in
  production applications which we have developed using SOAP XML
  WebServices and they perform like a champ.  One of them was the runner
  up for last years MAX award.  The majority of the applications we
  develop use this architecture and to date not a single time has a
  client nor a user complained about the performance of runtime data
  services based on SOAP.
 
  There are a few false rumors that continue to creep up in the Flex
  community about the performance issues around SOAP.
 
  There are benchmarks which show that AMF can be drastically faster
  than a SOAP call for the same data.  Sometimes even 100% faster.  Yup
  that's true there are.  But you have to peel away the layers of the
  onion to see the reality.  Statistics can be misleading.  For
  instance, if AMF is 300 milliseconds and SOAP is 600 milliseconds the
  100% difference isnt even relative.  How many people do you know who
  can even see 1/3 of a seconds difference?  In the end raw marshalling
  isnt the issue, it is the user and their experience.  Flex2 made
  DRASTIC improvements it the performance of XML parsing and in our own
  benchmarks the delta between the two services choices is often as low
  as 10%.
 
  Of a much greater impact that the marshalling time is the UI
  shredding and binding of the data.  Most badly performing RIA's
  suffer from data being returned from the back-end in a format that
  holds no fidelity with the RIA.  This requires the RIA to tear apart
  the returned structural data and place it into its own structures and
  objects and bind those to UI controls.  Developing your user
  experience in a front-to-back approach which assures great fidelity
  between the data formats of the tiers can account for an order of
  magnitude performance increase.  That is the kind of performance
  increase users will actually experience.
 
  There are many other very smart things you can do like extending
  existing controls to do streaming rendering of data to provide the
  perception of speed, server side paging, caching, etc.
 
  In the end perception is reality.  All that matters from the UI
  perspective is the experience that the user has.  Worring about 300
  milliseconds is like trying to debate the number of angels that could
  dance on the end of a pin.  If the user can't see them, it doesn't
  matter how many there are.
 
  The running rumor that you simply cannot develop first class RIAs in
  Flex using a SOAP web services back-end is simply not accurate, and we
  have the apps in production with our clients to prove it.
 
 
  --
  Dave Wolf
  Cynergy Systems, Inc.
  Adobe Flex Alliance Partner
  http://www.cynergysystems.com
  http://www.cynergysystems.com/blogs
 
  Email:  [EMAIL PROTECTED]
  Office: 866-CYNERGY
 
 
 
 
 
  --- In flexcoders@yahoogroups.com, Shannon Hicks shan@ wrote:
  
   Bob-
  
   Web Services / HTTP services are not built to be the primary backend
  of your
   flex applications. Because they are XML based, they have quite a bit
  more
   overhead than flex's built-in AMF (Action Message Format). AMF is
  smaller,
   faster and uses less bandwidth than XML. AMF is what FDS and
ColdFusion
   7.0.2 use to communicate to a Flex app.
  
   So let's say that your question is narrowed down to FDS or CF?.
  Adobe's
   ideal answer is yes. They are complimentary to each other, CF
  allows for
   wonderful rapid development of Flex apps, and FDS brings some
amazing
   features to the table through it's Messaging an Data Management
  services.
  
   Web Services (SOAP) support is in Flex primarily to consume
third-party
   data, allowing you to add it to your app.
  
   Hope this points you in the right direction.
  
   Shan
  
  _
  
   From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
   Behalf Of rhlarochelle
   Sent: Tuesday, August 22, 2006 10:27 AM
   To: flexcoders@yahoogroups.com
   Subject: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend
  systems -
   which provides best functionality
  
  
  
   Franck,
  
   I appreciate your respons. When you say Remote Objects/Flex Data
   Services provides the most advanced

[flexcoders] Re: Choice of backend systems - which provides best functionality

2006-08-23 Thread Dave Wolf
Darren,

Flex inherits the HTTP session that the page which contained the EMBED
tag acquired.  Dont forget that HTTP/HTML is entirely stateless and
yet we can easily secure those.  The theory is identical with Flex.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Darren Houle [EMAIL PROTECTED] wrote:

 Franck,
 
 I agree with you, but... how do you handle security in a stateless
back-end? 
   I mean... how do you maintain logged-in / user session
information?  Or 
 unauthorized access of the web services by others?  If Flex is
*completely* 
 agnostic of the back-end technology then how do you securely link them 
 together?
 
 Darren
 
 
 
 
 From: Franck de Bruijn [EMAIL PROTECTED]
 Reply-To: flexcoders@yahoogroups.com
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Re: Choice of backend systems - which
provides 
 best functionality
 Date: Tue, 22 Aug 2006 18:03:24 +0200
 
 Hi Barry,
 
 
 
 I'm not sure if I can be of much help here. I'm not into PHP, I'm
not into
 FDS and remoting and the AMF protocol that is related to it. For
me, but
 that is totally a personal opinion, the only acceptable solution for
 communication with a back-end is webservices, and nothing else.
Briefly 
 here
 are my reasons:
 
 *The coolest thing about Flex is not the graphics ... but that you
 can make your server stateless, meaning that you obtain 100% fail-over
 characteristics including linear scalability. With FDS (or any other 
 related
 solution) you highly likely lose this `feature' and my guess is that
 scalability will be tougher to achieve; for sure it is harder to
guarantee
 ... with a stateless server solution you can. And we always want to
grow
 with our applications, don't we???
 *I like to keep my Flex layer totally independent of my back-end
 layer. My back-end layer should not be aware by any means of the client
 technology. With webservices you realize this. With FDS (or any other
 related solution) you get a vendor lock-in, which I consider
undesirable.
 *The trend in my business is that more and more you get projects only
 for a front-end or back-end solution. In the past it occurred more
that you
 had to build them together, but that is changing. It's very
acceptable to
 request a back-end to expose its operations through webservices.
It's not
 very accetable to request them to expose it via FDS or something
like that.
 
 
 
 To be fair, there are some disadvantages using web services as
well; among
 others:
 
 *No automatic conversion of the web service results into your custom
 action script classes. You have to make converters yourself to
accomplish
 this. With FDS/AMF I understand you can have this conversion
automatically
 done for you.
 *Performance. People tend to say that webservices are slow. It's true
 that the serialization/deserialization of the XML (both on client and
 server) side takes computing time. My experiences so far are that this 
 extra
 computing time is not causing any serious damage in the user
experience.
 *Flex has some trouble communicating with DOC/Literal encoded
 webservices. Especially in the .Net corner this is causing
problems. But
 that should be temporarily ... The adobe guys are working on it and
 hopefully in a next release these issues will be fixed.
 
 
 
 For me the advantages of webservices by far outweigh the
disadvantages. So
 if you ask me: use webservices! You keep your freedom ...
 
 
 
 Cheers,
 
 Franck
 
 
 
 
 
_
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of barry.beattie
 Sent: Tuesday, August 22, 2006 9:50 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Choice of backend systems - which
provides best
 functionality
 
 
 
 Franck and Doug: may I be so bold as to include here some information
 I sent to our programming team for them to have some context?
 
 I offer it here as a talking point only - and would invite any
 comments or corrections to help me gain a better understanding myself
 ... this has just been gathered by my own ad-hoc investigations. the
 context of the email was a report that Adobe were seriously targeting
 PHP developers for Flex.
 
 
 regarding Flash remoting: some background to put it into context:
 
 there are three basic ways of getting communication happening between
 a SWF (now-a-days built with Flex) and server-side code:
 
 webservices
 XML HTTP requests
 Flash Remoting (using the Async Message Format - AMF)
 
 PHPAMF (Flash remoting with PHP) is not a Macromedia/Adobe product. It
 was reverse engineered by the PHP community to use Flash remoting.
 It's been around for a few years (that I know of) and may be even more
 popular than CF-AMF (don't know for sure)
 
 here's the important bit:
 
 PHPAMF, OpenAMF, the Adobe .NET/ Java remoting add

[flexcoders] Re: Choice of backend systems - which provides best functionality

2006-08-23 Thread Dave Wolf
Is there a HTTP based back end that does not support server-side sessions?

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY


--- In flexcoders@yahoogroups.com, Darren Houle [EMAIL PROTECTED] wrote:

 True, but then you're relying on server side sessions... that's
stateless, 
 but not independant of the back-end technology.
 
 Darren
 
 
 From: Dave Wolf [EMAIL PROTECTED]
 Reply-To: flexcoders@yahoogroups.com
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Choice of backend systems - which
provides best 
 functionality
 Date: Wed, 23 Aug 2006 21:53:39 -
 
 Darren,
 
 Flex inherits the HTTP session that the page which contained the EMBED
 tag acquired.  Dont forget that HTTP/HTML is entirely stateless and
 yet we can easily secure those.  The theory is identical with Flex.
 
 --
 Dave Wolf
 Cynergy Systems, Inc.
 Adobe Flex Alliance Partner
 http://www.cynergysystems.com
 http://www.cynergysystems.com/blogs
 
 Email:  [EMAIL PROTECTED]
 Office: 866-CYNERGY
 
 --- In flexcoders@yahoogroups.com, Darren Houle lokka_@ wrote:
  
   Franck,
  
   I agree with you, but... how do you handle security in a stateless
 back-end?
 I mean... how do you maintain logged-in / user session
 information?  Or
   unauthorized access of the web services by others?  If Flex is
 *completely*
   agnostic of the back-end technology then how do you securely
link them
   together?
  
   Darren
  
  
  
  
   From: Franck de Bruijn franck.de.bruijn@
   Reply-To: flexcoders@yahoogroups.com
   To: flexcoders@yahoogroups.com
   Subject: RE: [flexcoders] Re: Choice of backend systems - which
 provides
   best functionality
   Date: Tue, 22 Aug 2006 18:03:24 +0200
   
   Hi Barry,
   
   
   
   I'm not sure if I can be of much help here. I'm not into PHP, I'm
 not into
   FDS and remoting and the AMF protocol that is related to it. For
 me, but
   that is totally a personal opinion, the only acceptable
solution for
   communication with a back-end is webservices, and nothing else.
 Briefly
   here
   are my reasons:
   
   *The coolest thing about Flex is not the graphics ... but that 
   you
   can make your server stateless, meaning that you obtain 100%
fail-over
   characteristics including linear scalability. With FDS (or any
other
   related
   solution) you highly likely lose this `feature' and my guess is
that
   scalability will be tougher to achieve; for sure it is harder to
 guarantee
   ... with a stateless server solution you can. And we always want to
 grow
   with our applications, don't we???
   *I like to keep my Flex layer totally independent of my back-end
   layer. My back-end layer should not be aware by any means of
the client
   technology. With webservices you realize this. With FDS (or any
other
   related solution) you get a vendor lock-in, which I consider
 undesirable.
   *The trend in my business is that more and more you get
projects only
   for a front-end or back-end solution. In the past it occurred more
 that you
   had to build them together, but that is changing. It's very
 acceptable to
   request a back-end to expose its operations through webservices.
 It's not
   very accetable to request them to expose it via FDS or something
 like that.
   
   
   
   To be fair, there are some disadvantages using web services as
 well; among
   others:
   
   *No automatic conversion of the web service results into your
custom
   action script classes. You have to make converters yourself to
 accomplish
   this. With FDS/AMF I understand you can have this conversion
 automatically
   done for you.
   *Performance. People tend to say that webservices are slow.
It's true
   that the serialization/deserialization of the XML (both on
client and
   server) side takes computing time. My experiences so far are
that this
   extra
   computing time is not causing any serious damage in the user
 experience.
   *Flex has some trouble communicating with DOC/Literal encoded
   webservices. Especially in the .Net corner this is causing
 problems. But
   that should be temporarily ... The adobe guys are working on it and
   hopefully in a next release these issues will be fixed.
   
   
   
   For me the advantages of webservices by far outweigh the
 disadvantages. So
   if you ask me: use webservices! You keep your freedom ...
   
   
   
   Cheers,
   
   Franck
   
   
   
   
   
  _
   
   From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
   Behalf Of barry.beattie
   Sent: Tuesday, August 22, 2006 9:50 AM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Re: Choice of backend systems - which
 provides best
   functionality
   
   
   
   Franck and Doug: may I be so bold as to include here some
information
   I sent to our programming team for them to have some context?
   
   I offer it here

[Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems - which provides

2006-08-22 Thread Dave Wolf
I simply have to disagree here.  We can demonstrate several in
production applications which we have developed using SOAP XML
WebServices and they perform like a champ.  One of them was the runner
up for last years MAX award.  The majority of the applications we
develop use this architecture and to date not a single time has a
client nor a user complained about the performance of runtime data
services based on SOAP.

There are a few false rumors that continue to creep up in the Flex
community about the performance issues around SOAP.

There are benchmarks which show that AMF can be drastically faster
than a SOAP call for the same data.  Sometimes even 100% faster.  Yup
that's true there are.  But you have to peel away the layers of the
onion to see the reality.  Statistics can be misleading.  For
instance, if AMF is 300 milliseconds and SOAP is 600 milliseconds the
100% difference isnt even relative.  How many people do you know who
can even see 1/3 of a seconds difference?  In the end raw marshalling
isnt the issue, it is the user and their experience.  Flex2 made
DRASTIC improvements it the performance of XML parsing and in our own
benchmarks the delta between the two services choices is often as low
as 10%.

Of a much greater impact that the marshalling time is the UI
shredding and binding of the data.  Most badly performing RIA's
suffer from data being returned from the back-end in a format that
holds no fidelity with the RIA.  This requires the RIA to tear apart
the returned structural data and place it into its own structures and
objects and bind those to UI controls.  Developing your user
experience in a front-to-back approach which assures great fidelity
between the data formats of the tiers can account for an order of
magnitude performance increase.  That is the kind of performance
increase users will actually experience.  

There are many other very smart things you can do like extending
existing controls to do streaming rendering of data to provide the
perception of speed, server side paging, caching, etc.  

In the end perception is reality.  All that matters from the UI
perspective is the experience that the user has.  Worring about 300
milliseconds is like trying to debate the number of angels that could
dance on the end of a pin.  If the user can't see them, it doesn't
matter how many there are.

The running rumor that you simply cannot develop first class RIAs in
Flex using a SOAP web services back-end is simply not accurate, and we
have the apps in production with our clients to prove it.


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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY





--- In flexcoders@yahoogroups.com, Shannon Hicks [EMAIL PROTECTED] wrote:

 Bob-
  
 Web Services / HTTP services are not built to be the primary backend
of your
 flex applications. Because they are XML based, they have quite a bit
more
 overhead than flex's built-in AMF (Action Message Format). AMF is
smaller,
 faster and uses less bandwidth than XML. AMF is what FDS and ColdFusion
 7.0.2 use to communicate to a Flex app.
  
 So let's say that your question is narrowed down to FDS or CF?.
Adobe's
 ideal answer is yes. They are complimentary to each other, CF
allows for
 wonderful rapid development of Flex apps, and FDS brings some amazing
 features to the table through it's Messaging an Data Management
services.
  
 Web Services (SOAP) support is in Flex primarily to consume third-party
 data, allowing you to add it to your app.
  
 Hope this points you in the right direction.
  
 Shan
 
_  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of rhlarochelle
 Sent: Tuesday, August 22, 2006 10:27 AM
 To: flexcoders@yahoogroups.com
 Subject: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend
systems -
 which provides best functionality
 
 
 
 Franck,
 
 I appreciate your respons. When you say Remote Objects/Flex Data
 Services provides the most advanced way of interoperating with the
 backend, what specifically is possible?
 
 What are the capabilities that I would get leveraging Remote
 Objects/Flex Data Services that I would not get (or would be difficult
 to implement) with Web services or HTTP services. If there are
 resources on the Adobe site that spell this out, please point me to
them.
 
 Since we are looking at the different possibilities and we have
 somewhat of a blank slate, the more I can go into this with open eyes
 the better. I appreciate everyone who responded being willing to guide
 someone new to this architecture.
 
 Thanks,
 Bob
 
 --- In HYPERLINK
 mailto:flexcoders%40yahoogroups.com[EMAIL PROTECTED], Franck de
 Bruijn
 franck.de.bruijn@ wrote:
 
  Flex is supposed to be backend independent. So you should choose the
  technology you're most comfortable with.
  
  
  
  There are in general 3 ways of integrating with your back-end:
  
  * webservices: total freedom

[flexcoders] Re: Web services or FDS: which are you using?

2006-08-16 Thread Dave Wolf
Ben,

We have been huge proponents of using Web Services with Flex for
nearly two years now.  The majority of the applications we develop for
folks use either SOAP or REST styled web services.  

Some of our clients do use CF and / or RemoteObject back-ends and we
work into their infrastructures, but left to our own devices, our
reccomendation has always been Web Services.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY


--- In flexcoders@yahoogroups.com, ben.clinkinbeard
[EMAIL PROTECTED] wrote:

 In my ongoing crusade to increase the attention given by Adobe to web
 service support in Flex, I decided to do a little impromptu survey. My
 feeling is that its a mistake to focus so heavily on FDS in regards to
 articles, tutorials and the like when such a small percentage of
 organizations will actually deploy the technology.
 
 So, which are you using? I am more interested in actual production
 apps, rather than personal projects used for learning or
 experimentation purposes.
 
 Personally, I am evaluating Flex as the front end for an application
 that relies heavily on .NET web services.
 
 Ben
 http://www.returnundefined.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/

* 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] Re: Image reading from Oracle Intermedia

2006-08-10 Thread Dave Wolf
That is exactly how we have done it.  Writing a Servlet to return the
stream of the image is dead simple and then as you said you set it as
the source URL.

Its also very handy when you want one static URL in the MXML but
variable images based on some setting or environment.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY


--- In flexcoders@yahoogroups.com, The Irrelevant Elephant
[EMAIL PROTECTED] wrote:

 tinywhistles wrote:
  I am storing images in Oracle Database using Oracle Intermedia. I need
  to display the images directly on the UI without storing them into the
  server filesystem. This I have achieved using JSP by embedding
  scriplets.
  
  Now I'm trying to render the same images using Flex and AMF. Could
  anyone pls share his thoughts on how to do this ?
 
 How about serving the images on an URL that the Flash Player can
access. 
   E.g. http://www.foo.bar/getimage.jsp?image=someid - then you only
need 
 use the appropriate 'source' in any components that display an image. 
 Whichever way you do it, the JSP will need to be responsible for 
 retrieving the image from the database.
 
 HTH
 
 - IE







--
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] Re: [Flex2] What do you use for modelling a Flex2 application...?

2006-08-09 Thread Dave Wolf
Thomas,

Yes EA is a quite nice product.  The price is even nicer!  This was
the product I suggested in my reply to this thread.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY


--- In flexcoders@yahoogroups.com, Thomas Rühl [EMAIL PROTECTED] wrote:

 
 Hey folks, to keep up the thinking ;)
 
 After some days of testing, testing and well... testing the UML tools 
 out there, I think I finally found something that might work well for 
 me. My tool of choice is Enterprise Architect by SparxSoftware:  
 http://www.sparxsystems.com
 
 Some of the others, that I had my hands on are:
 * ArgoUML
 * MagicDraw
 * Visio
 * some others
 
 They all - well, except Visio which s*cks - have a touch of Java in
them 
 - as if it is the only programming language available. In my opinion, 
 the Enterprise Architect will be the best solution for me, since it is 
 the most unspecific in terms of the programming languages. It has 
 Actionscript support implementet though, but I didn't see the need to 
 turn that on explicitly.
 
 Again, thanks for all your interest in the discussion.
 
 Cheers, Thomas
 
 
   
   Thomas Rühl
   Design, Programming  Concepts
   
   akitogo OHG
   Hanauer Landstrasse 188
   60314 Frankfurt
   
   Telefon +49 (0) 69 800 69 445
   Fax +49 (0) 69 800 69 449
   Mobil   +49 (0) 179 750 75 87
   E-Mail  [EMAIL PROTECTED]
   Web http://www.akitogo.com
   
 
 
 
 
 Bjorn Schultheiss wrote:
 
  D,
   
  OK cool,
   
  I retract the comment earlier about the contradicting statement.
   
  From your description i see the combination of both the HOW and the 
  WHAT as the definition of a front end developer.
  My understanding is that the HOW process is where the designer aspect 
  of the developer comes into play and the WHAT process is where the
OOP 
  Code Freak aspect of the developer comes into play.
  To me the HOW is a visual question while the WHAT is the 
  code implementation of the HOW solution.
   
  Perhaps this definition is not what originally intended but does it 
  make sense?
   
  Regards,
   
  Bjorn Schultheiss
  Senior Flash Developer
  QDC Technologies
   
 
 

  *From:* flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] 
  *On Behalf Of *Dave Wolf
  *Sent:* Tuesday, 8 August 2006 10:46 AM
  *To:* flexcoders@yahoogroups.com
  *Subject:* [flexcoders] Re: [Flex2] What do you use for modelling a 
  Flex2 application...?
 
 
  I think you are misunderstanding that I am saying. Let me try it this
  way and see if my point comes across more clearly.
 
  A large portion of UML is dedicated to answering the question of WHAT
  you are developing. For example, use cases and activity diagrams both
  focus on figuring out WHAT the problem set involves. So as an
  example, WHAT you are designing might be an account registration
  process which needs to support the ability to validate a users
  password by a pluggable number of password rules. That is the WHAT.
  It doesnt go into HOW you plan to implement that screen or process.
 
  The HOW side would be modelled in something like a class diagram or a
  state transtion diagram. It might model that you need to create an
  interface (code not graphical interface) which defines an API for a
  pluggable set of rules (say the Command pattern that Cainforn loves so
  much) etc. UML can wonder from the WHAT and into the HOW in certain
  digrams. Some UML tools can generate source code to implement the HOW
  side of the equation.
 
  Yes I would argue that there is a lack of Flex specific UML tooling,
  but Flex is very new. I would not be surprised to see more UML code
  generation tools. Then again there are actually quite a few UML tools
  that can generate AS itself. A quick Google search reveals many.
 
 
http://www.google.com/search?q=actionscript+UMLstart=0ie=utf-8oe=utf-8client=firefox-arls=org.mozilla:en-US:official

 
http://www.google.com/search?q=actionscript+UMLstart=0ie=utf-8oe=utf-8client=firefox-arls=org.mozilla:en-US:official
 
  I'm quite a fan of a product called Enterprise Architect which has
  ActionScript 2 support in it. Check it out at
 
  http://www.sparxsystems.com/ea.htm
http://www.sparxsystems.com/ea.htm
 
  Hopefully I made my point about the difference between WHAT and HOW in
  UML. The confusion came in that you were not interested in code
  generation.
 
  I will leave my editorial comments about code generation and Caingorn
  for another thread. For folks that have followed my threads here for
  the last few years I think my position is well known.
 
  -- 
  Dave Wolf
  Cynergy Systems, Inc.
  Adobe Flex Alliance Partner
  http://www.cynergysystems.com http://www.cynergysystems.com
  http://www.cynergysystems.com/blogs
http

[flexcoders] Re: [Flex2] What do you use for modelling a Flex2 application...?

2006-08-07 Thread Dave Wolf
What sorts of tools are you talking about that Java has that you miss
with Flex?

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Thomas Rühl -akitogo-
[EMAIL PROTECTED] wrote:

 
 Thanks for your interest so far... but this isn't really the
direction I 
 intended to point out.
 
 Dave, I know that the documentation and modelling process basically 
 doesn't depend on HOW an application is written. I'm not trying from 
 model to generated code, although it would be really neat to do so in 
 some cases ;)
 
 My concern is to evolve a process, starting with modelling an 
 application the good old way using software architecture 
 possibilities. This not only helps me to evaluate and improve an 
 application, in fact it is also important for me regarding
documentation 
 and maintenance processes.
 
 Again, I do not necessarily want to generate the code based on a UML or 
 other kind of diagrams, my interest targets the development process 
 before actual implementation starts.
 
 As I said, for the Java world, there are lots of tools which we are 
 missing for Flex at the moment. Problem being, these tools are mostly 
 Java specific (for which I think they shouldn't), since they DO want to 
 generate code out of the model. And this is the reason I am interested 
 in how other folks do the modeling.
 
 Cheers, Thomas
 
 
   
   Thomas Rühl
   Design, Programming  Concepts
   
   akitogo OHG
   Hanauer Landstrasse 188
   60314 Frankfurt
   
   Telefon +49 (0) 69 800 69 445
   Fax +49 (0) 69 800 69 449
   Mobil   +49 (0) 179 750 75 87
   E-Mail  [EMAIL PROTECTED]
   Web http://www.akitogo.com
   
 
 
 
 
 Jason wrote:
 
  There are several AS2 model2code generators such as:
  http://www.darronschall.com/weblog/archives/000174.cfm 
  http://www.darronschall.com/weblog/archives/000174.cfm
  http://www.codealloy.com/umlconverter.htm 
  http://www.codealloy.com/umlconverter.htm
  and some others I can't remember right now.
 
  It will just be a matter of time untill someone updates one of the
  projects for AS3, and ideally for Cairngorm.
  I poked around on sourceforge, but did not see an started project.
 
  Darron Schall my be willing to provide his source as a starting point
  for anyone looking to pick up the project -- it looks like he has a
  SVN repository set for the source.
 
  --jason
 
  --- In flexcoders@yahoogroups.com 
  mailto:flexcoders%40yahoogroups.com, Joost Nuijten 
  flexcoders@ wrote:
  
   I think what Thomas is trying to say:
  
   In the Java world there are a lot of powerful tools that generate
  the base
   skeleton of code out of a model. For the Flex world this is all hand
  work.
   And how do we cope with this?
  
   That is why it is important that we have a framework such as
  Cairngorm. The
   one thing that we do not have is an automated tool that
generates the
   Cairngorm base skeleton.
  
   ** thinking about creating one myself **
  
   Joost
  
   _
  
   Van: flexcoders@yahoogroups.com 
  mailto:flexcoders%40yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com]
  Namens
   Dave Wolf
   Verzonden: maandag 7 augustus 2006 2:33
   Aan: flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com
   Onderwerp: [flexcoders] Re: [Flex2] What do you use for modelling a
  Flex2
   application...?
  
  
  
   Why does the implementation language (the HOW) have anything
   significant to do with the modelling and documentation solution you
   use (the WHAT) ?
  
   Are you trying to go from model to generated code?
  
   If modelling is important to your development process, tried and
   trusted modelling solutions such as UML would be capable of
   documenting and managing the WHAT side of the development process
   regardless of the implementation HOW language.
  
   --
   Dave Wolf
   Cynergy Systems, Inc.
   Adobe Flex Alliance Partner
   http://www.cynergys http://www.cynergysystems.com 
  http://www.cynergysystems.com ystems.com
   http://www.cynergys http://www.cynergysystems.com/blogs 
  http://www.cynergysystems.com/blogs
  ystems.com/blogs
  
   Email: [EMAIL PROTECTED] mailto:dave.wolf%40cynergysystems.com
  stems.com
   Office: 866-CYNERGY
  
   --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com
  ups.com,
   Thomas R�hl -akitogo-
   thomas.ruehl@ wrote:
   
   
Hi folks,
   
it's been a while now, since the Flex2 SDK is out and rockin' ;)
   
Not only for larger projects, multiple teams or team members and
documentation purpose, I'd like to know, what everyone is
using for
modelling a Flex application. For the Java world I know, the tools
available are very powerful and work very well out of the box and
integrate with each other. There are also

[flexcoders] Re: Security Question

2006-08-07 Thread Dave Wolf
As Dimitrios says, the security is all handled and managed by the J2EE
container.  That security model might be one of the most tried and
tested architectures in the last 10 years and is plenty robust.

But you do point out a big issue.  How many folks who are new to web
development and security in a distributed environment and have been
drawn to the RIA market from places where they didnt have to worry
about security and security models in general?  Then there is the need
to learn and understand the J2EE security model specifically.  How do
you configure encryption, authentication, authorization, etc?

In our case that was the world we came from and have simply adapted
our passion for the users experience into what we can do with a tool
like Flex.  

Do rest assured, we have exercised Flex and its integration into the
J2EE security model and it is quite seamless and transparent.  We have
some pretty bright cookies here in security (including folks like
authors of books on J2EE security) and have integrarated Flex with
almost all of it by now for our clients.  There's nothing about Flex
that is going to need that sticker.  Some developers who are new to
this all... well...

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY






--- In flexcoders@yahoogroups.com, Dimitrios Gianninas
[EMAIL PROTECTED] wrote:

 No, no sticker! There probably is limited documentation because:
  
 a) there is actually not much to configure
 b) since it is based on the J2EE security model, this is already
documented with your app server
  
 Really you just have to configure your roles in the
services-config.xml and then configure your RPC and FDS services to
use these roles. 
  
 When a remote calls comes in and no valid authenticated session
exists, the call will be rejected. So even if someone simulates this,
it will fail. 
  
 Dimitrios Gianninas
 RIA Developer
 Optimal Payments Inc.
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of hank williams
 Sent: Monday, August 07, 2006 9:37 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Security Question
 
 
 
 
 
 
 On 8/7/06, Dimitrios Gianninas [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote: 
 
   My company is releasing its first external facing Flex application
it is used by our clients to updates various types of information. Yes
someone could create an application to simulate the Flex app, so here
are the two things to do:

   1) run the app under HTTPS - to encrypt all traffic
   2) use the role-based security provided by your J2EE server
 
  
 
 
   With #2, this means that before any incoming traffic is accepted by
flex, the user will have to be authenticated and if it is not, the
call is rejected. 

   This is the same for RPC or using FDS.
 
 
 
 I sort of assumed both of these, and in the flash version of my apps
I do something similar. But particularly with #2 using J2EE security
really requires expertise outside the scope of what is described and
documented for Flex or FDS. So this really means that out of the box,
Flex and particularly FDS is not secure since there are no API's to
facilitate this. It would seem to me that support for security would
be built into FDS. Interestingly though there is very little (at least
as far as I have seen) discussion about this. It just seems that every
Flex application is wearing a giant Hack Me sticker on its forehead. 
 
 Regards
 Hank
 
 
 
 
  
 
 -- 
 WARNING
 ---
 This electronic message and its attachments may contain
confidential, proprietary or legally privileged information, which is
solely for the use of the intended recipient.  No privilege or other
rights are waived by any unintended transmission or unauthorized
retransmission of this message.  If you are not the intended recipient
of this message, or if you have received it in error, you should
immediately stop reading this message and delete it and all
attachments from your system.  The reading, distribution, copying or
other use of this message or its attachments by unintended recipients
is unauthorized and may be unlawful.  If you have received this e-mail
in error, please notify the sender.
 
 AVIS IMPORTANT
 --
 Ce message électronique et ses pièces jointes peuvent contenir des
renseignements confidentiels, exclusifs ou légalement privilégiés
destinés au seul usage du destinataire visé.  L'expéditeur original ne
renonce à aucun privilège ou à aucun autre droit si le présent message
a été transmis involontairement ou s'il est retransmis sans son
autorisation.  Si vous n'êtes pas le destinataire visé du présent
message ou si vous l'avez reçu par erreur, veuillez cesser
immédiatement de le lire et le supprimer, ainsi que toutes ses pièces
jointes, de votre système.  La lecture, la distribution, la copie ou

[flexcoders] Re: fds/java problem (Unsupported major.minor version 49.0?)

2006-08-07 Thread Dave Wolf
That's absolutely what is happening.  Somewhere code compiled under
JDK1.5 is being loaded by the JDK1.4 VM.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Carson Hager [EMAIL PROTECTED]
wrote:

 It looks like you're running JDK 5.0 compiled classes under a 1.4 or
 earlier JVM.
  
  
 Carson
 
  
 Carson Hager
 Cynergy Systems, Inc.
 http://www.cynergysystems.com http://www.cynergysystems.com/ 
  
 Email:  [EMAIL PROTECTED]
 Office:  866-CYNERGY
 Mobile: 1.703.489.6466
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Paul Dale
 Sent: Monday, August 07, 2006 8:26 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] fds/java problem (Unsupported major.minor version
 49.0?)
 
 
 
 
 Hi there,
 I'm sure this is probably something really simple, but I'm having
 trouble
 figuring out what the actual problem is.
 
 I have a java class ( using spring/hibernate ) that was working fine on
 FDS
 beta 23. Now I'm trying to set it up on FDS express and am getting an
 error
 that I don't know how to debug.
 
 Any help or suggestions on how to further debug this would be most
 appreciated.
 
 Many thanks,
 
 Paul
 
 Using jrun standalone.
 
 8/07 17:19:45 user MessageBrokerServlet: init
 08/07 17:19:45 error Could not pre-load servlet: MessageBrokerServlet
 [2]java.lang.UnsupportedClassVersionError: radar/RadarBeans (Unsupported
 major.minor version 49.0)
 at java.lang.ClassLoader.defineClass0(Native Method)
 at java.lang.ClassLoader.defineClass(Unknown Source)
 at java.security.SecureClassLoader.defineClass(Unknown Source)
 at
 jrunx.util.JRunURLClassLoader.defineClass(JRunURLClassLoader.java:188)
 at
 jrunx.util.JRunURLClassLoader.findClass(JRunURLClassLoader.java:153)
 at
 jrunx.util.JRunURLClassLoader.loadFromLoadClass(JRunURLClassLoader.java:
 117)
 at
 jrunx.util.JRunURLClassLoader.loadClass(JRunURLClassLoader.java:81)
 at
 jrunx.util.JRunURLClassLoader.loadClass(JRunURLClassLoader.java:70)
 at java.lang.ClassLoader.loadClassInternal(Unknown Source)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Unknown Source)
 at flex.messaging.util.ClassUtil.createClass(ClassUtil.java:52)
 at
 flex.messaging.factories.JavaFactory$JavaFactoryInstance.getInstanceClas
 s(Ja
 vaFactory.java:244)
 at
 flex.messaging.factories.JavaFactory$JavaFactoryInstance.createInstance(
 Java
 Factory.java:251)
 at
 flex.messaging.factories.JavaFactory.createFactoryInstance(JavaFactory.j
 ava:
 93)
 at
 flex.messaging.FactoryDestination.getFactoryInstance(FactoryDestination.
 java
 :76)
 at flex.data.adapters.JavaAdapter.server(JavaAdapter.java:158)
 at flex.data.adapters.JavaAdapter.setSettings(JavaAdapter.java:119)
 at flex.messaging.Destination.createAdapter(Destination.java:279)
 at flex.messaging.Destination.initDestination(Destination.java:103)
 at
 flex.messaging.FactoryDestination.initDestination(FactoryDestination.jav
 a:58
 )
 at flex.data.DataService.createDestination(DataService.java:90)
 at
 flex.messaging.services.AbstractService.createDestinations(AbstractServi
 ce.j
 ava:82)
 at
 flex.messaging.config.MessagingConfiguration.createServices(MessagingCon
 figu
 ration.java:187)
 at
 flex.messaging.config.MessagingConfiguration.configureBroker(MessagingCo
 nfig
 uration.java:84)
 at
 flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:105)
 at
 jrun.servlet.WebApplicationService.loadServlet(WebApplicationService.jav
 a:12
 00)
 at
 jrun.servlet.WebApplicationService.preloadServlets(WebApplicationService
 .jav
 a:791)
 at
 jrun.servlet.WebApplicationService.postStart(WebApplicationService.java:
 293)
 at
 jrun.deployment.DeployerService.initModules(DeployerService.java:711)
 at
 jrun.deployment.DeployerService.createWatchedDeployment(DeployerService.
 java
 :242)
 at jrun.deployment.DeployerService.deploy(DeployerService.java:430)
 at
 jrun.deployment.DeployerService.checkWatchedDirectories(DeployerService.
 java
 :179)
 at jrun.deployment.DeployerService.run(DeployerService.java:891)
 at
 jrunx.scheduler.SchedulerService.invokeRunnable(SchedulerService.java:23
 0)
 at
 jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java
 :428
 )
 at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
 [1]flex.messaging.config.ConfigurationException: Error instantiating
 application scoped instance of type 'radar.RadarBeans' for destination
 'contactradar'.
 at
 flex.messaging.factories.JavaFactory.createFactoryInstance(JavaFactory.j
 ava:
 117)
 at
 flex.messaging.FactoryDestination.getFactoryInstance(FactoryDestination.
 java
 :76)
 at flex.data.adapters.JavaAdapter.server(JavaAdapter.java:158)
 at flex.data.adapters.JavaAdapter.setSettings(JavaAdapter.java:119)
 at flex.messaging.Destination.createAdapter

[flexcoders] Re: [Flex2] What do you use for modelling a Flex2 application...?

2006-08-07 Thread Dave Wolf
Again back to my original question.  What does the language have to do
with using this modelling tool?  If, as you say, you're not interested
in code generation?

You're confusing the WHAT with the HOW.


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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY
--- In flexcoders@yahoogroups.com, Thomas R�hl [EMAIL PROTECTED] wrote:

 
 Dave, for example OmondoUML:
 http://www.omondo.com
 
 I have to admit that I'm a little out of date myself regarding Java,
but 
 as far as I hear from my colleagues, the above should work really cool.
 
 Cheers, Thomas
 
 
   
   Thomas R�hl
   Design, Programming  Concepts
   
   akitogo OHG
   Hanauer Landstrasse 188
   60314 Frankfurt
   
   Telefon +49 (0) 69 800 69 445
   Fax +49 (0) 69 800 69 449
   Mobil   +49 (0) 179 750 75 87
   E-Mail  [EMAIL PROTECTED]
   Web http://www.akitogo.com
   
 
 
 
 
 Dave Wolf wrote:
 
  What sorts of tools are you talking about that Java has that you miss
  with Flex?
 
  -- 
  Dave Wolf
  Cynergy Systems, Inc.
  Adobe Flex Alliance Partner
  http://www.cynergysystems.com http://www.cynergysystems.com
  http://www.cynergysystems.com/blogs
http://www.cynergysystems.com/blogs
 
  Email: [EMAIL PROTECTED] 
  mailto:dave.wolf%40cynergysystems.com
  Office: 866-CYNERGY
 
  --- In flexcoders@yahoogroups.com 
  mailto:flexcoders%40yahoogroups.com, Thomas R�hl -akitogo-
  thomas.ruehl@ ... wrote:
  
  
   Thanks for your interest so far... but this isn't really the
  direction I
   intended to point out.
  
   Dave, I know that the documentation and modelling process basically
   doesn't depend on HOW an application is written. I'm not trying from
   model to generated code, although it would be really neat to do
so in
   some cases ;)
  
   My concern is to evolve a process, starting with modelling an
   application the good old way using software architecture
   possibilities. This not only helps me to evaluate and improve an
   application, in fact it is also important for me regarding
  documentation
   and maintenance processes.
  
   Again, I do not necessarily want to generate the code based on a
UML or
   other kind of diagrams, my interest targets the development process
   before actual implementation starts.
  
   As I said, for the Java world, there are lots of tools which we are
   missing for Flex at the moment. Problem being, these tools are
mostly
   Java specific (for which I think they shouldn't), since they DO
want to
   generate code out of the model. And this is the reason I am
interested
   in how other folks do the modeling.
  
   Cheers, Thomas
  
   
  
   Thomas R�hl
   Design, Programming  Concepts
  
   akitogo OHG
   Hanauer Landstrasse 188
   60314 Frankfurt
  
   Telefon +49 (0) 69 800 69 445
   Fax +49 (0) 69 800 69 449
   Mobil +49 (0) 179 750 75 87
   E-Mail thomas.ruehl@
   Web http://www.akitogo.com http://www.akitogo.com
  
   
  
  
  
   Jason wrote:
   
There are several AS2 model2code generators such as:
http://www.darronschall.com/weblog/archives/000174.cfm 
  http://www.darronschall.com/weblog/archives/000174.cfm
http://www.darronschall.com/weblog/archives/000174.cfm 
  http://www.darronschall.com/weblog/archives/000174.cfm
http://www.codealloy.com/umlconverter.htm 
  http://www.codealloy.com/umlconverter.htm
http://www.codealloy.com/umlconverter.htm 
  http://www.codealloy.com/umlconverter.htm
and some others I can't remember right now.
   
It will just be a matter of time untill someone updates one of the
projects for AS3, and ideally for Cairngorm.
I poked around on sourceforge, but did not see an started project.
   
Darron Schall my be willing to provide his source as a
starting point
for anyone looking to pick up the project -- it looks like he
has a
SVN repository set for the source.
   
--jason
   
--- In flexcoders@yahoogroups.com 
  mailto:flexcoders%40yahoogroups.com
mailto:flexcoders%40yahoogroups.com, Joost Nuijten
flexcoders@ wrote:

 I think what Thomas is trying to say:

 In the Java world there are a lot of powerful tools that
generate
the base
 skeleton of code out of a model. For the Flex world this is
all hand
work.
 And how do we cope with this?

 That is why it is important that we have a framework such as
Cairngorm. The
 one thing that we do not have is an automated tool that
  generates the
 Cairngorm base skeleton.

 ** thinking about creating one myself **

 Joost

 _

 Van: flexcoders@yahoogroups.com 
  mailto:flexcoders%40yahoogroups.com
mailto:flexcoders%40yahoogroups.com
[mailto:flexcoders@yahoogroups.com 
  mailto:flexcoders

[flexcoders] Re: Java developers: How do you organize your projects?

2006-08-07 Thread Dave Wolf
I am an ANT bigot.  I like going in eclipse to the ant browser,
finding my build and deploy task, and clicking execute. 

We work very hard to have tasks that are as granular as possible to
keep us productive, and then assemble these very granular tasks into
aggregates that can do coarser grained tasks that can build and deploy
and reconfigure running servers.  We even have tasks that build out
the entire server.

It all works quite well with our approach to the process.


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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Franck de Bruijn
[EMAIL PROTECTED] wrote:

 Hi Dave,
 
  
 
 I use Eclipse WTP with the Flex plugin.
 
  
 
 I develop my Flex application in a single Flex project.
 
  
 
 I then have a dummy Eclipse WTP Dynamic project, which is nothing
more than
 an empty shell. I have than an ant script copying over all the
binary files
 from the Flex project to the Dynamic project.
 
  
 
 After that I publish the dynamic web project to Tomcat.
 
  
 
 It's a little bit manual and sounds maybe tedious, but once you get
the hang
 of it and define some shortcuts, it goes pretty slick and quick. You can
 also define a run-command to run your application remotely from within
 Eclipse.
 
  
 
 Cheers,
 
 Franck
 
   _  
 
 Van: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
Namens
 Dave Bobby
 Verzonden: zondag 6 augustus 2006 23:41
 Aan: flexcoders@yahoogroups.com
 Onderwerp: [flexcoders] Java developers: How do you organize your
projects?
 
 Currently, I have a client-side flex running in Flex Builder stand-
 alone and a java server-side which is running in Eclipse, eventually 
 deployed to tomcat.
 
 Now when I run from my Flex Builder, I can access my tomcat by just 
 saying http://localhost:
 http://localhost:8080/project/login.html?user=apass=b
 8080/project/login.html?user=apass=b
 
 .. but this is not extensible, so the question is how do you 
 physically lay out your projects? 
 
 .. do you have ant builds that create a war with all the files copied 
 over?
 
 .. do you separate your flex builder from eclipse or run them together 
 as flex (plugin) and java (in eclipse) at one time
 
 .. if you develop all in one project (java and flex) how do you 
 separate these concerns, for example, flex requires that application 
 mxml be in the root of the project and say cairngorm files would be 
 in root/com/... 
 
 I need to set this up fast before other developers join the project, 
 appreciate your inputs.
 
 Thanks.
 
 Dave.








--
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] Re: [Flex2] What do you use for modelling a Flex2 application...?

2006-08-07 Thread Dave Wolf
Flex development *is* like traditional development.  The richness of
the user experience and the wonder that you can deliver in terms of
creativity does not open the door to chaos in the development process.  

Just because historically people feel Flash development was cowboy
doesnt mean that Flex development has to assume that role.  Our
clients range from little startups to the second largest retail bank
in the nation.  Cowboy is not an option.

We may have an innovative approach to the development process, one
which borders on some more bleeding edge ideals (say Agile), however
the dicipline in the development process is the same.  From our model
and design sessions, to cases in the issue management system, to
strict use of source control, automated builds and deploys, unit tests
etc.  That's how great software is written regardless of the technology.

We are passionate about the richness of the user experience.  You will
see it in the amazing UI's our folks are building and in our people. 
We are also passionate about the development process.  

This thread started by talking about modelling tools and how
applicable they are to flex.  I dont think that your choice of HOW you
develop software has any impact on WHAT you are developing, and
modelling is all about WHAT.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY


--- In flexcoders@yahoogroups.com, Joost Nuijten [EMAIL PROTECTED] wrote:

 Sometimes I wish Flex development was more like traditional application
 development. At the other hand I shiver at the thought that the
coolness of
 Flex is degraded to this way of working. Flex = Flash. And Flash is
supposed
 to be a creative chaos, cool, far away of the boreness of the IT
world and
 full of passion. That is how it's supposed to be.
  
 But it really depends on your kind of business...
  
 ~joost
 
   _  
 
 Van: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
Namens
 Thomas Rühl -akitogo-
 Verzonden: maandag 7 augustus 2006 9:59
 Aan: flexcoders@yahoogroups.com
 Onderwerp: Re: [flexcoders] Re: [Flex2] What do you use for modelling a
 Flex2 application...?
 
 
 
 
 Thanks for your interest so far... but this isn't really the
direction I 
 intended to point out.
 
 Dave, I know that the documentation and modelling process basically 
 doesn't depend on HOW an application is written. I'm not trying from 
 model to generated code, although it would be really neat to do so in 
 some cases ;)
 
 My concern is to evolve a process, starting with modelling an 
 application the good old way using software architecture 
 possibilities. This not only helps me to evaluate and improve an 
 application, in fact it is also important for me regarding
documentation 
 and maintenance processes.
 
 Again, I do not necessarily want to generate the code based on a UML or 
 other kind of diagrams, my interest targets the development process 
 before actual implementation starts.
 
 As I said, for the Java world, there are lots of tools which we are 
 missing for Flex at the moment. Problem being, these tools are mostly 
 Java specific (for which I think they shouldn't), since they DO want to 
 generate code out of the model. And this is the reason I am interested 
 in how other folks do the modeling.
 
 Cheers, Thomas
 
 
 
 Thomas Rühl
 Design, Programming  Concepts
 
 akitogo OHG
 Hanauer Landstrasse 188
 60314 Frankfurt
 
 Telefon +49 (0) 69 800 69 445
 Fax +49 (0) 69 800 69 449
 Mobil +49 (0) 179 750 75 87
 E-Mail thomas.ruehl@ mailto:thomas.ruehl%40akitogo.com akitogo.com
 Web http://www.akitogo. http://www.akitogo.com com
 
 
 
 Jason wrote:
 
  There are several AS2 model2code generators such as:
  http://www.darronsc
 http://www.darronschall.com/weblog/archives/000174.cfm
 hall.com/weblog/archives/000174.cfm 
  http://www.darronsc
 http://www.darronschall.com/weblog/archives/000174.cfm
 hall.com/weblog/archives/000174.cfm
  http://www.codeallo http://www.codealloy.com/umlconverter.htm
 y.com/umlconverter.htm 
  http://www.codeallo http://www.codealloy.com/umlconverter.htm
 y.com/umlconverter.htm
  and some others I can't remember right now.
 
  It will just be a matter of time untill someone updates one of the
  projects for AS3, and ideally for Cairngorm.
  I poked around on sourceforge, but did not see an started project.
 
  Darron Schall my be willing to provide his source as a starting point
  for anyone looking to pick up the project -- it looks like he has a
  SVN repository set for the source.
 
  --jason
 
  --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com
ups.com 
  mailto:flexcoders%40yahoogroups.com, Joost Nuijten 
  flexcoders@ wrote:
  
   I think what Thomas is trying to say:
  
   In the Java world there are a lot of powerful tools that generate
  the base
   skeleton of code

[flexcoders] Re: [Flex2] What do you use for modelling a Flex2 application...?

2006-08-07 Thread Dave Wolf

I think you are misunderstanding that I am saying.  Let me try it this
way and see if my point comes across more clearly.

A large portion of UML is dedicated to answering the question of WHAT
you are developing.  For example, use cases and activity diagrams both
focus on figuring out WHAT the problem set involves.  So as an
example, WHAT you are designing might be an account registration
process which needs to support the ability to validate a users
password by a pluggable number of password rules.  That is the WHAT. 
It doesnt go into HOW you plan to implement that screen or process.  

The HOW side would be modelled in something like a class diagram or a
state transtion diagram. It might model that you need to create an
interface (code not graphical interface) which defines an API for a
pluggable set of rules (say the Command pattern that Cainforn loves so
 much) etc.  UML can wonder from the WHAT and into the HOW in certain
digrams.  Some UML tools can generate source code to implement the HOW
side of the equation.

Yes I would argue that there is a lack of Flex specific UML tooling,
but Flex is very new.  I would not be surprised to see more UML code
generation tools.  Then again there are actually quite a few UML tools
that can generate AS itself.  A quick Google search reveals many.

http://www.google.com/search?q=actionscript+UMLstart=0ie=utf-8oe=utf-8client=firefox-arls=org.mozilla:en-US:official

I'm quite a fan of a product called Enterprise Architect which has
ActionScript 2 support in it.  Check it out at

http://www.sparxsystems.com/ea.htm


Hopefully I made my point about the difference between WHAT and HOW in
UML.  The confusion came in that you were not interested in code
generation.

I will leave my editorial comments about code generation and Caingorn
for another thread.  For folks that have followed my threads here for
the last few years I think my position is well known.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Bjorn Schultheiss
[EMAIL PROTECTED] wrote:

 The cowboy disagrees.
  
 I have just heard you pour your heart out about your innovative
approaches
 to developement process and how cool your UI's are.
 Then in the next paragraph let me quote.
 I dont think that your choice of HOW you develop software has any
impact on
 WHAT you are developing,
  
 I for one would be all for the developement of a UML tool or FB
plugin that
 will generate code that leverages the Cairngorm framework.
  
  
 Regards,
  
 Bjorn Schultheiss
 Senior Flash Developer
 QDC Technologies
  
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Dave Wolf
 Sent: Tuesday, 8 August 2006 7:01 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: [Flex2] What do you use for modelling a Flex2
 application...?
 
 
 
 Flex development *is* like traditional development. The richness of
 the user experience and the wonder that you can deliver in terms of
 creativity does not open the door to chaos in the development process. 
 
 Just because historically people feel Flash development was cowboy
 doesnt mean that Flex development has to assume that role. Our
 clients range from little startups to the second largest retail bank
 in the nation. Cowboy is not an option.
 
 We may have an innovative approach to the development process, one
 which borders on some more bleeding edge ideals (say Agile), however
 the dicipline in the development process is the same. From our model
 and design sessions, to cases in the issue management system, to
 strict use of source control, automated builds and deploys, unit tests
 etc. That's how great software is written regardless of the technology.
 
 We are passionate about the richness of the user experience. You will
 see it in the amazing UI's our folks are building and in our people. 
 We are also passionate about the development process. 
 
 This thread started by talking about modelling tools and how
 applicable they are to flex. I dont think that your choice of HOW you
 develop software has any impact on WHAT you are developing, and
 modelling is all about WHAT.
 
 -- 
 Dave Wolf
 Cynergy Systems, Inc.
 Adobe Flex Alliance Partner
 http://www.cynergys http://www.cynergysystems.com ystems.com
 http://www.cynergys http://www.cynergysystems.com/blogs
ystems.com/blogs
 
 Email: [EMAIL PROTECTED] mailto:dave.wolf%40cynergysystems.com
stems.com
 Office: 866-CYNERGY
 
 --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com
ups.com,
 Joost Nuijten flexcoders@ wrote:
 
  Sometimes I wish Flex development was more like traditional
application
  development. At the other hand I shiver at the thought that the
 coolness of
  Flex is degraded to this way of working. Flex = Flash. And Flash is
 supposed
  to be a creative chaos, cool, far away of the boreness of the IT
 world

[flexcoders] Re: Flex 2 and Access Databases

2006-08-06 Thread Dave Wolf
You should be able to get away with writing very little actually. 
Check out this article

http://msdn.microsoft.com/library/en-us/dnxpwst/html/odc_wsaccess.asp?frame=true

and this toolkit

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxpwst/html/odc_wstoolkitoverview.asp

This will jumpstart your ability to expose your access database as a
series of web services. You can then connect to these web services
using the Flex mx:WebService/ tags.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote:

 - Original Message - 
 From: edugalvez [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Sunday, August 06, 2006 8:00 PM
 Subject: [flexcoders] Flex 2 and Access Databases
 
 
  Hi.
 
  I'm a rookie about Flex.
 
  Can I connect my Flex 2 application to my Access Database on the
  server?
 
 No and Yes.
 
 Flex does not have any facilities for accessing databases directly. 
 Server-side software is required for the
 Flex client to communicate with. The server side software could be
Java, 
 PHP, ASP, RoR, a web service, etc returning data to the Flex Client and 
 interacting with the database.
 
 So yes, you could access Access using flex2, but only by writing a 
 server-side software layer to do that interaction for Flex2. Flex
doesn't do 
 direct database access.
 
 Paul
 
 
  Thanks







--
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] Re: [Flex2] What do you use for modelling a Flex2 application...?

2006-08-06 Thread Dave Wolf
Why does the implementation language (the HOW) have anything
significant to do with the modelling and documentation solution you
use (the WHAT) ?

Are you trying to go from model to generated code?

If modelling is important to your development process, tried and
trusted modelling solutions such as UML would be capable of
documenting and managing the WHAT side of the development process
regardless of the implementation HOW language.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY


--- In flexcoders@yahoogroups.com, Thomas R�hl -akitogo-
[EMAIL PROTECTED] wrote:

 
 Hi folks,
 
 it's been a while now, since the Flex2 SDK is out and rockin' ;)
 
 Not only for larger projects, multiple teams or team members and 
 documentation purpose, I'd like to know, what everyone is using for 
 modelling a Flex application. For the Java world I know, the tools 
 available are very powerful and work very well out of the box and 
 integrate with each other. There are also things like OmondoUML, which 
 we can be used for designing Java apps (doing use case and sequential 
 diagram sort of stuff) in conjunction with creating the
corresponding code.
 
 The lack of Flex-specific tools for that kind of work still leads 
 towards endless times spent on the drawing table - at least on my side.
 
 So, the question coming up my mind is, in what ways do you all design 
 your Flex applications before/during or after implementation, if any...?
 
 
 Cheers, Thomas
 
 
 
 
Thomas R�hl
Design, Programming  Concepts
 
akitogo OHG
Hanauer Landstrasse 188
60314 Frankfurt
 
Telefon +49 (0) 69 800 69 445
Fax +49 (0) 69 800 69 449
Mobil   +49 (0) 179 750 75 87
E-Mail  [EMAIL PROTECTED]
Web http://www.akitogo.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/

* 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] Re: Java developers: How do you organize your projects?

2006-08-06 Thread Dave Wolf
We have a pretty unique approach to developing RIAs that we use here
at Cynergy called LookFirst.  We focus on doing the development
process from front-to-back whereby we develop the user experience,
using it to gather requirements, establish scope and drive back end
API and data model.  

The idea in front-to-back is that we start out with roughly developed
wireframes yet these wireframes are developed directly in Flex. 
Flex is such a productive canvas why go through the chore of using a
template solution like Visio.  This rough wireframe is then expanded
to inlcude art, validation, flow, etc.  Static data is then bound to
an object model and eventually to controls etc.  The goal is to create
effectively a fully functional application all bound to static data
and objects.  These objects become the API developed using POJOs in
Tomcat exposed as either (or sometimes both) SOAP and XML over HTTP
services.

From the development standpoint one big thing you will notice is that
this approach forces a very strong seperation of concerns, not just
architecturally but physically as well.  The RIA developers are
requesting the services they require and in the format they require
them in.  This assures that there is no tight coupling between the
tiers and creates an automatic seperation of concerns.  It also allows
the two sides to work quite autonomously.  Although in our offices the
folks might be sitting right side-by-side.

We use subversion for source control and do have a series of ANT
scripts that take the front end RIA and the back-end services, compile
them, create WARS, deploy the WARS etc.  (We also have some internal
tools that do some code generation for us, also hooked into the
automated ANT builds).  IMHO building and deploying full wars
significantly reduces the broken cycles caused by bad or partial
deploys.  Every developer in this way can update their source tree,
build and deploy both tiers of the application to their local
development Tomcat servers without any dependancy on a shared server
model.

We have well over half a dozen Flex projects under development in
parallel here at any given point.  For the most part they are all laid
out the same way, using the same builds scripts and same developer
model.  I'm presenting our approach at the Flex Seminar up in NYC next
week and will be showing off three or four of these projects.  Swing
on up and take a peek.

http://www.flexseminar.com


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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Dave Bobby [EMAIL PROTECTED] wrote:

 Currently, I have a client-side flex running in Flex Builder stand-
 alone and a java server-side which is running in Eclipse, eventually 
 deployed to tomcat.
 
 Now when I run from my Flex Builder, I can access my tomcat by just 
 saying http://localhost:8080/project/login.html?user=apass=b
 
 . but this is not extensible, so the question is how do you 
 physically lay out your projects? 
 
 . do you have ant builds that create a war with all the files  copied 
 over?
 
 . do you separate your flex builder from eclipse or run them together 
 as flex (plugin) and java (in eclipse) at one time
 
 . if you develop all in one project (java and flex) how do you 
 separate these concerns, for example, flex requires that application 
 mxml be in the root of the project and say cairngorm files would be 
 in root/com/... 
 
 I need to set this up fast before other developers join the project, 
 appreciate your inputs.
 
 Thanks.
 
 Dave.







--
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] Re: HTTP spy :: Charles, Service Capture or...

2006-08-04 Thread Dave Wolf
If you are using Tomcat as your application server, the built in
SOAPMonitor is awesome.  Its free, and shows all request and response
traffic.

We have things setup in our standard build scripts to deploy and
enable the SOAPMonitor by telling the build you want a developer
build.  Pretty slick.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY


--- In flexcoders@yahoogroups.com, Paul Arch [EMAIL PROTECTED] wrote:

 joangarnetdotcom wrote:
  Hi list,
  I want an HTTP spy so I can debug HTTP traffic (AMF, XML_HTTP,
  POST...) and so.
  I can see that there's Cherles and Service Capture which both look
  very promising but
  Do I have more options ( OpenSource?? ) 
  Which is better for you?
 

 How about ethereal ?
 
 http://www.ethereal.com/
 
 
 
 -- 
 
 
 Paul Arch
 
 ---
 Esidium Group Pty. Ltd.
 Ph:  (08) 6461 4230
 Fax: (08) 6461 4238
 http://www.esidium.com.au 
 Powering DataMate - www.datamate.com.au
 ---








--
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] Re: Problems making SOAP calls via WSDL file

2006-08-01 Thread Dave Wolf
Do you have any kind of proxy tool, like the SOAPMonitor or Tcptunnel
where you can see the response coming back?

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Charles [EMAIL PROTECTED] wrote:

 Hi Frank,
 
 Yes, you're right.  I'm familiar with the need for the crossdomain.xml
 file on server that I am making the calls to, but I don't think it's
 necessary since I am running the files locally.  As far as I know, if
 the machine that I am running the files from, the client, is the same
 as the machine hosting the files, then it's fine.  Otherwise, if I
 post these files to some web server and run them remotely, then my
 client machine is different from the machine hosting the files, and in
 that case I need the crossdomain.
 
 Either way, I am making a successful connection to the WSDL, but my
 problem isn't actually with connecting.  It's that when I make the RPC
 through the WSDL, I get an error returned: The request XML was
 invalid.  So that is currently where I'm hung up.  Thanks for the
 reply though.
 
 
 Charles
 
 --- In flexcoders@yahoogroups.com, Franck de Bruijn
 franck.de.bruijn@ wrote:
 
  Hi Charles,
  
   
  
  Due to the Flash security model, you cannot access a URL that is not
 hosted
  on the same server your Flex application is hosted, unless a
 crossdomain.xml
  is present (which does not seem to be, I checked).
  
   
  
  If you want to access a webservice on a different host, you have to
 provide
  a proxy on your own server.
  
   
  
  See also the documentation on: Getting Started with Flex 2.0 
 Tutorials 
  Data: Use Web Services  Review your access to remote data sources.
  
   
  
  Cheers,
  
  Franck
  
   
  
_  
  
  From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
  Behalf Of Charles
  Sent: Monday, July 31, 2006 5:40 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Problems making SOAP calls via WSDL file
  
   
  
  Hi everyone,
  
  I'm trying to make a SOAP call using this WSDL file:
  https://adwords.google.com/api/adwords/v4/ReportService?WSDL
  
  Through the WSDL, I'm trying to do a getAllJobs function calll,
which
  takes no arguments.  My code goes something like this...
  
   ... 
  
  private function Init():void
  {
  var qname:QName = new
  QName(https://adwords.google.com/api/adwords/v4;);
  
  header_email = new SOAPHeader(qname, {String:email,
  String:myemailhere});
  header_password = new SOAPHeader(qname,
 {String:password,
  String:mypasswordhere});
  header_useragent = new SOAPHeader(qname,
  {String:useragent, String:Test call from with AS3});
  header_token = new SOAPHeader(qname, {String:token,
  String:mytokenhere});
  
  api_call.addHeader(header_email);
  api_call.addHeader(header_password);
  api_call.addHeader(header_useragent);
  api_call.addHeader(header_token);
  }  // AddHeaders
  
  mx:WebService id=api_call
  wsdl=https://adwords.google.com/api/adwords/v4/ReportService?WSDL;
  service=ReportService port=ReportService
  mx:operation name=getAllJobs result=ResultHandler(event)
  fault=FaultHandler(event)
  mx:request/
  /mx:operation
  /mx:WebService
  
  ...
  
  I can connect to the webservice, but only to get an error
returned; The
  request XML was invalid
  
  If anyone has any insight as to what I'm doing wrong, please let me
 know.
  
  Thanks in advance!
  
  
  Charles
 







--
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] Re: Problems making SOAP calls via WSDL file

2006-08-01 Thread Dave Wolf
We had issues in the past with doc/literal if the return object was or
contained a ComplexType.

My guess is though, that the response isnt XML at all, but maybe HTML.
 Say some kind of error page, or FORM based login or

That's why I am curious to see the raw response.


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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY


--- In flexcoders@yahoogroups.com, Franck de Bruijn
[EMAIL PROTECTED] wrote:

 I checked the WSDL with SOAPUI and the WSDL looks fine.
 
  
 
 I do see however that the WSDL is of the type doc/literal. I have
had some
 serious issues with that connecting with Flex to such a web service
 back-end. I have not verified if the final release of Flex 2 has
resolved
 all these issues. I never encountered issues like Charles described,
so this
 statement probably does not apply.
 
  
 
 With respect to 'running the files locally' the following: if you
are using
 the WSDL that you pointed out to us, it contains the following section:
 
  
 
wsdl:service name=ReportService
 
   wsdl:port binding=api:ReportServiceSoapBinding
 name=ReportService
 
  wsdlsoap:address
 location=https://adwords.google.com/api/adwords/v4/ReportService/
 
   /wsdl:port
 
/wsdl:service
 
 You might actually load the WSDL successfully from your local
machine (if
 you include it with your app-distribution), but once you try to
invoke an
 operation (as you describe in your first mail) it should fail, since
the web
 service itself is hosted on a different machine (I presume that
 'adwords.google.com' is not your machine). 
 
  
 
 Even here some easy-to-miss subtleties can arise: if you load your
flex app
 from e.g. 'localhost' and the WSDL points to your local machine but
with a
 different name (like 127.0.0.1), it will still fail. At least,
that's what I
 experienced from testing.
 
  
 
 Cheers,
 
 Franck
 
  
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Dave Wolf
 Sent: Tuesday, August 01, 2006 6:21 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Problems making SOAP calls via WSDL file
 
  
 
 Do you have any kind of proxy tool, like the SOAPMonitor or Tcptunnel
 where you can see the response coming back?
 
 -- 
 Dave Wolf
 Cynergy Systems, Inc.
 Adobe Flex Alliance Partner
 http://www.cynergys http://www.cynergysystems.com ystems.com
 http://www.cynergys http://www.cynergysystems.com/blogs
ystems.com/blogs
 
 Email: [EMAIL PROTECTED] mailto:dave.wolf%40cynergysystems.com
stems.com
 Office: 866-CYNERGY
 
 --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com
ups.com,
 Charles charles.bihis@ wrote:
 
  Hi Frank,
  
  Yes, you're right. I'm familiar with the need for the crossdomain.xml
  file on server that I am making the calls to, but I don't think it's
  necessary since I am running the files locally. As far as I know, if
  the machine that I am running the files from, the client, is the same
  as the machine hosting the files, then it's fine. Otherwise, if I
  post these files to some web server and run them remotely, then my
  client machine is different from the machine hosting the files, and in
  that case I need the crossdomain.
  
  Either way, I am making a successful connection to the WSDL, but my
  problem isn't actually with connecting. It's that when I make the RPC
  through the WSDL, I get an error returned: The request XML was
  invalid. So that is currently where I'm hung up. Thanks for the
  reply though.
  
  
  Charles
  
  --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com
ups.com,
 Franck de Bruijn
  franck.de.bruijn@ wrote:
  
   Hi Charles,
   
   
   
   Due to the Flash security model, you cannot access a URL that is not
  hosted
   on the same server your Flex application is hosted, unless a
  crossdomain.xml
   is present (which does not seem to be, I checked).
   
   
   
   If you want to access a webservice on a different host, you have to
  provide
   a proxy on your own server.
   
   
   
   See also the documentation on: Getting Started with Flex 2.0 
  Tutorials 
   Data: Use Web Services  Review your access to remote data sources.
   
   
   
   Cheers,
   
   Franck
   
   
   
   _ 
   
   From: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com
ups.com
 [mailto:[EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com
ups.com]
 On
   Behalf Of Charles
   Sent: Monday, July 31, 2006 5:40 PM
   To: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com
ups.com
   Subject: [flexcoders] Problems making SOAP calls via WSDL file
   
   
   
   Hi everyone,
   
   I'm trying to make a SOAP call using this WSDL file:
   https://adwords.
 https://adwords.google.com/api/adwords/v4/ReportService?WSDL
 google.com/api/adwords/v4/ReportService?WSDL
   
   Through the WSDL, I'm trying to do a getAllJobs function calll,
 which
   takes no arguments. My code goes

[flexcoders] Re: HTTP Service Authentication capabilities

2006-07-31 Thread Dave Wolf
I dont think your example actually answers the original question. 
HTTP-DIGEST is a specific kind of HTTP Authentication as referenced in
the RFC 3310.

http://www.ietf.org/rfc/rfc3310.txt

What he is asking is if a Flex application can inherit the http
authenticaed session which used the DIGEST method.  My feedback not
having tried it would be to say yeah, no question it should.  But as I
said I havent sat down to put a little test together.  Maybe later
this week.


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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY




--- In flexcoders@yahoogroups.com, Faisal Abid [EMAIL PROTECTED] wrote:

 I have wrote a proof of concept over at my site
 http://www.g-unix.com/blog .
 
 -Faisal Abid  aka Flex Abid ;)
 
 --- In flexcoders@yahoogroups.com, richmcgillicuddy rich@ wrote:
 
  Can the HTTP Service work with a web server that requires digest
  authentication?
  
  
  
  Rich
 







--
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. NYC. One Day. A few of us. Come hang out.

2006-07-31 Thread Dave Wolf
Heya,

I wanted to make sure everyone here had heard about the Flex Seminar
being held in New York City on August 14th in the Roosevelt Hotel
right in midtown.  The event is sponsored by Adobe and Cynergy and
will have some of the best minds in RIA and Flex development in the
world.  Many of the speakers include the folks who have helped you all
for years here on Flexcoders including Dave Mendels, Jesse Warden,
Victor Rasputnis, Christophe Coenraets, and even yours truly.  

If you haven't seen the agenda it is listed at

http://www.flexseminar.com

Early bird registration is sill going on.  If you can make it, please
do swing by.  I would love to get to meet as many folks from here as
possible.  Its always a blast getting to put faces to the folks we've
worked with through Flexcoders.  

If you're going to be able to make it, please also drop me a line
directly.  I really would like to set some time aside to get to meet
everyone.

This is the biggest Flex specific conference so far all year and
Cynergy is incredibly proud to be a big part of making this happen. 
Looking forward to see you all in one of the greatest cities in the
world in two weeks!

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY






--
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] Re: php and flex

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

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

We used to call this approach a Blocking Registration.  

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY






--- In flexcoders@yahoogroups.com, arnold_charming
[EMAIL PROTECTED] wrote:

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







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

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

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

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





[flexcoders] Re: Flex Application Deployment Error

2006-07-28 Thread Dave Wolf
Since your SWF is being loaded from disk (as per the error message)
adding localhost to the domain list won't help because localhost !=
file:// URI.  Try just opening it all the way up for right now.


?xml version=1.0?

!DOCTYPE cross-domain-policy SYSTEM
http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd;
cross-domain-policy
   allow-access-from domain=* /
/cross-domain-policy

Does that work for you?

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, mvbaffa [EMAIL PROTECTED] wrote:

 Hi All,
 
 I have a very strange deployment problem with my Flex 2.0 
 application. I hope someone can help.
 
 I have developed an application with AMFPHP. In my development 
 machine my services reside in my 
 wwwroot (I use IIS) directory and I have created a Virtual Directory 
 pointing to it. 
 My Flex application is in a directory in drive D:. 
 
 Everything is working OK and now I have to move the application to 
 my production server. I have put 
 my services in wwwroot of this server and I have also created the 
 virtual directory and my Flex 
 application is in a directory in Drive C: 
 
 The AMFPHP gateway is in my localhost so Flex application and 
 services are in the same machine. But in my
 production server the application is not running. Even when I have 
 installed flex and run the application
 from inside it I receive the same error.
 
 The error is the following:
 
 Error #2044: Unhandled SecurityErrorEvent:. text=Error #2048: 
 Security sandbox violation: 
 file://C:\XXX\YYY\bin\ZZZ.swf cannot load data from 
 http://localhost/KKK/gateway.php.
 
 Where XXX: is my Flex Applications Directory
   : is my Application Directory
   ZZZ: my Flex Application
   KKK: Virtual Directory where the services reside
 
 To try to resolve the problem I have put a crossdomain.xml in the 
 wwwroot directory of my IIS. The 
 crossdomain content is listed below:
 
 ?xml version=1.0?
 
 !DOCTYPE cross-domain-policy 
 SYSTEM http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd;
 cross-domain-policy
allow-access-from domain=localhost /
allow-access-from domain=127.0.0.1 /
allow-access-from domain=172.16.10.38 /
 /cross-domain-policy
 
 And it is still with the same error. I don't know what to do.
 
 Thanks in advance








--
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] Re: HTTP Service Authentication capabilities

2006-07-28 Thread Dave Wolf
I've never actually tried it, but in theory yes.  Realize that all
Flex is doing is inheriting the cookie from the HTTP session which
contains the opaque jsessionid.  As long as the client was able to
submit the digest, (which most browsers should) and a jsessionid was
able to be created in the cookie, all should be well.

Again, I have not tried it to be sure however.  But I'd be pretty
confident.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY



--- In flexcoders@yahoogroups.com, richmcgillicuddy [EMAIL PROTECTED] wrote:

 Can the HTTP Service work with a web server that requires digest
 authentication?
 
 
 
 Rich







--
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] Re: what is beeing sent via HTTPSerice?

2006-07-28 Thread Dave Wolf
We are big fans of the tcptunnel that is included with AXIS/Tomcat.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY


--- In flexcoders@yahoogroups.com, Jeremy Lu [EMAIL PROTECTED] wrote:

 Charles works great as well. (btw, it's support flash remoting,
AMF0/3 too )
 
 http://www.xk72.com/*charles*/
 
 
 
 Jeremy.
 
 
 
 On 7/29/06, Vikas Bhatia [EMAIL PROTECTED] wrote:
 
There is also this https://addons.mozilla.org/firefox/1290/
 
 
  On 7/28/06, ben.clinkinbeard  [EMAIL PROTECTED] wrote:
  
 I strongly prefer http://kevinlangdon.com/serviceCapture/
  
   Ben
   http://www.returnundefined.com/
  
   --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
   arnold_charming
  
   arnold_charming@ wrote:
   
Hi!
   
I'm using HTTPService class to send some form data to my server
scripts. Is there any way how to find out what exactly (what
variables
and values) are beeing send via HTTPService?
   
  
  
   
 







--
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] Re: FDS: Can I disconnect a specific client from the server?

2006-07-24 Thread Dave Wolf
More reason to simply destroy their J2EE session which would let the
container enforce the ban.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Tom Bray [EMAIL PROTECTED] wrote:

 That would work if we could trust that our SWF hasn't been hacked. 
We have
 people trying to hack our clients all the time and they're often the
ones we
 want to disconnect in the first place.  If we relied on the client to
 disconnect itself, these guys would prevent that message from getting
 through.
 
 -Tom
 
 On 7/23/06, James Ward [EMAIL PROTECTED] wrote:
 
I can't find anything in the api:
  http://livedocs.macromedia.com/flex/2/fds2javadoc/index.html
 
  However, this could be easily achived my sending a message to the flex
  client (via messaging) which told the flex app to disconnect.
 
  -James
 
 
  On Sat, 2006-07-22 at 14:28 -0700, Tom Bray wrote:
   No, I'm talking about disconnecting on the server-side with Java. In
   other words, getting a reference to the server-side client object
   using the FDS API and disconnecting it.
  
   -Tom
  
  
  
   On 7/22/06, James Ward [EMAIL PROTECTED] jamesw%40cayambe.com
  wrote:
   Yup. Look into the disconnect() method on Consumer and
   DataService
   objects.
  
 
http://livedocs.macromedia.com/flex/2/langref/mx/messaging/Consumer.html#disconnect
  ()
  
 
http://livedocs.macromedia.com/flex/2/langref/mx/data/DataService.html#disconnect
  ()
  
   -James
  
  
  
  
   On Fri, 2006-07-21 at 14:07 -0700, Tom Bray wrote:
I'm coming to FDS from FMS2 where I have the ability to
   disconnect any
client for any reason -- say after a period of inactivity or
   because
an administrator of the chat has banned a user. Can I do
   this in FDS?
   
Thanks,
   
Tom
   
   
   
   
  
  
  
  
  
  
 
   
 








--
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] Re: Acegi/Spring/Flex authentication

2006-07-24 Thread Dave Wolf
If the scenario works with a JSP page, it will work with Flex.  The
player is simply inheriting the J2EE jsessionid from the browser.  We
use Filters and custom JAAS plugins all the time with Flex.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, flxcoder [EMAIL PROTECTED] wrote:

 Any tips here? Is it possible to use acegi with Flex?
 
 Thanks.
 
 
 --- In flexcoders@yahoogroups.com, flxcoder flxcoder@ wrote:
 
  Hi all.
  
  Maybe not a flex question but relevant.
  
  I am trying to authenticate flex into my middle tier by using 
 acegi. 
  I am moderately familiar with acegi and the saying goes that the 
  filter checks the entry point as
  
 bean id=authenticationProcessingFilterEntryPoint 
  

class=org.acegisecurity.ui.webapp.AuthenticationProcessingFilterEntryPoint
property name=loginFormUrlvalue/acegilogin.jsp/value/
  property
property name=forceHttpsvaluefalse/value/property
 /bean
  
  Question is then, has anyone integrated acegi with flex because in 
  the above case maybe the loginFormUrl can be /acegiLogin.jsp where 
  the jsp holds the main swf for flex.
  
  Looking for tips on where to start and where to head off with the 
  integration.
  
  Thanks.
 








 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~- 

--
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] Re: I need to be able to disconnect a client from FDS on the server-side using t

2006-07-23 Thread Dave Wolf
Ah, a slightly different use-case for sure.

I haven't tried it, but I would think I could do this in a filter. 
When the user should get banned, place a message onto say your JMS
bus.  The filter is subscribed to ban messages where the userid = the
current userid.  Now inside the filter I simply get a reference to the
session and call session.invalidate().  

A bit of theory but feasable, and would work not only for FDS calls,
but any call from that client credential.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY


--- In flexcoders@yahoogroups.com, Tom Bray [EMAIL PROTECTED] wrote:

 The most common reason we need to disconnect a client is because the
user
 has been banned from the chat by an administrator for behaving
 inappropriately.  We're an ASP that hosts chat and im apps and we
let our
 clients configure timeouts on a per-user basis.  We have to have a
way to
 manage clients on the server like we do in FMS.
 
 -Tom
 
 On 7/22/06, Dave Wolf [EMAIL PROTECTED] wrote:
 
clueless insight
  Placing a J2EE security constraint on the assets in FDS and then
  setting a timout on the J2EE session isnt sufficient?
  /clueless insight
 
  --
  Dave Wolf
  Cynergy Systems, Inc.
  Adobe Flex Alliance Partner
  http://www.cynergysystems.com
  http://www.cynergysystems.com/blogs
 
  Email: [EMAIL PROTECTED] dave.wolf%40cynergysystems.com
  Office: 866-CYNERGY
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
  JesterXL jesterxl@ wrote:
  
   No good answers here Tom, but this page:
   Current page:
http://livedocs.macromedia.com/flex/2/docs/1182.html
  
   Says to extend the ServiceAdapter. It apparently calls methods on a
  MessageService instance. If you look at MessageService, you'll see
  some familiar looking methods, but nothing to disconnect a client.
  
   Go here:
   http://livedocs.macromedia.com/flex/2/fds2javadoc/
  
   And then click on the last entry in the top left frame, and then in
  the bottom left frame, click on MessageService, and look at the
methods.
  
   I, like you, have yet to see a comparable client management API like
  FMS, but I have a feeling I'm either looking for the wrong thing or
  looking in the wrong place.
  
   Either way, post if you find anything.
  
  
   - Original Message -
   From: Tom Bray
   To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
   Sent: Saturday, July 22, 2006 5:32 PM
   Subject: [flexcoders] I need to be able to disconnect a client from
  FDS on the server-side using the Java API.
  
  
   We do this all the time with our FMS2 apps if a client is inactive
  for a certain period of time or an administrator wants to ban them.
  We can't trust the SWF because we've had people hack them.
  
   Thanks,
  
   Tom
  
 
   
 








 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~- 

--
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] Re: AMF serialization of floats (REPOST)

2006-07-22 Thread Dave Wolf
What's about a Java primitive long ?

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY



--- In flexcoders@yahoogroups.com, Mike_Robinson_98
[EMAIL PROTECTED] wrote:

 Dave, thanks for your response. I'm not sure what exact number type
 you have in mind (Integer?BigDecimal?). The data is decimal data, no
 getting around that. There don't seem to many choices as far as what
 data type to use. What do flex programmers do in this situation when
 they want to serialize currency values, such as item prices which have
 2 decimal precision? Convert to a String first? 
 
 It seems to me that it boils down to one thing - the data will have to
 be manipulated in *some* way once it has been reconstituted on the
 client side. This manipulation might be converting the String back to
 a Number, rounding the Number to the desired precision, or any of
 several other methods. None of which, to me, are very desirable.
 
 
 --- In flexcoders@yahoogroups.com, Dave Wolf gatorj24@ wrote:
 
  Don't use floats.  wink
  
  Seriously however, floats are inexact numeric types.  They're not 
  going to have a fixed precision in general and this is especially 
  true when they are marshalled across languages.  Can you use an 
  exact numeric type instead?
  
  -- 
  Dave Wolf
  Cynergy Systems, Inc.
  Adobe Flex Alliance Partner
  http://www.cynergysystems.com
  http://www.cynergysystems.com/blogs
  
  Email:  dave.wolf@
  Office: 866-CYNERGY
  
  
  
  
  
  --- In flexcoders@yahoogroups.com, Mike_Robinson_98 
  mike_robinson_98@ wrote:
  
   My original post seems to have gotten removed, so I am posting 
  again
   with hopes someone has experience with this issue.
   
   I am transfering float values from Java DTOs to corresponding AS
   objects using both FDS and remote objects. The Java float values 
  have
   a precision of 4 decimal places (verified before serialization e.g.
   0.4398) yet when they are created in AS they have 16 decimal places
   with values extending throughout the 16 digits (e.g.
   0.4398283772047382). I suppose I can round the values when I 
  receive
   them at the client, but can someone tell me if there's a better 
  way to
   insure the destination values are the same as the source?
   
   Thanks,
   Mike
  
 








 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

--
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] Re: I need to be able to disconnect a client from FDS on the server-side using t

2006-07-22 Thread Dave Wolf
clueless insight
Placing a J2EE security constraint on the assets in FDS and then
setting a timout on the J2EE session isnt sufficient?
/clueless insight

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY
--- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote:

 No good answers here Tom, but this page:
 Current page: http://livedocs.macromedia.com/flex/2/docs/1182.html
 
 Says to extend the ServiceAdapter.  It apparently calls methods on a
MessageService instance.  If you look at MessageService, you'll see
some familiar looking methods, but nothing to disconnect a client.
 
 Go here:
 http://livedocs.macromedia.com/flex/2/fds2javadoc/
 
 And then click on the last entry in the top left frame, and then in
the bottom left frame, click on MessageService, and look at the methods.
 
 I, like you, have yet to see a comparable client management API like
FMS, but I have a feeling I'm either looking for the wrong thing or
looking in the wrong place.
 
 Either way, post if you find anything.
 
 
 - Original Message - 
 From: Tom Bray 
 To: flexcoders@yahoogroups.com 
 Sent: Saturday, July 22, 2006 5:32 PM
 Subject: [flexcoders] I need to be able to disconnect a client from
FDS on the server-side using the Java API.
 
 
 We do this all the time with our FMS2 apps if a client is inactive
for a certain period of time or an administrator wants to ban them.  
We can't trust the SWF because we've had people hack them.
 
 Thanks,
 
 Tom








--
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] Re: AMF serialization of floats (REPOST)

2006-07-22 Thread Dave Wolf
It might for the marshalling, but don't go around doing currency
calculations with a double.  It is inexact like float.

Then again.  Maybe you could skim that 100ths of cents off and...

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY


--- In flexcoders@yahoogroups.com, Mike_Robinson_98
[EMAIL PROTECTED] wrote:

 Yes, that definitely does the trick. Thanks for your help.
 
 --- In flexcoders@yahoogroups.com, Peter Farland pfarland@ wrote:
 
  As a work around for now, try using double instead of float.
  
   
  
   
  
   
  
  
  
  From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
  Behalf Of Mike_Robinson_98
  Sent: Friday, July 21, 2006 5:00 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: AMF serialization of floats (REPOST)
  
   
  
  Dave, thanks for your response. I'm not sure what exact number type
  you have in mind (Integer?BigDecimal?). The data is decimal data, no
  getting around that. There don't seem to many choices as far as what
  data type to use. What do flex programmers do in this situation when
  they want to serialize currency values, such as item prices which have
  2 decimal precision? Convert to a String first? 
  
  It seems to me that it boils down to one thing - the data will have to
  be manipulated in *some* way once it has been reconstituted on the
  client side. This manipulation might be converting the String back to
  a Number, rounding the Number to the desired precision, or any of
  several other methods. None of which, to me, are very desirable.
  
  --- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com
  , Dave Wolf gatorj24@ wrote:
  
   Don't use floats. wink
   
   Seriously however, floats are inexact numeric types. They're not 
   going to have a fixed precision in general and this is especially 
   true when they are marshalled across languages. Can you use an 
   exact numeric type instead?
   
   -- 
   Dave Wolf
   Cynergy Systems, Inc.
   Adobe Flex Alliance Partner
   http://www.cynergysystems.com http://www.cynergysystems.com 
   http://www.cynergysystems.com/blogs
  http://www.cynergysystems.com/blogs 
   
   Email: dave.wolf@
   Office: 866-CYNERGY
   
   
   
   
   
   --- In flexcoders@yahoogroups.com
  mailto:flexcoders%40yahoogroups.com , Mike_Robinson_98 
   mike_robinson_98@ wrote:
   
My original post seems to have gotten removed, so I am posting 
   again
with hopes someone has experience with this issue.

I am transfering float values from Java DTOs to corresponding AS
objects using both FDS and remote objects. The Java float values 
   have
a precision of 4 decimal places (verified before serialization
e.g.
0.4398) yet when they are created in AS they have 16 decimal
places
with values extending throughout the 16 digits (e.g.
0.4398283772047382). I suppose I can round the values when I 
   receive
them at the client, but can someone tell me if there's a better 
   way to
insure the destination values are the same as the source?

Thanks,
Mike
   
  
 







 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
~- 

--
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] Re: IE Only: Error #2032 (Flex 2.0)

2006-07-22 Thread Dave Wolf
Sounds like the same issues we used to see with SSL and HTTP-AUTH huh?

Interesting. I'm curious if these same issues are showing up in IE7? 
I just havent been brave enough to put that on my machine.  

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY



--- In flexcoders@yahoogroups.com, dadrobson [EMAIL PROTECTED] wrote:

 RESOLVED! 
 
 The issue had to do with HTTP cache control headers generated by the
 Spring framework. These headers got past Firefox without issue, but
 they caused trouble with IE.
 
 The middle tier developer extended the SimpleFormController class in
 Spring, overriding handleRequestInternal() to generate headers that
 the browsers would accept. 
 
 -Jim
 
 --- In flexcoders@yahoogroups.com, dadrobson jim.robson@ wrote:
 
  I have a complete app that is currently working fine when loaded in
  Firefox. However, in IE, some (but not all) HTTPService requests
  return the following error:
  
  Error: [IOErrorEvent type=ioError bubbles=false cancelable=false
  evenPhase=2 text=Error #2032: Stream Error. URL:
  http://localhost/pw/modifyProject.xml;] URL:
  http://localhost/pw/modifyProject.xml
  
  As you can see from the URL, I'm just running it on my own development
  machine. All URLs point to Localhost, so there shouldn't be any need
  for a crossdomain.xml file. 
  
  Why is this happening on IE but not Firefox? What could cause this
  error (besides the cross-domain policy issue)?
 







--
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] Re: AMF serialization of floats (REPOST)

2006-07-21 Thread Dave Wolf
Don't use floats.  wink

Seriously however, floats are inexact numeric types.  They're not 
going to have a fixed precision in general and this is especially 
true when they are marshalled across languages.  Can you use an 
exact numeric type instead?

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY





--- In flexcoders@yahoogroups.com, Mike_Robinson_98 
[EMAIL PROTECTED] wrote:

 My original post seems to have gotten removed, so I am posting 
again
 with hopes someone has experience with this issue.
 
 I am transfering float values from Java DTOs to corresponding AS
 objects using both FDS and remote objects. The Java float values 
have
 a precision of 4 decimal places (verified before serialization e.g.
 0.4398) yet when they are created in AS they have 16 decimal places
 with values extending throughout the 16 digits (e.g.
 0.4398283772047382). I suppose I can round the values when I 
receive
 them at the client, but can someone tell me if there's a better 
way to
 insure the destination values are the same as the source?
 
 Thanks,
 Mike







 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
~- 

--
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] Re: what is and when Do I need FDS ? 1.5 2

2006-07-20 Thread Dave Wolf
Just to be entirely precise, if you are calling a Java class via
mx:RemoteObject/ then you will need the AMF gateway which is a part
of the services provided with FDS.  

You can however call a Java object in several other ways.  You could
expose that servant as a SOAP web service using several options such
as Apache AXIS.  You don't need to do anything special to the Java
class.  The same Java class you'd expose via RemoteObject would work
unchanged.  You could even write your own servlet that exposed a
specific Java class through a simpe HTTP call, which in turn then
simply returned XML, HTML, etc.  (well... you could!)

I just wanted to clarify that in terms of remoting (and FDS has other
services), what FDS provides in an AMF gateway that handles the
loading, lifecycle, security and marshalling of AMF calls to Plain Old
Java Objects (POJOs).

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY


--- In flexcoders@yahoogroups.com, Rich Tretola [EMAIL PROTECTED] wrote:

 If you are using Java Remote Objects, you will need FDS either Express
 (Free Version) or Enterprise.  A compiled swf will only work for you
 if you are loading data through http or webservices.  Here is an Adobe
 faq http://www.adobe.com/products/flex/productinfo/faq/
 
 Rich
 
 
 On 7/20/06, Antoine Malpel [EMAIL PROTECTED] wrote:
  I still do not understand clearly what is the difference between a
Flex
  server and Flex Data Services...
  I actually use Flex 1.5 with RemoteObjects (calling JavaObject in
  tomcat) and HTTPRequests (texte files)
 
  are RemoteObject and HttpRequests using Flex Data Services ?
 
  is FDS used only but the Java - AS objects or is this made in client
  side (flash player) ?
 
  can I use Flex SDK / Flex Builder just to generate my app, upload
  everything and only use a http server without having to install
any FDS
  or Flex Server (is flex server means something?)
 
  sames questions for Flex 2.0
 
  so is FDS only for datas synchronisation ?
 
  ya thanks
 
  Antoine Malpel
 
 
 
  --
  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
 
 
 
 
 
 
 
 
 
 
 -- 
 Rich Tretola
 mx:EverythingFlex/
 http://www.EverythingFlex.com







 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~- 

--
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] Re: Scaling up.

2006-07-19 Thread Dave Wolf
Heya Ben,

We're absolutely open to folks who work remotely.  We have both today.
 Although we do feel there is serious value in folks being together in
terms of collaboration (or swarming as I call it!) what we want more
than anything are smart, energic, fun people who want to build great
stuff.  If that means they're remote, so be it.

Its also worth noting, we're looking for all types of folks.  Long
time gurus, and just getting started but excited.

Heck, just drop me an email directly if all you wanna do is chat, or
get a tour of some of our projects going on.  Actually you can see a
video about one of them on our new site.  Check it out ;)

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY



--- In flexcoders@yahoogroups.com, ben.clinkinbeard
[EMAIL PROTECTED] wrote:

 Just to clarify, I was wondering if the side-by-side was meant to be
 taken literally. Sorry if this is a dumb question.
 
 Thanks,
 Ben







 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~- 

--
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] Re: Running Flex Data Services apps outside of the server root/flex/ dir

2006-07-19 Thread Dave Wolf
Brian, 

I am a little confused by your question.  You seem to indicate you
want to have a seperate web application for the FDS services from
where the Flex/Flash application lives.  Then you kind of confuse me
when you say you want a shared library.

The idea is that /flex is where FDS lives, and you can then create
/snoopy and put your web applications under there.  Thats not quite
what I would call a shared library.  The /flex web app contains the
FDS services and associated libraries.  The /snoopy web app contains
your swfs and assets and connects to the services at /flex as needed. 

What errors are you seeing?

Is what you are really saying that you just dont want the FDS web app
named /flex?


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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY


--- In flexcoders@yahoogroups.com, klumikaze [EMAIL PROTECTED] wrote:

 Link didn't appear to work... if you click on 'Options for developing
 a Flex Data Services application' once you're on that page, you'll see
 the second diagram I mean.
 
 Thanks,
 
 Brian
 
 --- In flexcoders@yahoogroups.com, klumikaze dunphy@ wrote:
 
  We've been pulling our hair out trying to figure out how to run
  applications outside of the /flex/ dir in our J2EE server.
  
  Currently we're using JBoss, but I would assume that the configuration
  is similar across all application servers.
  
  Essentially, what we want to do is create a structure like the second
  diagram in the following page (from the Flex 2 documentation):
  
 

http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=1320.html
  
  Can anybody point me to the proper Flex/JBoss or other configuration
  files required to create an application at the server root level
  without including the FDS libraries underneath? (i.e. using a common
  FDS library from /flex/ on the same server).
  
  Any help would be appreciated -- apologize in advance if the question
  is a bit confusing.
  
  Thanks,
  
  Brian
 







 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~- 

--
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] Scaling up.

2006-07-18 Thread Dave Wolf
No, not servers, but brain-power.  To put bluntly we're looking for
the best RIA developers in the world, and I figured there's no better
place to look for that than Flexcoders, so here goes.  

Basically we are actively looking for world-class and passionate
people that want to be a part of some of the coolest Flex projects
around and to be able to work side-by-side with other passionate and
experienced devs doing what we love.  

What makes Flexcoders so popular is having a group of peers you can
bounce ideas and approaches off of, and learn and grow all the more
quickly.  That is what I know I love about Cynergy.  Small, agile,
iterative teams with a passion for the users experience, working
together and knocking out some serious apps and having fun doing it.

For those of you long-timers on this board, its pretty obvious that
the growth of interest in RIA in general and Flex as that RIA platform
has simply exploded over the last 12 months.  We can see it in the
sheer number and kinds of projects we're doing in Flex today. If you
are interested in being a part of this place, and in working on these
projects please drop me a quick line. I'd love to show you what we're
doing, how we do it, and talk about how you can be a part of it.

Oh, and you can even meet a few of the guys and what we're doing
over on our blogs too.


See ya,

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY





 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~- 

--
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] Re: Flex for CBT/Distance Learning

2006-07-11 Thread Dave Wolf

We have developed a Flex application for a client of ours which was in
essence CBT/Distance learning solution.  (It was actually a Computer
Based Therapy/Distance Counseling application, but in essence Therapy
is an education/learning process).

You can read more about it and see an online demo on our site at:

http://www.cynergysystems.com/pages/how/case/crisiscoach.html

You can see a movie about the application here:

http://www.cynergysystems.com/pages/how/case/videos/crisiscoach/crisiscoach.html

This solution mixed Flex, Flash and HTML.  It has CBT, Discussion
forums, live chat, knowledge base etc.

As Jesse says, Flash in general makes for a compelling interactive
user experience that suits training well.  Now with Flex's ease of
data integration and time to market, it just brings that inherint
value up a notch.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY



--- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote:

 What do you use Flash for currently?
 
 - Original Message - 
 From: Joel Provinsal [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Tuesday, July 11, 2006 11:20 AM
 Subject: [flexcoders] Flex for CBT/Distance Learning
 
 
 Hi flexcoders,
 
 I had a quick question.  Most of the discussion revolving around Flex
 seems to be geared towards e-commerce solutions.  How suited would the
 Flex solution be for distance learning, computer-based training?
 
 Is Flex only for charts, graphs, tables, and the consumer experience?
 
 As I look at it, it seems like it would be very well suited for CBT
 delivery.  We are currently using a flash/HTML solution, and I feel that
 Flex would provide a solid framework for developing (and delivering)
 content in a timely manner.  Can you help by providing me with solid
 reasoning, resources, tutorials, examples, or any other material that
 might halp in this research?
 
 Thank you,
 
 Joel
 
 
 
 
 --
 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







 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
~- 

--
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] Re: A bit too ambitious?

2006-07-07 Thread Dave Wolf
I like ambition.  :=)

I think its a great idea.  You might check out the flex derby winners.
 One was a Flex based version of the MSFT Enterprise Manager for SQL
Server.  Its slick and really shows off what's possible when you use a
RIA.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Sam [EMAIL PROTECTED] wrote:

 Hi first of all let me preface this by saying that I am new to Flex 
 and programming in general and I have been using Flex for about 2 
 weeks only I love it. :)
 
 I have seen a couple of discussions here about the use of Flex 
 for web pages and how some say use it and some say don't. I see 
 where it can make a difference in some cases... hence my question.
 
 Is it a bit too ambitious to try and use Flex to create a frontend to 
 other software such as Wordpress, Drupal, Xoops, Joomla! and the slew 
 of other CMS that mainly rely on XHTML and PHP for their front end?
 
 I have made some progress with AMFPHP and remoting... but I have only 
 started so... I have not made it very far yet :) 
 
 What's your opinion?
 
 Sincerely,
 Sam








 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
~- 

--
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] Re: Tomcat and jdk version for Flex

2006-07-05 Thread Dave Wolf
We use this configuration consistantly.  It is quite stable and proven
so in production.  You will find, like with all products, that some
minor dot releases of Tomcat are better than others.  

However it is a fabulous configuration overall.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY



--- In flexcoders@yahoogroups.com, Kelly @ Dekayd Media Inc.
[EMAIL PROTECTED] wrote:

 Flex 1.5 runs great on Tomcat.
 
  
 
 We used it for a project for Mazda and Honda and as far as I know it
is in
 production now.
 
  
 
  
 
  
 
 --Kelly
 
  
 
  
 
  
 
  
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of a a
 Sent: Wednesday, July 05, 2006 12:50 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Tomcat and jdk version for Flex
 
  
 
 Hi all! I have just a simple question for starting develop Flex
application
 with java.
 
 Someone are using Flex with java 1.5 and tomcat 5.5? 
 Can this be a good configuration for application developing or maybe
it's
 better using JRun with jdk1.4?
 
 I hope that you understand my bad english :P
 
 Thanks for the answer
 
 bye
 Rex
 
  Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com







 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
~- 

--
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] Re: Question

2006-06-09 Thread Dave Wolf
Just as an interesting side note, JBoss actually uses the Tomcat
servlet container under the covers to handle servlet and JSP
functionality.  

Its worth noting that you dont need a full fledged J2EE container. 
There are servlet based JMS implementations out there as Bob notes. 
They just take some manual munging to get setup.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Bob Tierney [EMAIL PROTECTED] wrote:

 Kelly,
 
 JBOSS is a J2EE container and Flex will run on it. Tomcat on the 
 other hand is NOT a J2EE container. Rather it's a Servlet container. 
 
 In order for the Flex Data Services to (completely) work , you would 
 need to add some modules to Tomcat. For example, OpenJMS and JOTM 
 could be added to Tomcat to support the complete functionality of FDS
 
 Regards,
 
 -bob tierney-
 --- In flexcoders@yahoogroups.com, Kelly @ Dekayd Media Inc. 
 dekayd@ wrote:
 
  If you need J2EE capabilities then you can use: 
 http://geronimo.apache.org/
  
   
  
  I think JBoss is J2EE too but I am not sure.
  
   
  
  Last time I checked (beta 2) FDS is just a .war file and as such 
 can be
  deployed on Apache Tomcat which is very free.
  
   
  
   
  
  I would say stick with whatever language you find most useful if 
 you already
  have a preference but if you don't have one then consider that FDS 
 itself is
  written in Java.
  
   
  
   
  
   
  
  --Kelly
  
   
  
   
  
   
  
   
  
   
  
   
  
_  
  
  From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On
  Behalf Of Michael Schmalle
  Sent: Wednesday, June 07, 2006 6:43 PM
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] Question
  
   
  
  Kelly,
  
   Java is free.
  
  Am I getting messed up, I thought you needed like jrun or j2ee. 
 Honestly, I
  did Java 2 years back and I would love to know how I could use it 
 with FDS?
  
  I had got servlets working and things. Do you have any urls that 
 point to
  what 'free' java would give you using flex. Right now I use php5.
  
  Peace, Mike
  
  On 6/7/06, Kelly @ Dekayd Media Inc. dekayd@ wrote:
  
  ColdFusion compiles to Java and it doesn't offer all the features 
 of Java.
  
   
  
  It also costs about $7000 per enterprise license (last time I 
 checked).
  
   
  
   
  
  Java is free.
  
   
  
   
  
   
  
  As for any of the other competitors I cannot say.
  
   
  
   
  
   
  
   
  
_  
  
  From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On
  Behalf Of Brendan Meutzner
  Sent: Wednesday, June 07, 2006 4:59 PM
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] Question
  
   
  
  So how about we take this off on a tangent a bit... why would I use 
 Java
  instead of ColdFusion or vice versa?  The floor is open...  My 
 apologies if
  this has already been discussed, but I don't remember seeing 
 anything.
  
  
  
  On 6/7/06, Tracy Spratt tspratt@ wrote:
  
  Yes.
  
  Tracy
  
   
  
_  
  
  From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On
  Behalf Of nostra72@
  Sent: Wednesday, June 07, 2006 5:13 PM
  
  
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Question
  
   
  
  Does Flex and Java work well together
  
   
  
  
  
  
  -- 
  What goes up, does come down.
 







 Yahoo! Groups Sponsor ~-- 
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM
~- 

--
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] Re: apache ant build.xml

2006-04-18 Thread Dave Wolf
As you looking for help in general using ANT with Flex or is this
specific to FlexBuilder?

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, arieltools [EMAIL PROTECTED] wrote:

 Is there a way to do a build with an ant task?
 
 The manual just says Content TBW.
 
 I infer you can select a new Builder on the project options, but can
 not find anyone who has done it...
 
 It is possible?
 
 Some ideas?
 
 Thanks.







--
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] Re: apache ant build.xml

2006-04-18 Thread Dave Wolf
OK then.  What can we assist with?  You can indeed use ANT to build
Flex projects.  ANT is our standard build environment for all our
development including Flex.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, arieltools [EMAIL PROTECTED] wrote:

 I really think is more to do with Flex, as FlexBuilder will be changed
 at the end on our project for OpenSource tools...
 
 --- In flexcoders@yahoogroups.com, Dave Wolf gatorj24@ wrote:
 
  As you looking for help in general using ANT with Flex or is this
  specific to FlexBuilder?
  
  -- 
  Dave Wolf
  Cynergy Systems, Inc.
  Macromedia Flex Alliance Partner
  http://www.cynergysystems.com
  
  Email:  dave.wolf@
  Office: 866-CYNERGY
  
  --- In flexcoders@yahoogroups.com, arieltools arieltools@ wrote:
  
   Is there a way to do a build with an ant task?
   
   The manual just says Content TBW.
   
   I infer you can select a new Builder on the project options,
but can
   not find anyone who has done it...
   
   It is possible?
   
   Some ideas?
   
   Thanks.
  
 







--
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] Re: **JOB **Flex developer needed ASAP (Contract to hire!!).

2006-04-14 Thread Dave Wolf
Ask and ye shall receive :)

http://www.macromedia.com/devnet/flex/articles/frontback_pt1.html

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Jason Hawryluk [EMAIL PROTECTED] wrote:

 Dave, thank you for that explanation and clearing things up. I'm still
 fairly new to the interaction design process, and my assumptions are
based
 on what I've studied. Perhaps not the best approach.
 
 I'm always willing to learn new more robust, and productive way's to
 accomplish my goals. It's often difficult to identify the optimal middle
 ground in a very small company.
 
 I look forward to your articles on DevNet.
 
 Jason Hawryluk
 
 
 -Message d'origine-
 De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
 part de Dave Wolf
 Envoyé : jeudi 13 avril 2006 23:47
 À : flexcoders@yahoogroups.com
 Objet : [flexcoders] Re: **JOB **Flex developer needed ASAP (Contract to
 hire!!).
 
 
 Hey Jason,
 
 I am going to try my best to inline my answers here.
 
 --- In flexcoders@yahoogroups.com, Jason Hawryluk jh@ wrote:
 
  Dave, I fully realize the potential of Flex to let you crank out an
  application quickly. You have a Team of people this is a
 requirement for
  one contractor. The thing that got me was the �rollout� part
of the
  demand.
 
 
 You're right.  We do have teams here at Cynergy.  I think its worth
 noting though that in the applications I am discussing, these teams
 have ranged from 1 to 3 people.  I've seen posting in the past where
 people talk about their projects with 30-40 devs.  I cannot honestly
 fathom what problem set they're trying to solve.
 
 
 
  I agree that when you fully understand the domain of the intended
 �user� of
  the product then yes that is quite possible. Having no idea of the
user
  base, and their goals, infrastructure, budgets, requirements, and
 resources,
  how is this assumption possible?
 
 
 
 It's of course not.  The key is to develop a process by which you can
 extract those requirements as a part of the development process
 itself, rather then some incredibly extended requirements gathering
 phase.  First off, the longer that phase takes the less relevant the
 data you collect actually becomes.  Secondly dependant on how you
 collect it, (traditional JAD approach) the value of what you learn can
 be pretty suspect.
 
 
  Cranking out a product that fit�s someone�s specifications, and
 creating a
  tool that is goal/task oriented, and helps the �user� accomplish
 what they
  need/want in a coherent fashion, are 2 different things.
 
 
 
 Could't agree more.  I think if you interviewed the folks we've done
 this development for, they'd tell you what they got was the latter.
 
 
  A certain percentage of the time required before any code is
written is
  spent interviewing management, users, understanding the goals and
 tasks that
  a product needs to fulfill.
 
 
 
 Our approach here at Cynergy is to not view these as distinct phases.
 Rather to incorporate the domain experts into the development process
 from moment one, in the most transparant way possible.  We accomplish
 this by a development approach we call LookFirst, but really is a
 front to back development approach whereby the requirements
 gathering and interviews are done in real time with the development
 of the user experience.  The actual creaative act of development is
 used as a requirements gathering process.
 
 BTW at this point I should mention that we are currently writing a
 series for Adobe's DevNet where we will go through our approach and
 how to use it yourself.
 
 
 
  A software program should not be something that enforces a work
 method, and
  because the person usually in charge of writing specs is IT (more
 often then
  not, that person has not done the necessary foot work). What I mean
 is, you
  end up with a product that just fills a business need from a
management
  perspective, and does not take into account segmented departmental
user
  goals.
 
 
 
 I contend a long interview and requirements gathering phase does
 nothing to alleviate this.   There is nothing intrinsic in the JAD
 process that fixes this shortcoming.
 
 
 
  So, sure cranking out data entry forms, or lists of data that
fulfill a
  business �need� is rapid. However, is that a solution that
will help
 the
  user do their job? Will that solution allow different user types
  (commercial, management, technical, administrative) to fulfill their
 role in
  the organization as efficiently as possible? Will the program have a
 memory
  for example so it can make assumptions based on past user interaction?
 
 
 
 Well, if I had assumed we were talking about simple CRUD screens I
 would have said hours or days, not weeks for a prototype
 
 As I mentioned before, from moment one the domain experts are sitting
 right next to an interactive designer, a RIA

[flexcoders] Re: [Flex2.0] How can I control cache of HTTPService inside FlashPlayer?

2006-04-14 Thread Dave Wolf
Doug is *dead* on.  The random/date number is really a kludge.

Do keep in mind too that META tags and PRAGMA and other tag based
headers are entirely unreliable.  They are ignored by proxies, some
browser versions, etc.

Here is the setting we do in our JSP/servlet which is known good for
all browsers we have seen connect to our applications to date.

response.setHeader(Cache-Control, max-age=0, must-revalidate);

You should be cautious too because some browsers are *weird* about
cache-control headers over SSL with binary data and pretty much just
lose their minds rendering corrupted SWFs.

The above works, is simple, proper and standard.

Enjoy!!

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Doug Lowder [EMAIL PROTECTED] wrote:

 Well, that fixes the problem for a single client, but what about 
 other clients?  Like Dave pointed out, the real fix for this is at 
 the server by setting the proper HTTP headers:
 
  META HTTP-EQUIV=Cache-Control CONTENT =no-cache
  META HTTP-EQUIV=expires CONTENT=0
 
 Or from a JSP page, try the following before writing anything to the 
 output stream:
 
   response.setHeader(Cache-Control,no-cache);
   response.setDateHeader (Expires, 0);
 
 
 --- In flexcoders@yahoogroups.com, sinatosk sinatosk@ wrote:
 
  yeah thats what I do but I use this method instead
  
  var d:Date = new Date();
  
   url  += ?  + d.getTime().toString();
  
  that way I know for sure the number will always be different :p
  
  and it is the flash player that caches it ( only if you use the 
 flash player
  alone otherwise yes it does use your browser ). if you run the SWF 
 file on
  it's own ( using flash player but not within a browser ) it 
 remembers it.
  
  My guess is that the flash player remembers the URL and the 
 contents it
  recieved.
  
  
  On 4/14/06, JesterXL jesterxl@ wrote:
  
   Via code you can append a random number to the URL.  Since it's 
 generally
   unique each time, it almost never reads from the cache.  I 
 reckon if you
   build your URL dynamically for HTTPService, you can ensure it'll 
 never be
   cached.
  
   var url : String = http://www.server.com/file.php;;
   url += ? + String ( Math.random() * ) ;
  
  
  
   - Original Message -
   From: Dave Wolf gatorj24@
   To: flexcoders@yahoogroups.com
   Sent: Thursday, April 13, 2006 7:58 PM
   Subject: [flexcoders] Re: [Flex2.0] How can I control cache of 
 HTTPService
  
   inside FlashPlayer?
  
  
   Set the proper cache control headers on the server side.  The 
 player
   is not caching this, the browser is.  The player piggy backs on 
 the
   browsers HTTP stack generally.
  
   --
   Dave Wolf
   Cynergy Systems, Inc.
   Macromedia Flex Alliance Partner
   http://www.cynergysystems.com
  
   Email:  dave.wolf@
   Office: 866-CYNERGY
  
  
   --- In flexcoders@yahoogroups.com, sn197412 shigeru_nakagaki@
   wrote:
   
Hi.
   
I have a question.
How can I control cache of HTTPService inside FlashPlayer?
   
I get XML file that is always different contents each request.
But HTTPService show content that was got at first access.
   
How should I?
   
--Shigeru
   
http://Shigeru-Nakagaki.com http://shigeru-nakagaki.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 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 flexcodershttp://groups.yahoo.com/group/flexcoders
  on the web.
  
  -  To unsubscribe from this group, send an email to:
   [EMAIL PROTECTED]flexcoders-
 [EMAIL PROTECTED]
  
  -  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
  Service http://docs.yahoo.com/info/terms/.
  
  
--
  
 







--
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] Re: **JOB **Flex developer needed ASAP (Contract to hire!!).

2006-04-13 Thread Dave Wolf
 to do this in 6 months rollout, and all. I
don�t
 believe one person can do this �correctly� in 6 months. Now of
course that
 all depends on the size of the application, of which we have no idea.
 
 Prototypes in weeks? Whole business in 6 months? It takes weeks just
to get
 through the interview process, identify roles, identify goals for
each role,
 tasks for each goal, and confirming this research.
 
 Your internal processes, and goals are apparently quite different
then mine.
 

Our goals are not.  The way we deliver those goals to our clients
indeed are.

I can only point to our successes as proof the approach works. 
Whether is obvious places you can look to like our MAX Award
nomination last year, or the Fortune 100 clients we have done just
this for in the last 4 months alone.  

Just as the RIA has been a disruptive technology that will re-shape
the way we look at web-based applications, so will the front-to-back
approach be a disruptive influence that reshapes the way we develop them.

We know we can deliver better software faster and at considerably less
cost to our clients by working this way.  We know when we put the user
experience first and foremost, usefulness follows naturally.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

 Jason Hawryluk
 
  -Message d'origine-
 De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
 part de Dave Wolf
 Envoy� : mercredi 12 avril 2006 20:09
 � : flexcoders@yahoogroups.com
 Objet : [flexcoders] Re: **JOB **Flex developer needed ASAP (Contract to
 hire!!).
 
 
 
   Off topic I guess, but six months for a prototype?  We've been rolling
   out pretty major applications in Flex from soup to nuts in six months.
 
   To me all the sex appeal aside, some of the biggest value in Flex is
   what a productive canvas it is to work within.  Between Flex, great
   devs, good tools and frameworks, we're cranking out applications
   people are then running a whole business on in under six months.
   Prototypes we're talking weeks.
 
   --
   Dave Wolf
   Cynergy Systems, Inc.
   Macromedia Flex Alliance Partner
   http://www.cynergysystems.com
 
   Email:  [EMAIL PROTECTED]
   Office: 866-CYNERGY
 
   --- In flexcoders@yahoogroups.com, Jason Hawryluk jh@ wrote:
   
Sorry if this sounds harsh, or like a rant...
   
   
   
You know I think about this kind of thing, and always wonder who in
   their
right mind consultant, or not would sign on to an already presumed
   6 month
project. Unless they have really done their homework (unlikely) how
   do they
know that 6 months is enough.
   
   
   
So what they really should say is your going to develop this miracle
product, and oh it must be done in 6 months. Ready to deploy.
Then they
plunk the old needed ASAP onto that.
   
   
   
I smell disaster about to happen.
   
   
   
If you read it it says prototype, ok that makes sense 6months for a
prototype no problem. Then the next phrase has rollout?. Then
the big
hook. Since client has already defined design specs.
   
   
   
So to summarize they have a demand for a report generator
   prototype that
will be rolled out live in 6months based on the clients
specs
authored by an individual that most likely has no knowledge of Flex
   at all.
   
   
   
I don't mean to be a pain but, could you please repeat the question?
   
   
   
I just don't get it. Maybe it's just me. :)
   
Jason
  -Message d'origine-
  De : flexcoders@yahoogroups.com
   [mailto:[EMAIL PROTECTED] la
part de wessam_jad
  Envoy� : mardi 11 avril 2006 20:01
  � : flexcoders@yahoogroups.com
  Objet : [flexcoders] **JOB **Flex developer needed ASAP
(Contract to
hire!!).
   
   
   
   
  Position Needed: Flex Developer
  Duration:6 months contract to hire.
   
  Role Description � Consultant will be responsible for creating
a new
  reporting interface prototype using Macromedia Flex. Prototype
will
  most likely be developed using Flex 1.5. Subsequent versions could
  be developed in Flex 2.0. Consultant will be responsible for
  upgrade, replication, and rollout. Consultant will also
participate
  in daily knowledge transfer sessions. Since client has already
  defined design specs, consultant is generally expected to complete
  assigned development tasks.
   
  Desired Skills:
  -6 months Macromedia Flex 1.5 / 2.0 development experience
  -data warehouse, business intelligence experience
  -Excellent communication skills
   
  send your resume ASAP to wjad(at)esginc(dot)com
  www.esginc.com
   
   
   
   
   
   
   
   
   
   
   
  --
  Flexcoders Mailing List
  FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
   http://www.mail-archive.com

[flexcoders] Re: [Flex2.0] How can I control cache of HTTPService inside FlashPlayer?

2006-04-13 Thread Dave Wolf
Set the proper cache control headers on the server side.  The player
is not caching this, the browser is.  The player piggy backs on the
browsers HTTP stack generally.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY


--- In flexcoders@yahoogroups.com, sn197412 [EMAIL PROTECTED]
wrote:

 Hi.
 
 I have a question.
 How can I control cache of HTTPService inside FlashPlayer?
 
 I get XML file that is always different contents each request.
 But HTTPService show content that was got at first access.
 
 How should I?
 
 --Shigeru
 
 http://Shigeru-Nakagaki.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/

* 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] Re: Flex 1.5 apps...deploying

2006-04-12 Thread Dave Wolf
We use ANT, Tomcat, Subversion and the mxmlc compiler.  Effectively we
do exactly what you are asking about.

We store the Java. JSP. HTML, images, everyhing in source control.  We
then have multiple ANT tasks to manage doing

-compilation of both Java and the MXML
-packaging into JARs WAR etc
-deployment of these collections into the application server

We have tiers of ANT tasks which cascade together into larger units of
work.  So I might be able to build just one subsection, which then can
be rolled up into a packaging, which then can be rolled up into a
deployment, which then can roll up into one uber task that builds
deploys and configures an entire server.

Today on our projects almost code goes from source control into a
running server without some well known task doing it.  This is how we
build our RIAs.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY



--- In flexcoders@yahoogroups.com, Douglas Knudsen
[EMAIL PROTECTED] wrote:

 How are you folks deploying apps for Flex 1.5?I have been just
 copying the files out to the server, restarting JRun when needed.  I'd
 like to crank up Ant and do the WAR or JAR thing.
 
 I'm looking at deploying using a WAR file.  I keep code in CVS
 repository.  I want to use Ant to pull the code from CVS, compile, and
 build the WAR but I don't want to store the whole Flex app in CVS, eh?
  Just my code.  Can one deploy only your app code as a WAR into a Flex
 app?  Or in this case should I just JAR up my class files and use ANT
 to copy out the code and JAR.  JRun can hot-load the jar.
 
 
 --
 Douglas Knudsen
 http://www.cubicleman.com
 this 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 
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] Re: **JOB **Flex developer needed ASAP (Contract to hire!!).

2006-04-12 Thread Dave Wolf

Off topic I guess, but six months for a prototype?  We've been rolling
out pretty major applications in Flex from soup to nuts in six months.

To me all the sex appeal aside, some of the biggest value in Flex is
what a productive canvas it is to work within.  Between Flex, great
devs, good tools and frameworks, we're cranking out applications
people are then running a whole business on in under six months. 
Prototypes we're talking weeks.  

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Jason Hawryluk [EMAIL PROTECTED] wrote:

 Sorry if this sounds harsh, or like a rant...
 
 
 
 You know I think about this kind of thing, and always wonder who in
their
 right mind consultant, or not would sign on to an already presumed
6 month
 project. Unless they have really done their homework (unlikely) how
do they
 know that 6 months is enough.
 
 
 
 So what they really should say is your going to develop this miracle
 product, and oh it must be done in 6 months. Ready to deploy. Then they
 plunk the old needed ASAP onto that.
 
 
 
 I smell disaster about to happen.
 
 
 
 If you read it it says prototype, ok that makes sense 6months for a
 prototype no problem. Then the next phrase has rollout?. Then the big
 hook. Since client has already defined design specs.
 
 
 
 So to summarize they have a demand for a report generator
prototype that
 will be rolled out live in 6months based on the clients specs
 authored by an individual that most likely has no knowledge of Flex
at all.
 
 
 
 I don't mean to be a pain but, could you please repeat the question?
 
 
 
 I just don't get it. Maybe it's just me. :)
 
 Jason
   -Message d'origine-
   De : flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] la
 part de wessam_jad
   Envoyé : mardi 11 avril 2006 20:01
   À : flexcoders@yahoogroups.com
   Objet : [flexcoders] **JOB **Flex developer needed ASAP (Contract to
 hire!!).
 
 
 
 
   Position Needed: Flex Developer
   Duration:6 months contract to hire.
 
   Role Description – Consultant will be responsible for creating a new
   reporting interface prototype using Macromedia Flex. Prototype will
   most likely be developed using Flex 1.5. Subsequent versions could
   be developed in Flex 2.0. Consultant will be responsible for
   upgrade, replication, and rollout. Consultant will also participate
   in daily knowledge transfer sessions. Since client has already
   defined design specs, consultant is generally expected to complete
   assigned development tasks.
 
   Desired Skills:
   -6 months Macromedia Flex 1.5 / 2.0 development experience
   -data warehouse, business intelligence experience
   -Excellent communication skills
 
   send your resume ASAP to wjad(at)esginc(dot)com
   www.esginc.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
 
 a..  Visit your group flexcoders on the web.
 
 b..  To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]
 
 c..  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service.
 
 


 --








--
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] Re: Flex 1.5 apps...deploying

2006-04-12 Thread Dave Wolf
In our source tree we have one are we often call thirdparty where
things we consider a black box go.  They do get checked into source
control, but we dont touch them.  So like the tree might look like

/flex
/jsp
/java
/thirdparty/flex/webapp
/thirdparty/axis/lib (etc)

Now during the build we copy the /thirdparty/flex/webapp into a temp
directory, we compile the mxml, java, jsp etc and copy into the temp
directory, then WAR the whole beastie up.

You could argue either way about the Flex webapp in source control,
but I like knowing every project and every build is using a consistant
flex version.  Like, we got a few hot fixes for the proxy and other
things.  I like knowing we have the latest and greatest of that, and
being able to roll back off a hotfix if we find it breaks soemthing.

Does that make sense?

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Douglas Knudsen
[EMAIL PROTECTED] wrote:

 thanks Dave.
 
 got the picture now I think.  Sounds like when these Ant tasks of
 yours fire and build a WAR, they include the Flex app in the WAR, eh? 
 But the Ant tasks nab the Flex app from the local file system not CVS.
  kewl.
 
 by 'Flex app' here I mean the Flex app server, not the mxml, as, jsp
 files comprising the 'Flex based' app.
 
 DK
 
 On 4/12/06, Dave Wolf [EMAIL PROTECTED] wrote:
  We use ANT, Tomcat, Subversion and the mxmlc compiler.  Effectively we
  do exactly what you are asking about.
 
  We store the Java. JSP. HTML, images, everyhing in source control.  We
  then have multiple ANT tasks to manage doing
 
  -compilation of both Java and the MXML
  -packaging into JARs WAR etc
  -deployment of these collections into the application server
 
  We have tiers of ANT tasks which cascade together into larger units of
  work.  So I might be able to build just one subsection, which then can
  be rolled up into a packaging, which then can be rolled up into a
  deployment, which then can roll up into one uber task that builds
  deploys and configures an entire server.
 
  Today on our projects almost code goes from source control into a
  running server without some well known task doing it.  This is how we
  build our RIAs.
 
  --
  Dave Wolf
  Cynergy Systems, Inc.
  Macromedia Flex Alliance Partner
  http://www.cynergysystems.com
 
  Email:  [EMAIL PROTECTED]
  Office: 866-CYNERGY
 
 
 
  --- In flexcoders@yahoogroups.com, Douglas Knudsen
  douglasknudsen@ wrote:
  
   How are you folks deploying apps for Flex 1.5?I have been just
   copying the files out to the server, restarting JRun when
needed.  I'd
   like to crank up Ant and do the WAR or JAR thing.
  
   I'm looking at deploying using a WAR file.  I keep code in CVS
   repository.  I want to use Ant to pull the code from CVS,
compile, and
   build the WAR but I don't want to store the whole Flex app in
CVS, eh?
Just my code.  Can one deploy only your app code as a WAR into
a Flex
   app?  Or in this case should I just JAR up my class files and
use ANT
   to copy out the code and JAR.  JRun can hot-load the jar.
  
  
   --
   Douglas Knudsen
   http://www.cubicleman.com
   this 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
  Yahoo! Groups Links
 
 
 
 
 
 
 
 
 
 --
 Douglas Knudsen
 http://www.cubicleman.com
 this 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 
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] Re: Flex 1.5 apps...deploying

2006-04-12 Thread Dave Wolf
We're *huge* tomcat fans.  No we have not had a requirement to front
Tomcat with an Apache server yet.  Actually from a huge amount of
research we don't believe that the Apache HTTPD would help much.  The
Apache Software Foundation (ASF) did a great benchmark comparing
Tomcat 5.5.x with Apache HTTPD serving static content and the delta is
damned small.  Tomcat performs really well.  


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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Douglas Knudsen
[EMAIL PROTECTED] wrote:

 one more question.we are using JRun, we are a CF shop primarily. 
 JRun's internal server is not really meant for production load and
 such so we have IIS in front of it.  This seems to be overkill for a
 Flex based application that has only JSP and MXML files.  Thoughts?
 
 Dave, do you put Apache in front of Tomcat?  curious...and a littel
 green in J2EE land still.
 
 thanks!
 
 DK
 
 
 On 4/12/06, Douglas Knudsen [EMAIL PROTECTED] wrote:
  thanks Dave.
 
  got the picture now I think.  Sounds like when these Ant tasks of
  yours fire and build a WAR, they include the Flex app in the WAR, eh?
  But the Ant tasks nab the Flex app from the local file system not CVS.
   kewl.
 
  by 'Flex app' here I mean the Flex app server, not the mxml, as, jsp
  files comprising the 'Flex based' app.
 
  DK
 
  On 4/12/06, Dave Wolf [EMAIL PROTECTED] wrote:
   We use ANT, Tomcat, Subversion and the mxmlc compiler. 
Effectively we
   do exactly what you are asking about.
  
   We store the Java. JSP. HTML, images, everyhing in source
control.  We
   then have multiple ANT tasks to manage doing
  
   -compilation of both Java and the MXML
   -packaging into JARs WAR etc
   -deployment of these collections into the application server
  
   We have tiers of ANT tasks which cascade together into larger
units of
   work.  So I might be able to build just one subsection, which
then can
   be rolled up into a packaging, which then can be rolled up into a
   deployment, which then can roll up into one uber task that builds
   deploys and configures an entire server.
  
   Today on our projects almost code goes from source control into a
   running server without some well known task doing it.  This is
how we
   build our RIAs.
  
   --
   Dave Wolf
   Cynergy Systems, Inc.
   Macromedia Flex Alliance Partner
   http://www.cynergysystems.com
  
   Email:  [EMAIL PROTECTED]
   Office: 866-CYNERGY
  
  
  
   --- In flexcoders@yahoogroups.com, Douglas Knudsen
   douglasknudsen@ wrote:
   
How are you folks deploying apps for Flex 1.5?I have been just
copying the files out to the server, restarting JRun when
needed.  I'd
like to crank up Ant and do the WAR or JAR thing.
   
I'm looking at deploying using a WAR file.  I keep code in CVS
repository.  I want to use Ant to pull the code from CVS,
compile, and
build the WAR but I don't want to store the whole Flex app in
CVS, eh?
 Just my code.  Can one deploy only your app code as a WAR
into a Flex
app?  Or in this case should I just JAR up my class files and
use ANT
to copy out the code and JAR.  JRun can hot-load the jar.
   
   
--
Douglas Knudsen
http://www.cubicleman.com
this 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
   Yahoo! Groups Links
  
  
  
  
  
  
  
 
 
  --
  Douglas Knudsen
  http://www.cubicleman.com
  this is my signature, like it?
 
 
 
 --
 Douglas Knudsen
 http://www.cubicleman.com
 this 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 
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] Re: Possible to invoke Flex2b2 compiler as a Java class?

2006-04-11 Thread Dave Wolf
In any Java JAR there can be a main-class which is the class called
when no classname is specified.  That main-class will also have a
main() method which si the default entry point of the class.  That
method has the following signature

public static void main(String[] args);

Where the String[] are the command line arguments.

Call the main() method passing in whatever command line arguments
there would be as the String[].

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Avi Flax [EMAIL PROTECTED] wrote:

 I'd like to invoke the Flex2b2 compiler from ColdFusion using the Java
 class, if possible.
 
 I looked at the file MANIFEST.MF in mxmlc.jar, and saw: 
 
 Main-Class: flex2.tools.Compiler
 
 So, I tried this in CF:
 
 Application.com.MXMLc =
 Application.com.URLClassLoader.LoadJarClass(CompilerPath,
 flex2.tools.Compiler);
 
 That works, and I can CFDUMP the object to see a list of its methods
 and properties, but:
 
 - I can't set the property FILE_SPECS: I get an
 java.lang.IllegalAccessException with the message: field is final
 
 - I can't invoke the compile method. My code is:
 Application.com.MXMLc.compile(JavaCast(String, MxmlPath));
 I get the CF message The selected method compile was not found.
 
 Can anyone shed some light on this? Is it documented anywhere?
 
 I apologize if this is silly; I'm expert with CFML but not experienced
 with Java interaction.
 
 I did try to just use CFEXECUTE at first, with mxmlc.exe, but had
 trouble with it. I've always found CFEXECUTE frustrating, so I thought
 I'd give this approach a try.
 
 Thanks!
 Avi Flax
 Flex Newbie
 Arc90, New York
 http://www.arc90.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/

* 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] Re: um, where is my session?

2006-04-11 Thread Dave Wolf
I think its too simplistic to think you can always store all state in
the RIA.  The problem is it makes an assumption that the application
is very homogenous.  I think you will find that over time these more
complex applications are a mixture of Flex, Flash and HTML.  The
ability to maintain session state across these elements using a
servant session is going to definately have value.  

It is absolutely true that one of the biggest advantages of the RIA is
that you can get away from the primitive page-centric request response
architecture where you have no choice but to maintain state in the
server.  

I just want to say I think that the session has real-world value and
we cant just write it off.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Dimitrios Gianninas
[EMAIL PROTECTED] wrote:

 Hi,
  
 Well it depends on what you are doing. I don't know if this is your
 first try at building Flex applications or not and if it is, then
 perhaps this explains why you are asking this question. With building
 RIAs you no longer need to maintain the state of the application in
 various session objects as we have all done in the past when using JSPs
 and such. You can now concentrate everything in a global model object
 (see ModelLocator in Cairngorm) to do this for you.
  
 Perhaps you can give us a quick use-case of what you are doing, and then
 maybe we can provide any explanations you might need.
  
 Dimitrios Gianninas
 RIA Developer
 Optimal Payments Inc.
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of box110a
 Sent: Monday, April 10, 2006 10:33 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] um, where is my session?
 
 
 I have been soaking up the Flex 2, FDS and Cairngorm stuff and feel
 pretty good. I've got Jrun4 with Service pack 6 so I can use java5. I
 also have hibernate 3.1.3 with annotations working in the same
 container (hint: in your jrun-web.xml file, set
 load-system-classes-first = true)... It all seems to work well. 
 
 I am using the Flex Java DAO adapter. There is only one thing I can't
 seem to get an answer on. Where is my session with the server and how
 do I access it with Flex?  It seems like Cairngorm wants to take over
 the entire state of the application. This only works if you entire
 application is inside one Flex application.  Any thoughts from the
 community on this?  I've got ideas on how to hack it all together, but
 I want to hear what you've got to say.
 
 thanks,
 JB
 
 
 
 
 
 --
 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/ . 
 
 
 







--
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] Re: HTTP method POST is not supported by this MXML?

2006-03-31 Thread Dave Wolf
Or just pre-compile your MXML.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:

 The servlet that compiles MXML does not accept POST requests.  If you
 want to have variables passed through but submit using POST you'll need
 to write your own wrapper JSP to do it.
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Dan
 Sent: Wednesday, March 29, 2006 5:58 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] HTTP method POST is not supported by this MXML?
 
 I get HTTP method POST is not supported by this URL when to call the 
 following html script
 
 form action=analyzer.mxml method=post
   input name=submit type=submit value=Bring me to my 
 analyzer 
 /form
 
 The script work well if method=get, however, I want to sumbit hidden 
 parameters to the mxml. Anyone Can help?
 
 Daniel
 
 
 
 
 
 
 --
 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/

* 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] Re: Can Flex do this? (was: Too many mistakes)

2006-03-30 Thread Dave Wolf
Stefan,

The usual trick here is a browser feature to get that to work.  They
usually have a DIV on the page which contains an FTP:// URI.  When you
drag the file into the DIV the browsers own FTP support kicks in and
uploads the file.

I know there are also ActiveX controls people have written for file
upload.


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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Stefan Richter [EMAIL PROTECTED] wrote:

 On this note I wanted to ask the crowd: is Flex2 capable of letting
a user
 drag a file from their desktop into the browser, onto the Flex app
and then
 have Flex upload it?
 I saw something similar being done by a custom ActiveX control in
 combination with AJAX and it was very slick. I had never seen
anything like
 it. Moreover that plugin was able to transcode video clips to Flash
Video
 format before uploading...
  
 Stefan
  
  
 
 
  
 
 Works across browsers with no extra code (= less maintenance and dev
time)
 that alone beat's Ajax hands down again IMHO (insert hundreds more
here).
 
 
 hope this helps
 
  
 
 Jason







--
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] Re: Flex 2: about potential HTTPService timeout/security issues ...

2006-03-27 Thread Dave Wolf
The player is simply piggy backing on the HTTP stack of the browser. 
I think you will find in most cases the browser will detect the half
dead socket when data is moving on the socket and generate an error
HTTP status back.  Things get a little harrier when you have an idle
yet persistent connection.  

This gets even more tricky if you are running a cluster of servers to
support high availability, etc.

In any case, for what you are describing,  I think you wont have to
work on doing this yourself.  It should be very easy to test.


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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, dos dedos [EMAIL PROTECTED] wrote:

 
 Relating to the potential timeout issue, I think most likely
HTTPService doesn't timeout on its own
 
 However, my Java application could crash and reboot so I would have
to make sure HTTPService would time out if it's loses connection with
the server... No idea how to do that yet ...
 
 Any clarifications would be greatly helpful!
 
 Thanks
 
 dos
 
   
 -
 New Yahoo! Messenger with Voice. Call regular phones from your PC
and save big.







--
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] Re: FB2 :: Plugin, where is it?

2006-03-26 Thread Dave Wolf
The only bummer is that if you have a Java project with some mxml in
it (like we do since we've been using Eclipse since before Zorn)  you
can't use the MXML editors.  They seem to only work inside the Flex
projects themselves.

But yes, you do get to have everything in one tool, just not all mixed
up in one project.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Michael Schmalle
[EMAIL PROTECTED] wrote:

 Well, it took me 4 minutes to uninstall and reinstall on top of Eclipse.
 
 Never know what I need in the future, now everything is in one place.
 
 Peace, Mike
 
 On 3/26/06, Johannes Nel [EMAIL PROTECTED] wrote:
 
   i am not certain about beta 2, but in beta 1 the ant was
disabled, and
  that is a killer for me as i use ant the whole time as a workflow
tool. you
  never know what you might need until you find its not there so...
 
 
  On 3/26/06, Michael Schmalle [EMAIL PROTECTED]  wrote:
  
HAHA,
  
   You know, that figures it was right in front of my face!
  
   Thanks Johannes for pointing out the obvious. Maybe it's becasue
I am
   here since alpha and it was a seperate download. I really think
that is what
   screwed up my thinking.
  
   Lets say I am not using Java in Eclipse, it is still wise for me to
   install Flex Builder as the plugin right?
  
   Peace, Mike
  
  
   On 3/26/06, Johannes Nel  [EMAIL PROTECTED] wrote:
   
 ant is not installed by default, which is the the real
killler, other
than that none of the standard java stuff is there. the
pluging version of
zorn is in the same installer, all you do is you choose to
install the
plugin version and point it to a eclipse folder.
   
   
On 3/26/06, Michael Schmalle  [EMAIL PROTECTED] wrote:
   
  Hey,

 I have so much on my plate...

 I just read in a previous thread that the standalone is severly
 cippled in Eclipse. What is not implemented?

 I want to use the subversion plugin, I have Eclipse installed
 already, where do I get the plugin version of Flex Builder?

 Could somone point me in the resources direction or at least
give a
 couple steps to get this going for me in my mind?

 Peace, Mike

 --
 What goes up, does come down.

  --
 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
flexcodershttp://groups.yahoo.com/group/flexcoders
on the web.

-  To unsubscribe from this group, send an email to:
 
[EMAIL PROTECTED][EMAIL PROTECTED]

-  Your use of Yahoo! Groups is subject to the Yahoo!
Terms of
Service http://docs.yahoo.com/info/terms/.


  --

   
   
   
--
j:pn
http://www.lennel.org
   
   
 --
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
flexcodershttp://groups.yahoo.com/group/flexcoders
   on the web.
   
   -  To unsubscribe from this group, send an email to:

[EMAIL PROTECTED][EMAIL PROTECTED]
   
   -  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
   Service http://docs.yahoo.com/info/terms/.
   
   
 --
   
  
  
  
   --
   What goes up, does come down.
  
  
--
   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
flexcodershttp://groups.yahoo.com/group/flexcoders
  on the web.
  
  -  To unsubscribe from this group, send an email to:
   
[EMAIL PROTECTED][EMAIL PROTECTED]
  
  -  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
  Service http://docs.yahoo.com/info/terms/.
  
  
--
  
 
 
 
  --
  j:pn
  http://www.lennel.org
 
 
   --
  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
developmenthttp://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ
 Computer
  software

[flexcoders] Re: Tomcat and Flex 2 beta 2

2006-03-25 Thread Dave Wolf
Well.  Yes and no.

Tomcat is indeed nothing more then a J2EE 1.4 compliant servlet
container.  

However, several groups have written JMS compliant messaging
substrates that run as servlets and hence can run inside of Tomcat. 
You might check out the ActiveMQ product at

http://activemq.codehaus.org/Home

One really important distinction to remember when we talk about JMS is
that effectively JMS is nothing more then a standard API used from
Java to talk to messaging systems, often refered to as a substrate.
 Most all major messaging substrates now support the JMS API.  

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY






--- In flexcoders@yahoogroups.com, Johannes Nel [EMAIL PROTECTED]
wrote:

 what are you using for the app server? tomcat is just a servlet
container,
 so you still need a app server for jms, which the collabation
sampless run
 on.
 
 On 3/24/06, sof4real03 [EMAIL PROTECTED] wrote:
 
  Has anyone gotten Flex 2 beta 2 configured correctly on tomcat 5, JDK
  1.5? I followed the directions on labs, but no luck. I'm having
  NoClassDefFound error when trying to run the collaboration sample
  apps. Any insight?
  Thanks,
  Sof
 
 
 
 
 
  --
  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
 
 
 
 
 
 
 
 
 
 --
 j:pn
 http://www.lennel.org








--
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] Re: Flex2: version control plugin

2006-03-25 Thread Dave Wolf
There is also a subversion plugin for eclipse, although I havent used
it.  We use Eclipse as the Java editor and compiler, and then checkin
the changes using Tortoise for subversion.

Check out the ANT view in Eclipse as well.  Its pretty slick.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY


--- In flexcoders@yahoogroups.com, dos dedos [EMAIL PROTECTED] wrote:

 I use JBuilder for Java which comes with CVS, too, but I had no idea
it was also built into Eclipse .. It looks like Flex will make Java
developers migrate from other IDEs to Eclipse .. I see no reason to
have two IDEs for Java and Flex :)
 
 thanks... I guess I'll have to install Flexbuilder B2 again
 
 Douglas Knudsen [EMAIL PROTECTED] wrote:CVS client is bult
into Eclipse.
  
  DK
  
  On 3/24/06, dos dedos [EMAIL PROTECTED] wrote:
  
   Is there the eclipse plugin for single-user version control (with
diff,
   label, branch, merge, etc)?
  
  
  
  
  
  

   New Yahoo! Messenger with Voice. Call regular phones from your PC
and save
   big.
  
  
  
--
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.
  

  
  
  
  --
  Douglas Knudsen
  http://www.cubicleman.com
  this 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 
 

   
 -
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. 
  
 
 -
  
  
  
 
   
 -
 Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and
30+ countries) for 2¢/min or less.







--
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] Re: Flex 1.5 MXMLC question

2006-03-24 Thread Dave Wolf
What kind of data services calls?  


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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Dimitrios Gianninas
[EMAIL PROTECTED] wrote:

 Never needed to use the MXMLC command-line compiler to pre-compile our
 Flex 1.5 UIs into SWFs before on any projects until now. 
  
 I tested it on a simple test app, compiled properly, put it in my local
 web server folder, launched my browser, typed
 http://localhost:7001/bla/bla.swf and it loaded and remote calls worked.
  
 Now I tried it on our actual project, it compiles, but when I throw the
 SWF into my local web server folder, it loads but when it comes time to
 execute a remote call, it just sits there (wheel spins forever). Anyone
 ever experienced this before?
  
 Dimitrios Gianninas
 RIA Developer
 Optimal Payments Inc.








--
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] Re: Flex 1.5 MXMLC question

2006-03-24 Thread Dave Wolf
Hmmm,

Not a data service we use (we prefer webservice) but I dont see why it
would be different.  Now that said I know for a fact we dont use
fastmxmlc.  I dont remember why though.

Have you tried some kind of proxy (like charles) to see if the data
call is being made on the wire?

Ted?  Can you remember?

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Dimitrios Gianninas
[EMAIL PROTECTED] wrote:

 Using regular Remote Objects. I did specify -contextroot option and no
 go. I see no traffic on my console at all. But it is definitely choking
 on the first remote call.
  
 The first time I used it on my test app it worked fine, compiling,
 loading, and execution of remote calls. But for my real projects, tried
 it on two of them, it compiles and loads in the browser, but remote
 calls don't work.
  
 Oh shit, forgot to mention its fastmxmlc I'm using, not sure If that
 makes a difference.
  
 Any insight/help is appreciated.
  
 Going to be starting a Flex2 project soon, will definitely be using
 pre-compilation it right off the bat.
  
 Dimitrios Gianninas
 RIA Developer
 Optimal Payments Inc.
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Dave Wolf
 Sent: Friday, March 24, 2006 2:09 PM
 To: flexcoders@yahoogroups.com
 Subject:  [flexcoders] Re: Flex 1.5 MXMLC question
 
 
 What kind of data services calls?  
 
 
 -- 
 Dave Wolf
 Cynergy Systems, Inc.
 Macromedia Flex Alliance Partner
 http://www.cynergysystems.com
 
 Email:  [EMAIL PROTECTED]
 Office: 866-CYNERGY
 
 --- In flexcoders@yahoogroups.com, Dimitrios Gianninas
 dimitrios.gianninas@ wrote:
 
  Never needed to use the MXMLC command-line compiler to pre-compile our
  Flex 1.5 UIs into SWFs before on any projects until now. 
   
  I tested it on a simple test app, compiled properly, put it in my
 local
  web server folder, launched my browser, typed
  http://localhost:7001/bla/bla.swf and it loaded and remote calls
 worked.
   
  Now I tried it on our actual project, it compiles, but when I throw
 the
  SWF into my local web server folder, it loads but when it comes time
 to
  execute a remote call, it just sits there (wheel spins forever).
 Anyone
  ever experienced this before?
   
  Dimitrios Gianninas
  RIA Developer
  Optimal Payments Inc.
 
 
 
 
 
 
 
 
 --
 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/ . 
 
 
 







--
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] Re: mxmlc/compc versus web server compile

2006-03-22 Thread Dave Wolf
That depends what you mean by better.  In Flex 1.5 you will find very
quickly that the JIT server compiler leaks memory very badly and wont
work with an application of any real size.  For any kind of serious
application the server compilation simply wont work for you.

We use mxmlc called from autoamted ANT builds.  We're pretty attament
about it all.  We have a very well designed build and source control
process that has made real impacts on the quality and reliability of
our solutions.

Yeah, performance isnt stunning, but given that its a two pass
compilation thats not shocking either.

We're hoping for some marked improvement in Flex2.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY



--- In flexcoders@yahoogroups.com, Renaun Erickson [EMAIL PROTECTED] wrote:

 After some more reading I am under the assumption that for development
 of Flex 1.5 apps its better to use the Java web server access to
 compile with caching on.  Is this correct?
 
 Renaun
 
 --- In flexcoders@yahoogroups.com, Renaun Erickson renaun@ wrote:
 
  ## This post is in regard to Flex 1.5 ##
  
  I have finally got around to trying out mxmlc and fastmxmlc with a xml
  build script.  The purpose was to see if it was faster to use mxmlc to
  compile on my development environment versus using the web server
  (accessing the mxml by a url).
  
  I am not seeing a big difference in compile time between the two
  methods.  I tried RSL's but dont think they are setup correctly.
  
  My big question is how do I get my compile times down on my local
  development machine?
  
  Renaun
 







--
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] Re: Debugging server-side code

2006-03-19 Thread Dave Wolf
Yes you absolutely can.  How depends on which application server you
are using.  Sometimes is very easy, other times its very tricky.

Using Tomcat is on the easy side.  Especially if you are using either
Eclipse or the new Flex Builder v2.  That is because you can run the
tomcat process right inside the eclipse runtime and right inside the
included debugger.  It is slick.  Basically you can set a breakpoint
in your servant code.  When your flex app call the server and hits
that breakpoint, boom, eclipse pops to the foreground and you are
debugging your code live in the server.

Check the eclipse documentation or the plethora of internet postings
about how to configure eclipse to debug tomcat.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, adamcath123 [EMAIL PROTECTED] wrote:

 Hi guys,
 
 Can I debug the Java code being called by my Flex RPC components? How?
 
 -Adam








--
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] Re: Muliple flex apps on tomcat

2006-03-15 Thread Dave Wolf
You can run many web apps that serve SWF content.  However, I would
seriously avoid the JIT compilation in favor of pre-compiling your SWF
files.  That SWF compiler leaks pretty heavily in 1.5.  

In nay case, you should be able to do what you are trying here.  I am
curious why you want to run these as seperate web apps?  Whats the value?

I would really encourage you to look into pre-compiling the SWFs.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY


--- In flexcoders@yahoogroups.com, Jeff Krueger [EMAIL PROTECTED]
wrote:

 All,
  
 I am trying to run basically the same web app as two instances
on the same server.  So I have the same wars but with different
web.xml for config and different db connections.  But only one of the
apps will start, and when the other web is hit for the first time I
get a out of memory error
  
 2006-03-15 19:30:28 StandardWrapperValve[FlexMxmlServlet]:
Servlet.service() for servlet FlexMxmlServlet threw exception
 java.lang.OutOfMemoryError
 
  
 This is on tomcat 5 and I have the mem config for it set to -Xms512m
-Xmx1536m
  
 It won't even create the generated files?  Can you run two flex apps
on one server?  Should they share cache?  Should I not dup all the
flex parts for each app.  Both are are 100% complete.
  
 Any thoughts or help would be helpful.
  
 Thanks
  
 Jeff







--
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] Re: Muliple flex apps on tomcat

2006-03-15 Thread Dave Wolf
Clint, 

Do you do JIT compiling?

I do agree.  Tomcat is *the* workhorse Flex server...

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY


--- In flexcoders@yahoogroups.com, Clint Modien [EMAIL PROTECTED] wrote:

 I've seen tomcat handle some pretty monstrous flex apps and I've used it
 daily for like 2 years now.  It should in theory run all way up too
 that 1.5GB of ram you have allocated and them some. (swap space...
 asuming your on
 windows of course.)
 
 Watch your ram usage while it's compiling.  Is it coming any where near
 that?
 
 Can you give us more info.  How many mxml/as files are we talking about?
 
 Your sure you have the vm mem config setup right?  Tomcat's default is
 something silly like 128 Megs max.
 
 
 
 On 3/15/06, Jeff Krueger [EMAIL PROTECTED] wrote:
 
  All,
 
  I am trying to run basically the same web app as two instances
on the
  same server.  So I have the same wars but with different web.xml for
  config and different db connections.  But only one of the apps
will start,
  and when the other web is hit for the first time I get a out of
memory error
 
  2006-03-15 19:30:28 StandardWrapperValve[FlexMxmlServlet]:
Servlet.service()
  for servlet FlexMxmlServlet threw exception
  java.lang.OutOfMemoryError
 
  This is on tomcat 5 and I have the mem config for it set to -Xms512m
  -Xmx1536m
 
  It won't even create the generated files?  Can you run two flex
apps on
  one server?  Should they share cache?  Should I not dup all the
flex parts
  for each app.  Both are are 100% complete.
 
  Any thoughts or help would be helpful.
 
  Thanks
 
  Jeff
 
 
 
   --
  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
developmenthttp://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ
 Computer
  software
developmenthttp://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw
 Software
  design and
developmenthttp://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ
  Macromedia
 
flexhttp://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw
 Software
  development best
practicehttp://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw
   --
  YAHOO! GROUPS LINKS
 
 
 -  Visit your group
flexcodershttp://groups.yahoo.com/group/flexcoders
 on the web.
 
 -  To unsubscribe from this group, send an email to:
 
[EMAIL PROTECTED][EMAIL PROTECTED]
 
 -  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/.
 
 
   --
 







--
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] Re: Muliple flex apps on tomcat

2006-03-15 Thread Dave Wolf
Yep pretty much our deal here too.  We couldn't do fastmxmlc though,
so we stick with old standby.  We have some pretty kickin ANT scripts
that build the whole deal, including Tomcat.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Clint Modien [EMAIL PROTECTED] wrote:

 Yep... daily... I use it for dev and running test harnesses... but
it's a
 combination of both JIT and precompiling with ant and fastmxmlc.
 
 And your right... it leaks like a sieve..  gotta bounce it once a
day
 (that's right i can spell sieve.. *thank you google!* lol).
 
 
 
 
 On 3/15/06, Dave Wolf [EMAIL PROTECTED] wrote:
 
  Clint,
 
  Do you do JIT compiling?
 
  I do agree.  Tomcat is *the* workhorse Flex server...
 
  --
  Dave Wolf
  Cynergy Systems, Inc.
  Macromedia Flex Alliance Partner
  http://www.cynergysystems.com
 
  Email:  [EMAIL PROTECTED]
  Office: 866-CYNERGY
 
 
  --- In flexcoders@yahoogroups.com, Clint Modien cmodien@ wrote:
  
   I've seen tomcat handle some pretty monstrous flex apps and I've
used it
   daily for like 2 years now.  It should in theory run all way up too
   that 1.5GB of ram you have allocated and them some. (swap space...
   asuming your on
   windows of course.)
  
   Watch your ram usage while it's compiling.  Is it coming any
where near
   that?
  
   Can you give us more info.  How many mxml/as files are we
talking about?
  
   Your sure you have the vm mem config setup right?  Tomcat's
default is
   something silly like 128 Megs max.
  
  
  
   On 3/15/06, Jeff Krueger powellbullfrog@ wrote:
   
All,
   
I am trying to run basically the same web app as two instances
  on the
same server.  So I have the same wars but with different
web.xml for
config and different db connections.  But only one of the apps
  will start,
and when the other web is hit for the first time I get a out of
  memory error
   
2006-03-15 19:30:28 StandardWrapperValve[FlexMxmlServlet]:
  Servlet.service()
for servlet FlexMxmlServlet threw exception
java.lang.OutOfMemoryError
   
This is on tomcat 5 and I have the mem config for it set to
-Xms512m
-Xmx1536m
   
It won't even create the generated files?  Can you run two flex
  apps on
one server?  Should they share cache?  Should I not dup all the
  flex parts
for each app.  Both are are 100% complete.
   
Any thoughts or help would be helpful.
   
Thanks
   
Jeff
   
   
   
 --
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
 
http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ
  
  Computer
software
  development
 
http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw
  
  Software
design and
  development
 
http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ
  
Macromedia
   
  flex
 
http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw
  
  Software
development best
  practice
 
http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw
  
 --
YAHOO! GROUPS LINKS
   
   
   -  Visit your group
  flexcodershttp://groups.yahoo.com/group/flexcoders
   on the web.
   
   -  To unsubscribe from this group, send an email to:
   
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]
   
   -  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
   Service http://docs.yahoo.com/info/terms/.
   
   
 --
   
  
 
 
 
 
 
 
  --
  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

[flexcoders] Re: RemoteObject and Enterprise Services

2006-03-09 Thread Dave Wolf
Why not simply consume web services from .NET then?  That would avoid
the need for FES.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, mvbaffa [EMAIL PROTECTED] wrote:

 Hi All,
 
 I am working with Flex 2.0 and considering the use of RemoteObject. 
 
 But i am concerned about the entreprise services and its price. I am 
 using .NET at the server and thinking about some new .NET AMF open 
 source packages.
 
 The main problem with Entreprise Services, as I have heard, is the 
 price. Will I be able to use at the client RemoteObjects and a free 
 AMF at the server without having to pay form Enterprise Services.
 
 Excuse me if this an obvious question but I am new to Flex.
 
 Thanks in Advance







--
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] Re: .NET Webservices with Structure Parameters

2006-03-09 Thread Dave Wolf
Arrays of simple types like String, Int etc would work (I believe).

The doc/lit issue is a big bummer right now.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, mvbaffa [EMAIL PROTECTED] wrote:

 Thanks Dave
 
 I am using Flex 2.0 Beta 1. Unfortunatelly I must use Webservices, 
 since they are all developed and ready to use. Besides the 
 Enterprise Services are too much expensive, the project cannot 
 afford it.
 
 Wouldn't it be easier to use arrays. Is there any problems passing 
 arrays to Webservices ?
 
 Thanks in advance
 
 --- In flexcoders@yahoogroups.com, Dave Wolf gatorj24@ wrote:
 
  If this is Flex 1.5 we have seen it have issues with CompelxTypes
  (e.g. a struct) when using document/literal encoding (the default 
 for
  .NET I believe).   Can you modify the service to use rpc/encoded?  
  
  If you have a good repro of this using doc/lit you should open a 
 case
  so Adobe can work it.
  
  -- 
  Dave Wolf
  Cynergy Systems, Inc.
  Macromedia Flex Alliance Partner
  http://www.cynergysystems.com
  
  Email:  dave.wolf@
  Office: 866-CYNERGY
  
  
  --- In flexcoders@yahoogroups.com, mvbaffa mvbaffa@ wrote:
  
   Hi All,
   
   When I call a method in a VB.NET webservice passing as parameter 
 the 
   class listed below
   
  public class UserAccountVO {
   
 public function UserAccountVO() {}
   
 public var id : Number;
 public var name : String;
 public var password : String;
 public var email : String;
 public var dataExpiracao : String;
 public var isLogon : Boolean;   
  }
   
   I receive the following error: Request HTTP request error
   
   The .NET service parameter is defined like that:
   
   Public Class UserAccountVO
   Public id As Integer
   Public nome As String
   Public senha As String
   Public email As String
   Public dataExpiracao As String
   Public isLogon As Boolean
   End Class
   
   When I pass only name and password to the Webservice it works OK.
   
   Plase Help me 
  
 








--
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] Re: .NET Webservices with Structure Parameters

2006-03-08 Thread Dave Wolf
If this is Flex 1.5 we have seen it have issues with CompelxTypes
(e.g. a struct) when using document/literal encoding (the default for
.NET I believe).   Can you modify the service to use rpc/encoded?  

If you have a good repro of this using doc/lit you should open a case
so Adobe can work it.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY


--- In flexcoders@yahoogroups.com, mvbaffa [EMAIL PROTECTED] wrote:

 Hi All,
 
 When I call a method in a VB.NET webservice passing as parameter the 
 class listed below
 
public class UserAccountVO {
 
   public function UserAccountVO() {}
 
   public var id : Number;
   public var name : String;
   public var password : String;
   public var email : String;
   public var dataExpiracao : String;
   public var isLogon : Boolean;   
}
 
 I receive the following error: Request HTTP request error
 
 The .NET service parameter is defined like that:
 
 Public Class UserAccountVO
 Public id As Integer
 Public nome As String
 Public senha As String
 Public email As String
 Public dataExpiracao As String
 Public isLogon As Boolean
 End Class
 
 When I pass only name and password to the Webservice it works OK.
 
 Plase Help me 








--
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] Re: Why Java 1.4?????

2006-03-07 Thread Dave Wolf
Your statements are not accurate.  We run under Tomcat 5.5.15 (latest
release) and under JDK 1.5. in development and in production for
several clients.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, digital_eyezed [EMAIL PROTECTED]
wrote:

 Why wont flex 1.5 work with anything other than 1.4 JDK?
 
 It doesn't even work with the latest Tomcat, why would anyone 
 constrain an application to a version of JRE, JDK or tomcat version?
 
 This is useless if the rest of the environment want to move on to 
 pastures new and Flex is left behind dragging everyone back.
 
 I guess this is going to be the same problem with Flex 2, as soon as 
 it's released it's stuck in a timewarp of 'old java'.
 
 It doesn't work with the latest JBOSS either or for that matter the 
 last 14 versions, that's how sanboxed a technology it is.
 
 Maybe they should have spent time thinking about how to suppport it 
 rather than how to price it, it only makes life difficult for us in 
 a lose lose situation.
 
 Please remember that Flex 2 is still in beta and they should be 
 supporting their existing release, without trying to hype everyone 
 up about what the future brings..
 
 Iain








--
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] Re: Why Java 1.4?????

2006-03-07 Thread Dave Wolf
Yes really.  RemoteObject, HttpService, WebService, all of it.  We've
written several applications for major clients in production today. 
Works like an absolute champ with JDK 1.5 and Tomcat 5.5.15.

That said, we very much prefer WebService and HttpService over
RemoteObject, but it works just dandy.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, digital_eyezed [EMAIL PROTECTED]
wrote:

 Really?
 
 We tried this and got Java Class Adapter errors on every service 
 call that uses Remote Objects.
 
 Are you using Remote Object calls?
 
 Cheers,
 
 Iain
 
 --- In flexcoders@yahoogroups.com, Dave Wolf gatorj24@ wrote:
 
  Your statements are not accurate.  We run under Tomcat 5.5.15 
 (latest
  release) and under JDK 1.5. in development and in production for
  several clients.
  
  -- 
  Dave Wolf
  Cynergy Systems, Inc.
  Macromedia Flex Alliance Partner
  http://www.cynergysystems.com
  
  Email:  dave.wolf@
  Office: 866-CYNERGY
  
  --- In flexcoders@yahoogroups.com, digital_eyezed iain.mclean@
  wrote:
  
   Why wont flex 1.5 work with anything other than 1.4 JDK?
   
   It doesn't even work with the latest Tomcat, why would anyone 
   constrain an application to a version of JRE, JDK or tomcat 
 version?
   
   This is useless if the rest of the environment want to move on 
 to 
   pastures new and Flex is left behind dragging everyone back.
   
   I guess this is going to be the same problem with Flex 2, as 
 soon as 
   it's released it's stuck in a timewarp of 'old java'.
   
   It doesn't work with the latest JBOSS either or for that matter 
 the 
   last 14 versions, that's how sanboxed a technology it is.
   
   Maybe they should have spent time thinking about how to suppport 
 it 
   rather than how to price it, it only makes life difficult for us 
 in 
   a lose lose situation.
   
   Please remember that Flex 2 is still in beta and they should be 
   supporting their existing release, without trying to hype 
 everyone 
   up about what the future brings..
   
   Iain
  
 







--
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] Re: Authentication with Macromedia Flex

2006-03-04 Thread Dave Wolf
Tracy,

Yep this is definately coming out from us as Carson said.  I'll post
here when its been published.  I've been thinking a lot about it
recently.  I think its really important to show it from a Flex login
form also.  Its such an awesome example of how well Flex just
seamlessly integrates into J2EE, as well as how J2EE benefits from the
real RIA experience of Flex.


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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Carson Hager [EMAIL PROTECTED]
wrote:

 We actually have an article coming out on this for DevNet in a couple
 months. The problem is that all J2EE containers have their own way of
 configuring these things. Yes, from a J2EE deployment standpoint, a
 web.xml is the same across all app servers but post deployment, per the
 J2EE spec, the server is not required to depend upon web.xml any more.
 That being said, the best we could do is to provide a sample web app
 that you could then deploy using your J2EE containers deployment method
 but at that point, tweeking the confguration would be server specific.
  
  
 Carson
  
 
  
   
 Carson Hager 
 Cynergy Systems, Inc. 
 http://www.cynergysystems.com http://www.cynergysystems.com/  
   
 Email:  [EMAIL PROTECTED] 
 Office:  866-CYNERGY 
 Mobile: 1.703.489.6466 
   
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Tracy Spratt
 Sent: Friday, March 03, 2006 5:48 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Re: Authentication with Macromedia Flex
 
 
 
 Hey, guys, would it be possible to come up with a simple, but full
 example?  A step by step, keystroke by keystroke tutorial, that assumes
 no understanding of J2EE containers? It would have no options, no
 decisions, just do-this-and-it-will-work.  A hello, world of J2EE
 authentication?
 
  
 
 Using a Flex IU would be ideal, if that does not complicate matters too
 much.
 
  
 
 Flex has forced a lot of folks into the J2EE world, and we need J2EE for
 dummies in a bad way!
 
  
 
 Tracy
 
  
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Carson Hager
 Sent: Thursday, March 02, 2006 11:11 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Re: Authentication with Macromedia Flex
 
  
 
 It can be html or even a flex form that simply posts to
 j_security_check.
 
 
 Carson
 
 
 
 Carson Hager
 Cynergy Systems, Inc.
 http://www.cynergysystems.com
 
 Email:  [EMAIL PROTECTED]
 Office: 866-CYNERGY ext. 89
 Mobile: 1.703.489.6466
 
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
 To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
 Sent: Thu Mar 02 23:11:04 2006
 Subject: Re: [flexcoders] Re: Authentication with Macromedia Flex
 
 But Dave described using a cusom screen instead of the grey
 security/login popup thingy.  In the web.xml settings you can set the
 URL of a custom form for login.  This form can be in HTML or whatever,
 eh?
 
 DK
 
 
 On 3/2/06, Dimitrios Gianninas [EMAIL PROTECTED]
 wrote:
 
  Dave,
 
  I don't disagree with you, that will work and I have seen it work. But
 I don't like the little pop-up challenge window. For lack of a better
 term, I wanted a more presentable login screen for my end users, so
 with the wonderful component model that Flex provides, I created a
 LoginView component that all our UIs re-use... see I didn't write much
 code either :) Is my way more complex? Perhaps just a wee little bit,
 but not very much. Both ways work, just a matter of choice I guess.
 
  Jimmy
 
  -Original Message-
  From: flexcoders@yahoogroups.com on behalf of Dave Wolf
  Sent: Thu 3/2/2006 9:20 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Authentication with Macromedia Flex
 
  I am trying to understand why we all keep trying to make this so
  complex rather then taking advantage of the functionality that is
  already in Flex and your container (JRun, Tomcat etc).  J2EE has a
  resonably simple model for handling authentication and access control
  that alleviates the requirement to write your own login logic, to
  write specific login remote objects, use custom authentication etc.
 
  Effectively you only need to do the following.
 
  1) Secure specific URL patterns via settings in the web applications
  deployment descriptor (web.xml).  I have in the past, and would now be
  more then happy to show how to configure these.
 
  2) Upon trying to load a secured URL pattern, the container will
  challenge you by presenting a login screen.  We have developed these
  screens in Flex.  Effectively you create a simple form with two input
  fields name j_username and j_password.  You post those values to the
  url /j_security_check

[flexcoders] Re: Authentication with Macromedia Flex

2006-03-04 Thread Dave Wolf
The integration comes in the fact that the flash player inherits the
HTTP stack of the underlying browser.  What that means is that any
data service call, whether mx:RemoteObject/, mx:HttpService/ or
mx:WebService/ make calls on the same HTTP Session containing the
same j_sessionid cookie value.  That might seem quite simple on the
face of it, but it is not.  It has some incredibly powerful
ramifications.  

For instance, there is not simple web services authentication
specification.  (yeah ok, WS-Security but I said simple).  What many
people (as we have seen in posts around this place) do is to pass the
current user credentials as a part of the web service call. 
Effectively a parameters.  Why?  Since the HTTP transport inherited
the j_sessionid context, the container is very aware of who the
current user is.  Not only does it simplify your API but more
importantly it reduces a nefarious users ability to hijack sessions etc.

Now as for the setUsername() custom auth integration, remember that
is really only used for/needed for mx:RemoteObject/ and for only one
simple reason.  See the AMF gateway uses only one URL for all remote
obect calls.  Since J2EE security requires implementation by
url-pattern, there is no way to lock down different services in
different ways.  Hence the security is handled by the AMF gateway
servlet and servlet filters.  If it werent for this limitation, you
wouldn't have any need for the custom auth.  Yes, there is some more
code-level integration in the proxy.  For instance the HttpService and
WebService proxy servlet propogates the j_sessionid to the back-end
service implementations.  (or it should, there are a few bugs in 1.5
we found which Adobe addressed for us in propogating that session). 
Generally however we simply by-pass the proxy and make direct calls
where feasable.  

Another huge advantage os this seamless inheritence of the j_sessionid
context is that i makes integrating the RIA with any third party j2EE
based applications a dream.  For instance, we've done a lot of work
integrating the RIA with third party products from folks like Jive
Software and Atlassian Software.  We can have the RIA participating is
broad (even distributed) Single Sign on implementations across
multiple applications.  We can take an existing HTML front-ended
engine and very simply plug in a RIA user experience instead.

Flex and the Flash Player could have very easily been implemented in
such a way that the movie does not open connections using the same
HTTP session as the main browser.  Luckily the Macromedia/Adobe folks
made the right choice, and the amount of power it unleashes is
limitless.  

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY




--- In flexcoders@yahoogroups.com, Douglas Knudsen
[EMAIL PROTECTED] wrote:

 random thoughts...in no way construed to be a instigation.
 
 Is using FORM or BASIC really an integration of Flex and J2EE though? 
 Seems to be no different then HTML, does one claim that HTML and J2EE
 integrate well?  Hmm...just some thoughts.  Now, if you use the
 setusernamepassword() in Flex, isn't that integration with J2EE?
 
 On another note, I don't see why a CF developer couldn't setup J2EE
 security and use the FORM or BASIC method with Flex, eh?  Might need a
 little code to setup a session based on a jsessionid.
 
 
 DK
 
 On 3/4/06, Dave Wolf [EMAIL PROTECTED] wrote:
  Tracy,
 
  Yep this is definately coming out from us as Carson said.  I'll post
  here when its been published.  I've been thinking a lot about it
  recently.  I think its really important to show it from a Flex login
  form also.  Its such an awesome example of how well Flex just
  seamlessly integrates into J2EE, as well as how J2EE benefits from the
  real RIA experience of Flex.
 
 
  --
  Dave Wolf
  Cynergy Systems, Inc.
  Macromedia Flex Alliance Partner
  http://www.cynergysystems.com
 
  Email:  [EMAIL PROTECTED]
  Office: 866-CYNERGY
 
  --- In flexcoders@yahoogroups.com, Carson Hager carson.hager@
  wrote:
  
   We actually have an article coming out on this for DevNet in a
couple
   months. The problem is that all J2EE containers have their own
way of
   configuring these things. Yes, from a J2EE deployment
standpoint, a
   web.xml is the same across all app servers but post deployment,
per the
   J2EE spec, the server is not required to depend upon web.xml any
more.
   That being said, the best we could do is to provide a sample web app
   that you could then deploy using your J2EE containers deployment
method
   but at that point, tweeking the confguration would be server
specific.
  
  
   Carson
  
  
   
  
   Carson Hager
   Cynergy Systems, Inc.
   http://www.cynergysystems.com http://www.cynergysystems.com/
  
   Email:  carson.hager@
   Office:  866-CYNERGY
   Mobile: 1.703.489.6466

[flexcoders] Re: SOAP WebService faultString problem

2006-03-03 Thread Dave Wolf
I know in Flex 1.5 the issue (if you are not using the proxy) is that
the SOAP spec tells the server to return an HTTP status of 500 for a
SOAP fault.  The issue is the player (XML Class?) doesnt fully parse
the message when it receives the 500.  If you use the proxy, this 500
is remapped to a 200 so it works.

I understand this is resolved in FP8.5 and Flex 2.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote:

 Are you using the proxy? I think we changed for Beta 2 to return the
 entire status line from the HTTP error (as it's likely you're running
 into a 404)... But please submit a test case (or at the very least email
 me your file) if you want us to check your particular situation.
 
 Thanks,
Pete
 
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Jan L. Nauta
 Sent: Friday, March 03, 2006 3:37 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] SOAP WebService faultString problem
 
 Hi,
 
 [Flex 2.0 Beta 1]
 
 I'm not getting the faultString when a fault occurs in my SOAP
 WebService:
 
 fault=Alert.show(event.fault.faultstring, 'SOAP Fault');
 
 shows only 'HTTP Request Error'.
 
 I found some info about this with google that states that this doesn't
 work with most browsers, but it should (only) work with Internet
 Explorer. I've tried with Internet Explorer 6, FireFox 1.5 and Opera
 8.5. None works. What am I doing wrong? I'm testing with PHP5.1 on an
 Apache 2.0 using a WSDL based soap server.
 
 Regards,
 
 Jan L. Nauta
 
 B.T.W. in Opera you sometimes have to refresh the page to get your Flex
 application to run. Is this a known problem?
 
 
 
 --
 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/

* 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] Re: Authentication with Macromedia Flex

2006-03-03 Thread Dave Wolf
Yup exactly.  There are two flavors of challenge. 

The ulgy gray browser box is called BASIC.  You can also use FORM and
use anything you want.  Either HTML or as Carson said, a flex form
that posts to j_security_check.  There are some minor differences
between them both, but theyre effectively the same end situation.

Try it out.  You'll be happy you did :)

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Carson Hager [EMAIL PROTECTED]
wrote:

 It can be html or even a flex form that simply posts to
j_security_check. 
 
 
 Carson
 
 
  
 Carson Hager
 Cynergy Systems, Inc.
 http://www.cynergysystems.com
  
 Email:  [EMAIL PROTECTED]
 Office: 866-CYNERGY ext. 89
 Mobile: 1.703.489.6466
 
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
 To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
 Sent: Thu Mar 02 23:11:04 2006
 Subject: Re: [flexcoders] Re: Authentication with Macromedia Flex
 
 But Dave described using a cusom screen instead of the grey
 security/login popup thingy.  In the web.xml settings you can set the
 URL of a custom form for login.  This form can be in HTML or whatever,
 eh?
 
 DK
 
 
 On 3/2/06, Dimitrios Gianninas [EMAIL PROTECTED] wrote:
 
  Dave,
 
  I don't disagree with you, that will work and I have seen it work.
But I don't like the little pop-up challenge window. For lack of a
better term, I wanted a more presentable login screen for my end
users, so with the wonderful component model that Flex provides, I
created a LoginView component that all our UIs re-use... see I didn't
write much code either :) Is my way more complex? Perhaps just a wee
little bit, but not very much. Both ways work, just a matter of choice
I guess.
 
  Jimmy
 
  -Original Message-
  From: flexcoders@yahoogroups.com on behalf of Dave Wolf
  Sent: Thu 3/2/2006 9:20 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Authentication with Macromedia Flex
 
  I am trying to understand why we all keep trying to make this so
  complex rather then taking advantage of the functionality that is
  already in Flex and your container (JRun, Tomcat etc).  J2EE has a
  resonably simple model for handling authentication and access control
  that alleviates the requirement to write your own login logic, to
  write specific login remote objects, use custom authentication etc.
 
  Effectively you only need to do the following.
 
  1) Secure specific URL patterns via settings in the web applications
  deployment descriptor (web.xml).  I have in the past, and would now be
  more then happy to show how to configure these.
 
  2) Upon trying to load a secured URL pattern, the container will
  challenge you by presenting a login screen.  We have developed these
  screens in Flex.  Effectively you create a simple form with two input
  fields name j_username and j_password.  You post those values to the
  url /j_security_check.  Now the container handles all your
authentication.
 
  Once completed the container will provide you access to the secured
  resource and will populate all the in-memory structures to completely
  support runtime interrogation of securerity context.
 
  Flex integrates so well and so transparantly with J2EE and its
  security model it is foolish not to take advantage of that.
 
  I dunno I'm an odd duck.  I like writing less code :)
 
  --
  Dave Wolf
  Cynergy Systems, Inc.
  Macromedia Flex Alliance Partner
  http://www.cynergysystems.com
 
  Email:  [EMAIL PROTECTED]
  Office: 866-CYNERGY
 
 
  --- In flexcoders@yahoogroups.com, Dimitrios Gianninas
  dimitrios.gianninas@ wrote:
  
  
   Hi Allister,
  
   Ok let me clear things up for you. We use WebLogic 8.1 around here,
  in Flex I present a login screen to the user where they enter their
  credentials. These credentials are passed to the server (using a
  RemoteObject - it is not secure, but only has one method doLogin() )
  where using a WebLogic API I authenticate the user, so WebLogic knows
  who he is and a HTTP session is created.
  
   Then all the other RemoteObjects are locked down and when the
  session expires, I kick them back out to the login screen (where I
  wrote below // do whatever you want here, its a free country), all
  still in Flex.
  
   Does this make more sense?
  
   Dimitrios Jimmy Gianninas
   Optimal Payments
  
   -Original Message-
   From: flexcoders@yahoogroups.com on behalf of allister_dickson
   Sent: Thu 3/2/2006 6:13 PM
   To: flexcoders@yahoogroups.com
   Subject: RE: [flexcoders] Authentication with Macromedia Flex
  
  
   Hi Dimitrios,
  
   From reading through your earlier posts I get the impression that
  you are
   using a two methods to authenticate users. Initially, you
  authenticate the
   user using standard J2EE form based authentication

[flexcoders] Re: Flex2: AS Number to Java Long mapping

2006-03-02 Thread Dave Wolf

The core of the issue is that the deserializer cant seperate a
primitive from an Object wrapper right?  I mean mapping a null onto a
long of 0 is correct.  The issue youre having is you want a Long which
itsel is null right?

I can say you'd face this issue in CORBA all the time too.  The
solution in CORBA was to pass a structure that had an isNull property.

struct NullableLong
{
  long value;
  bool isNull;
}

Now you would set the value to zero but the isNull to true.

Just how we solved this back in the CORBA days :)

Passing nulls across languages (hence the CORBA tie) is always an ugly
issue in distributed computing.


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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY




--- In flexcoders@yahoogroups.com, Jim Schneider [EMAIL PROTECTED] wrote:

 Same happens with NaN. Do you (Adobe) have any thoughts as to
whether this
 is worthy of a fix, or will we need to remember to add the logic
to check
 for 0 in all of our Java objects.
 
  
 
 Thanks,
 
  
 
 Jim
 
  
 
 -
 
 Jim Schneider
 
 KJ Interactive, Inc.
 
 1-877-370-6906
 
 1-612-605-5399
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Matt Chotin
 Sent: Sunday, February 26, 2006 8:12 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Flex2: AS Number to Java Long mapping
 
  
 
 What happens if you set the Number to NaN in AS?  I believe null
will coerce
 to 0 in AS3.
 
  
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Jim Schneider
 Sent: Sunday, February 26, 2006 9:20 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Flex2: AS Number to Java Long mapping
 
  
 
 I'm experiencing the following behavior. I set an AS Number variable
to null
 prior to sending to a remote object. On the backend (Java), the
Number is
 converted to a 0. The expected data type on the Java end is a Long
(object,
 not primitive). This is causing us problems since we expect a null Long
 object to be represented as null in the database, not 0, and as an
indicator
 of a new object that needs to be inserted rather than updated.
 
  
 
 Is this expected behavior/mapping? Is it a bug? I can fix it on the
backend
 with some additional logic, but I'd rather not have to do that. 
 
  
 
 Thoughts?
 
  
 
 Thanks.
 
  
 
 -
 
 Jim Schneider
 
 KJ Interactive, Inc.
 
 1-877-370-6906
 
 1-612-605-5399
 
  
 
 
 
 
 --
 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

http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site

+design+developmentw2=Computer+software+developmentw3=Software+design+and+

developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1
 66.sig=L-4QTvxB_quFDtMyhrQaHQ  site design development 
 
 Computer

http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+si

te+design+developmentw2=Computer+software+developmentw3=Software+design+an

d+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s
 =166.sig=lvQjSRfQDfWudJSe1lLjHw  software development 
 
 Software

http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+

site+design+developmentw2=Computer+software+developmentw3=Software+design+

and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5
 s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ  design and development 
 
 
 Macromedia

http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+deve

lopmentw2=Computer+software+developmentw3=Software+design+and+development

w4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6n
 PIrz7_EpZI36cYzBjw  flex 
 
 Software

http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=W

eb+site+design+developmentw2=Computer+software+developmentw3=Software+desi

gn+and+developmentw4=Macromedia+flexw5=Software+development+best+practice
 c=5s=166.sig=f89quyyulIDsnABLD6IXIw  development best practice 
 
  
 
  
 
   _  
 
 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!
 http://docs.yahoo.com/info/terms/  Terms of Service. 
 
  
 
   _








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

[flexcoders] Re: Flex2: AS Number to Java Long mapping

2006-03-02 Thread Dave Wolf
But a Java primitive does not.  That's where it gets confusing.  AS
has only one Number type, not two like Java.  Since a primitive CANNOT
be null, you have to stick with the least common denominator ya know?

CORBA had this too, hence the structure solution.

Unless AS has both a primitive and an Object numeric type I dont know
how else to do the data type mapping but to stick with a 0?

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY


--- In flexcoders@yahoogroups.com, Jim Schneider [EMAIL PROTECTED] wrote:

 Yep, that's the issue. Actionscript has the concept of null. Java
has the
 concept of null. It would seem that AMF/Flex should be able to map
the two
 correctly.
 
 -
 Jim Schneider
 KJ Interactive, Inc.
 1-877-370-6906
 1-612-605-5399-Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Dave Wolf
 Sent: Thursday, March 02, 2006 1:46 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Flex2: AS Number to Java Long mapping
 
 
 The core of the issue is that the deserializer cant seperate a
 primitive from an Object wrapper right?  I mean mapping a null onto a
 long of 0 is correct.  The issue youre having is you want a Long which
 itsel is null right?
 
 I can say you'd face this issue in CORBA all the time too.  The
 solution in CORBA was to pass a structure that had an isNull property.
 
 struct NullableLong
 {
   long value;
   bool isNull;
 }
 
 Now you would set the value to zero but the isNull to true.
 
 Just how we solved this back in the CORBA days :)
 
 Passing nulls across languages (hence the CORBA tie) is always an ugly
 issue in distributed computing.
 
 
 -- 
 Dave Wolf
 Cynergy Systems, Inc.
 Macromedia Flex Alliance Partner
 http://www.cynergysystems.com
 
 Email:  [EMAIL PROTECTED]
 Office: 866-CYNERGY
 
 
 
 
 --- In flexcoders@yahoogroups.com, Jim Schneider jschneider@ wrote:
 
  Same happens with NaN. Do you (Adobe) have any thoughts as to
 whether this
  is worthy of a fix, or will we need to remember to add the logic
 to check
  for 0 in all of our Java objects.
  
   
  
  Thanks,
  
   
  
  Jim
  
   
  
  -
  
  Jim Schneider
  
  KJ Interactive, Inc.
  
  1-877-370-6906
  
  1-612-605-5399
  
_  
  
  From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
  Behalf Of Matt Chotin
  Sent: Sunday, February 26, 2006 8:12 PM
  To: flexcoders@yahoogroups.com
  Subject: RE: [flexcoders] Flex2: AS Number to Java Long mapping
  
   
  
  What happens if you set the Number to NaN in AS?  I believe null
 will coerce
  to 0 in AS3.
  
   
  
_  
  
  From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
  Behalf Of Jim Schneider
  Sent: Sunday, February 26, 2006 9:20 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Flex2: AS Number to Java Long mapping
  
   
  
  I'm experiencing the following behavior. I set an AS Number variable
 to null
  prior to sending to a remote object. On the backend (Java), the
 Number is
  converted to a 0. The expected data type on the Java end is a Long
 (object,
  not primitive). This is causing us problems since we expect a null
Long
  object to be represented as null in the database, not 0, and as an
 indicator
  of a new object that needs to be inserted rather than updated.
  
   
  
  Is this expected behavior/mapping? Is it a bug? I can fix it on the
 backend
  with some additional logic, but I'd rather not have to do that. 
  
   
  
  Thoughts?
  
   
  
  Thanks.
  
   
  
  -
  
  Jim Schneider
  
  KJ Interactive, Inc.
  
  1-877-370-6906
  
  1-612-605-5399
  
   
  
  
  
  
  --
  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
 

http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site
 

+design+developmentw2=Computer+software+developmentw3=Software+design+and+
 

developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1
  66.sig=L-4QTvxB_quFDtMyhrQaHQ  site design development 
  
  Computer
 

http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+si
 

te+design+developmentw2=Computer+software+developmentw3=Software+design+an
 

d+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s
  =166.sig=lvQjSRfQDfWudJSe1lLjHw  software development 
  
  Software
 

http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+
 

site+design+developmentw2=Computer+software+developmentw3=Software+design+
 

and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5
  s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ  design and development 
  
  
  Macromedia
 

http

[flexcoders] Re: Authentication with Macromedia Flex

2006-03-02 Thread Dave Wolf
I am trying to understand why we all keep trying to make this so
complex rather then taking advantage of the functionality that is
already in Flex and your container (JRun, Tomcat etc).  J2EE has a
resonably simple model for handling authentication and access control
that alleviates the requirement to write your own login logic, to
write specific login remote objects, use custom authentication etc.  

Effectively you only need to do the following.

1) Secure specific URL patterns via settings in the web applications
deployment descriptor (web.xml).  I have in the past, and would now be
more then happy to show how to configure these.

2) Upon trying to load a secured URL pattern, the container will
challenge you by presenting a login screen.  We have developed these
screens in Flex.  Effectively you create a simple form with two input
fields name j_username and j_password.  You post those values to the
url /j_security_check.  Now the container handles all your authentication.

Once completed the container will provide you access to the secured
resource and will populate all the in-memory structures to completely
support runtime interrogation of securerity context.

Flex integrates so well and so transparantly with J2EE and its
security model it is foolish not to take advantage of that.

I dunno I'm an odd duck.  I like writing less code :)

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY


--- In flexcoders@yahoogroups.com, Dimitrios Gianninas
[EMAIL PROTECTED] wrote:

 
 Hi Allister,
 
 Ok let me clear things up for you. We use WebLogic 8.1 around here,
in Flex I present a login screen to the user where they enter their
credentials. These credentials are passed to the server (using a
RemoteObject - it is not secure, but only has one method doLogin() )
where using a WebLogic API I authenticate the user, so WebLogic knows
who he is and a HTTP session is created.
 
 Then all the other RemoteObjects are locked down and when the
session expires, I kick them back out to the login screen (where I
wrote below // do whatever you want here, its a free country), all
still in Flex.
 
 Does this make more sense?
 
 Dimitrios Jimmy Gianninas
 Optimal Payments
 
 -Original Message-
 From: flexcoders@yahoogroups.com on behalf of allister_dickson
 Sent: Thu 3/2/2006 6:13 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Authentication with Macromedia Flex
  
  
 Hi Dimitrios,
  
 From reading through your earlier posts I get the impression that
you are
 using a two methods to authenticate users. Initially, you
authenticate the
 user using standard J2EE form based authentication. Then when using a
 service if you receive an authentication fault you use a flex popup
window
 to re authenticate. Is this correct? 
  
 Also, if you get a session time out do you resubmit the original service
 request after re-authentication? If so, what is the best way to
generically
 resubmit the request?
  
 Regards,
  
 Allister
  
 - Original Message - 
 From: Dimitrios Gianninas mailto:[EMAIL PROTECTED]  
 To: flexcoders@yahoogroups.com 
 Sent: Monday, October 10, 2005 12:59 AM
 Subject: RE: [flexcoders] Authentication with Macromedia Flex
 
 I put theh handling of the failed authentication directly in the
 Services.mxml... simple and works.
  
 mx:Script
 function handleRemoteFault( event ):Void {
 if( event.fault.faultcode == Client.Authentication ||
 event.fault.faultcode == 401 ) {
 // do whatever you want here, its a free country
 }
 else {
 event.call.faultHandler( event );
 }
 }
 /mx:Script
  
  
 Dimitrios Jimmy Gianninas
 RIA Developer
 Optimal Payments Inc.
  
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Douglas Knudsen
 Sent: Friday, October 07, 2005 9:53 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Authentication with Macromedia Flex
 
 
 so, I got auth working using the approach you mentioned
 
 CallbackHandler handler = new SimpleCallbackHandler( userName,
password );
  Subject subject = Authentication.login( handler );
  ServletAuthentication.runAs( subject, httpRequest );
 
 silightly different looking under JRun of course.  Now, I'm horribly
stuck
 on getting the roles of the user after logging in.  I have set up Roles
 under teh JMC, JRuns instance manager.  I tested it all with BASIC
auth, so
 I know the autentication and authorisation are working.  I've been
working
 all week on getting the roles for the user after authenticating and
can't
 find squat of an example.  Any hints perhaps?
 
 On a similar note...  Using service.setUserNamePassword() in Flex I
know it
 will authenticate a user, does it also authorise the user by
gathering up
 the roles defined in the containers JAAS config?
 
 
 and one more concerning cairingrom  to use
service.setUserNamePassword()
 effectively, it appears you

[flexcoders] Re: Remote Objects in Flex 1.5 Problem

2006-03-01 Thread Dave Wolf
What if you mark them transient?  Does that help?


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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY
--- In flexcoders@yahoogroups.com, allister_dickson
[EMAIL PROTECTED] wrote:

 Hi Graham,
 
 Thanks for the reply. It helped solve some follow up issues after I 
 overcame the below problem. The cause of this problem was the fact 
 that the action script class representing the java object was never 
 specifically referenced in the action script code because arrays were 
 being passed back and then being set on the Model object (ie no 
 casting was needed). Once the VO Action Script class was imported 
 into the command class then everything started working as per normal. 
 Now in hindsight this makes sense because if there is no direct 
 reference to the VO then flash never loads the class, therefore the 
 Object.registerClass is never performed meaning no link exists 
 between the VO and Java Object. If there is no link then when the 
 object gets past back to a Remote Object flex server treats it like a 
 ASObject rather than the required Java Object.
 
 This question is related to your reply. Is there some way of telling 
 flex server not to pass final Static fields from Java to Flash? I 
 have worked out how to do it from flash to Java using 
 _global.ASSetPropFlags, but I would prefer that they are not sent to 
 flash to start with.
 
 Thanks Again,
 
 Allister
 
 --- In flexcoders@yahoogroups.com, Graham, Jason jason_graham@ 
 wrote:
 
  You have something in your class that the serialization layer is 
 having
  a problem with.  Make sure in your class you don't have any static 
 final
  fields.  This will cause a problem because the serialization layer 
 going
  from java to flex sends these fields across, when you send the 
 object
  back to java it blows up trying to set those fields.
  
  -Original Message-
  From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On
  Behalf Of allister_dickson
  Sent: Friday, February 24, 2006 12:16 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Remote Objects in Flex 1.5 Problem
  
  
  I am integrating a Flex frontend with a J2EE backend using 
 Cairngorm 
  Framework and RemoteObjects. I am able to successfully retrieve 
  information from my java services, but when they are sent back 
 after 
  changes are made to the Java Service doesn't always recognise them 
  as the correct type of Object, therefore causing a cast exception.
  
  After turning on debugging and logging in both the flex client and 
  Java Server I have found the following things.
  
  1) The flex server interprets the objects correctly when passing 
  back the results. All the Typed objects are as expected see log 
  below as an example:
[0] = (Typed Object 
  #1 'au.com.myplan.domain.financial.FinancialDefaultCategory')
  financialCategoryType = (Typed Object 
  #5 'au.com.myplan.domain.financial.FinancialCategoryType')
defaultAccountingTypeId = null
selected = true
_remoteClass 
  = au.com.myplan.domain.financial.FinancialCategoryType
description = 
isNested = true
new = true
name = Budget Income
id = 1.0
  accountingTypeId = null
  _remoteClass 
  = au.com.myplan.domain.financial.FinancialDefaultCategory
  new = true
  name = Dividends
  subDefaultCategories = (Array #6)
  id = 43.0
  
  2) When the object is viewed in the flex debugger only the 
  associated object financialCategoryType has _remoteClass set and 
 the 
  parent object (FinancialDefaultCategory).
  
  3) After changes are made and sent back to the Java Service the log 
  only shows that it only understands the associated object and not 
  the parent.
  [0] = (Object #6)
id = 43.0
subDefaultCategories = (Array #7)
name = Dividends Changed
new = false
accountingTypeId = null
financialCategoryType = (Typed Object 
  #8 'au.com.myplan.domain.financial.FinancialCategoryType')
  defaultAccountingTypeId = null
  selected = false
  _remoteClass 
  = au.com.myplan.domain.financial.FinancialCategoryType
  description = 
  isNested = false
  new = false
  name = Budget Income
  id = 1.0
parentFinancialDefaultCategory = null
selected = true
  
  4) When the Java Service receives the object it is of type ASObject.
  
  
  I have read and followed any examples I can find on the net, but I 
  haven't found a way of forcing the Flex client to associate the 
  objects recieved as the correct Action Script Class. The java log 
  messages give the impression that it is configured correctly

[flexcoders] Re: Xiff and Flex

2006-03-01 Thread Dave Wolf
Wildfire (and pretty much everything from Jive Software) is outstanding.

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY


--- In flexcoders@yahoogroups.com, Scott Langeberg [EMAIL PROTECTED]
wrote:

 Jesse,
 
 You're best off installing your own. Wildfire is a very simple
Jabber server
 (and well-developed) to set up:
 
 http://jivesoftware.org/
 
 I would suggest using the built-in database option, to start with
and then
 deploy your own, once you get it figured out. They simply use the
database
 to track users and rooms, etc.
 
 Scott
 
 On 3/1/06, JesterXL [EMAIL PROTECTED] wrote:
 
  I'd be willing to help if someone could show me to a working
server.  I've
  got plenty of working Flash  AS2 code, but NO working server's. 
The one at
  Dreamhost is like... stupid, it comes with accounts you can
create, but no
  conference rooms, etc.  I know jack about Jabber, but I do have
enough code
  that shows me I'm connecting, and the server has no support for
conferences
  as far as I can tell.
 
  - Original Message - *From:* Jonathan Miranda[EMAIL PROTECTED]
  *To:* flexcoders@yahoogroups.com
  *Sent:* Wednesday, March 01, 2006 12:58 PM
  *Subject:* RE: [flexcoders] Xiff and Flex
 
   Know if there is any plans to port them to AS3? Didn't find
anything on
  their forums.**
 
  _
 
  *Jonathan Miranda*
 
  *Flexible Master of the Web*
 
  *Try not to become a man of success, but a man of value. - Albert
  Einstein*
 
  HealthGrades http://www.healthgrades.com/: Guiding America to Better
  Healthcare™
 
  NASDAQ: HGRD
 
  w  (720) 963-3832
 
  c  (707) 761-0868
 
  [EMAIL PROTECTED]
 
  _
 
  The message contains confidential and/or legally privileged
information
  and is intended for use only by the indicated addressee.  If you
are not the
  named addressee you should not disseminate, distribute, or copy
this e-mail.
  Please notify the sender immediately by e-mail if you have
received this
  e-mail by mistake and delete this e-mail from your system. E-mail
  transmissions cannot be guaranteed to be secure or error-free as
information
  could be intercepted, corrupted, lost, destroyed,arrive late or
incomplete,
  or contain viruses. The sender therefore does not accept liability
for any
  errors or omissions in the contents of this message which arise as
a result
  of e-mail transmission. If verification is required please request a
  hard-copy version.
   --
 
  *From:* flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] *On
  Behalf Of *João Fernandes
  *Sent:* Wednesday, March 01, 2006 10:54 AM
  *To:* flexcoders@yahoogroups.com
  *Subject:* RE: [flexcoders] Xiff and Flex
 
 
 
  I once did work with it and it works pretty fine.
 
 
 
  Don't forget that XIFF classes are AS2.0 classes. It could be nice
to have
  a Jabber adapter for messaging.
 
 
 
  *João Fernandes**
  **Sistemas de Informação*
 
  *Programador Informático**
  **Cofina** media
 
  **Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL**
  **Tel (+351) 213 185 200 . Fax (+351) 213 540 370**
  [EMAIL PROTECTED]
   --
 
  *From:* flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] *On
  Behalf Of *Jonathan Miranda
  *Sent:* quarta-feira, 1 de Março de 2006 17:45
  *To:* flexcoders@yahoogroups.com
  *Subject:* [flexcoders] Xiff and Flex
 
 
 
  Anyone ever messed around with the Xiff library and Flex? I'm in a
  tinkering mood and have begun working on a Flex IM client that
uses Jabber –
  just curious if anyone else has dove into this area before.**
 
  _
 
  *Jonathan Miranda*
 
  *Flexible Master of the Web*
 
  *Try not to become a man of success, but a man of value. - Albert
  Einstein*
 
  HealthGrades http://www.healthgrades.com/: Guiding America to Better
  Healthcare™
 
  NASDAQ: HGRD
 
  w  (720) 963-3832
 
  c  (707) 761-0868
 
  [EMAIL PROTECTED]
 
  _
 
  The message contains confidential and/or legally privileged
information
  and is intended for use only by the indicated addressee.  If you
are not the
  named addressee you should not disseminate, distribute, or copy
this e-mail.
  Please notify the sender immediately by e-mail if you have
received this
  e-mail by mistake and delete this e-mail from your system. E-mail
  transmissions cannot be guaranteed to be secure or error-free as
information
  could be intercepted, corrupted, lost, destroyed,arrive late or
incomplete,
  or contain viruses. The sender therefore does not accept liability
for any
  errors or omissions in the contents of this message which arise as
a result
  of e-mail transmission. If verification is required please request a
  hard-copy version.
 
 
 
 
 
 
 
   --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group

[flexcoders] Re: DateTime in WebService

2006-02-21 Thread Dave Wolf
What Java object type are you using?  A Date or a Calendar object?

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

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY


--- In flexcoders@yahoogroups.com, Pablo Apanasionek
[EMAIL PROTECTED] wrote:

 Take a look at this:
  
 A J2EE-Axis webservice of mine is returning a DateTime in this way:
  
  dateFrom xsi:type=xsd:date2006-06-01Z/dateFrom
  dateTo xsi:type=xsd:date2006-06-02Z/dateTo
 
 And Flex turns it into:
  
 dateFrom[Local Time] : Wed May 31 21:00:00 2006 (-3:00)
 dateTo[Local Time] : Thu Jun 01 21:00:00 2006 (-3:00)
  
 Is there any way of disabling this local time convertion? O maybe
 defining the WSDL to use always local or UTC time?
  
 Thanks in advance
 ---Pablo Gustavo Apanasionek







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




  1   2   3   >