November 19th, 2008 by Kyle
Tags: , , , , ,
Posted in: Air, BlazeDS, Flex, Flex Builder, LCDS


OK…so I guess I kind of passed over these yesterday in my announcements. To me, the fact that there would be new releases timed with MAX was known and to anyone in the community there was probably a strong suspicion that there would at least be a new point release at MAX 2008. But in an effort to correct my oversight, here are links to the announcements by the product managers:

Matt Chotin (PM for Flex SDK) announces Flex Builder 3.0.2 and Flex SDK 3.2 (with support for AIR 1.5 and Flash Player 10).

Anil Channappa (PM for LCDS and BlazeDS) announces LCDS 2.6.1 and BlazeDS 3.2.




1 Comment »

November 17th, 2008 by Kyle
Tags: , , , , , , , , , ,
Posted in: BlazeDS, Flex, LCDS


Kind of related to an earlier post: Deploying Multiple LCDS wars to the same servlet container

I found out that you can specify config file tokens as JVM args. This makes deploying the same war file to various deployments that have slight variations for certain parameters easier, since you can deploy the same war, but “tokenize” (and/or use some of the default tokens).

http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/lcds/help.html?content=lcarch_4.html

“You can also use custom run-time tokens in service configuration files; for example, {messaging-channel} and {my.token}. You specify values for these tokens in Java Virtual Machine (JVM) options. The server reads these JVM options to determine what values are defined for them, and replaces the tokens with the specified values. If you have a custom token for which a value cannot be found, an error is thrown. Because {server.name}, {server.port}, and {context.root} are special tokens, no errors occur when these tokens are not specified in JVM options.”




No Comments »

September 5th, 2008 by Kyle
Tags: , , , , , ,
Posted in: ActionScript, Air, BlazeDS, Flex, LCDS


This really isn’t that difficult to do, but the docs regarding it are a little hard to find. I thought I’d post the link and then some links to other useful blog entries that have info to add on this topic.

Doc link: http://livedocs.adobe.com/blazeds/1/blazeds_devguide/help.html?content=runtimeconfig_5.html#194376

One of Adobe’s platform evangelists has posted a blog entry that may be more clear:
http://raghuonflex.wordpress.com/2008/06/05/endpointatruntime/

There is also a “Flex cookbook” entry that may be of some use:
http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=2&postId=9703




No Comments »

August 27th, 2008 by Kyle Posted in: ActionScript, Air, BlazeDS, Flash Player, Flex, LCDS, RubberneckersReview


So, I’ve been lazy and busy and haven’t had a post for a while…hopefully I can get back on track with this post.

  • Adobe AIR Error Codes
    (from Mike Chambers)

  • Understanding Flex itemRenderers – Part 2: External…
    (from Adobe Flex Developer Center: Recent tutorials)

  • Mark Anders Thermo Demo from 360|Flex
    (from Digital Backcountry)

  • Don’t Let Your Timers Creep!
    (from The Joy of Flex)

  • What Do You Think About The Current Adobe AIR Certificate…
    (from Digital Backcountry)

  • Updated version of the ADC Developer Desktop released
    (from The ADC Blog)

  • FlexUnit on Adobe Open Source
    (from Alistair McLeod)

  • 360|Flex Sessions – Media RSS Feed
    (from Ted On Flex)

  • Simple Flex/BlazeDS, JMS, and JBoss configuration
    (from Joe Rinehart on ColdFusion, Flex, and Java)

  • Reading and Writing Local Files in Flash Player 10
    (from Mike Chambers)




    >> Subscribe to Rubbernecker's Reviews RSS <<

    No Comments »
  • August 12th, 2008 by Kyle Posted in: ActionScript, Air, BlazeDS, Flash Player, Flex, LCDS, RubberneckersReview


    I was on vacation last week and missed posting my rubbernecker’s review so here is my top 10 from the passed 2 weeks:

  • Getting Started with Adobe AIR on Linux (Video)
    (from Mike Chambers)

  • Flash Player 10 Mac/Win/Linux Release Candidate Now…
    (from Digital Backcountry)

  • New Java AMF Client feature in BlazeDS
    (from Tom Jordahl’s musings)

  • AMFPHP Security Basics
    (from The Flash Blog)

  • Get IPAddress into Flash
    (from EverythingFlex)

  • BlazeDS and LCDS: Channels, Channels Everywhere (Redux)
    (from Damon Cooper’s BLOG)

  • DataGrid With PopUp Editor
    (from Alex’s Flex Closet)

  • DataGrid ItemEditor with Two Input Fields
    (from Alex’s Flex Closet)

  • How to implement History Manager in a MVC Flex application
    (from Adobe: Most recent Flex Cookbook posts)

  • Displaying a video in a pop up window in Flex
    (from blog.FlexExamples.com)




    >> Subscribe to Rubbernecker's Reviews RSS <<

    No Comments »
  • July 15th, 2008 by Kyle Posted in: Air, BlazeDS, Flash Player, Flex, RubberneckersReview


    Here are the past week’s top 10 Flex/AIR/LCDS links:

  • Flex Next! – FXG, New States, and More: the Gumbo…
    (from Digital Backcountry)
  • Flex 3 Component Explorer – a must for Flex beginners
    (from Greg Wilson’s Ramblings)
  • Don’t Use IFrames for HTML in Flex
    (from Deitte.com)
  • ADT Error Codes
    (from Mike Chambers)
  • Michigan Flex Slides
    (from Code Slinger)
  • Complete Flex 3 CSS Style Properties List
    (from building blocks)
  • FP9@ 97%, Flash Player 9 update 3 at 82%
    (from Justin’s Flash Blog)
  • Compiler available for Astro beta refresh
    (from Justin’s Flash Blog)
  • Creating BlazeDS channels at runtime
    (from Adobe: Most recent Flex Cookbook posts)
  • Actionscript 3 performance tuning review
    (from Universal Mind Blog Aggregator)



  • >> Subscribe to Rubbernecker's Reviews RSS <<

    4 Comments »

    July 1st, 2008 by Kyle Posted in: ActionScript, Air, BlazeDS, Flash Player, Flex, LCDS, RubberneckersReview


    Here are the past week’s top 10 Flex/AIR/LCDS links:

  • How to Get Your Flash Site at the Top of Google
    (from Digital Backcountry)
  • Finally, Flash Becomes Truly Searchable
    (from Digital Backcountry)
  • Creating AIR Applications with Custom Chrome
    (from Digital Backcountry)
  • Saving Encrypted Data in AIR
    (from Daniel Dura)
  • New Video Tutorial On Using SWFObject 2
    (from The Flash Blog)
  • Great Slide Deck on Learning ActionScript 3
    (from The Flash Blog)
  • AIR Tips and Tricks – Video, Slides, and Code
    (from Daniel Dura)
  • Make FileReference.browse() work under Flash Player…
    (from The Joy of Flex)
  • Another Cocomo … umm.. experiment? Acrobat!
    (from Collaborative Methods)
  • The First Acrobat.com Podcast!
    (from The Joy of Flex)



  • >> Subscribe to Rubbernecker's Reviews RSS <<

    No Comments »

    May 16th, 2008 by Kyle Posted in: BlazeDS, Flash Player, Flex, LCDS


    This question seems to come up a lot and there are various answers to it. I am just collecting a few here:

    Questions:

    *****
    The best information I can get from Flex when I get a SOAP fault seems to be “Error #2032: Stream Error” which seems to me to be rubbish – there’s a SOAP fault being sent back to the client which I have verified with Charles, but the header response is a 500 – does Flex use this to decide to give the vague stream error? And if so, can I still retrieve the actual response text?
    (http://www.mail-archive.com/flexcoders@yahoogroups.com/msg90996.html)

    *****

    When an error occurs a web service will typically return a HTTP error
    code with the error message in the body. The problem is that Flex does not allow you to access the body and just throws a 2032 error. None of the information from the HTTP response describing the actual error is
    available in the fault event.
    (http://www.mail-archive.com/flexcoders@yahoogroups.com/msg88599.html)

    *****

    How can I display SOAP fault messages in Flex? Flex 2 currently seems to be reporting an IO error instead of the SOAP fault details.

    *****

    I don’t seem to be able to get the Soap fault of a webservice called from a flex client, I just get a generic fault. If I look in a webservice debugging tool I see the specific fault is being returned as a 500 error with the specific message. How can I get the specific error fault in the flex client, or is this a bug?

    *****

    Responses:

    *****

    Well there has been a bug logged:

    WebService fault details are hidden by Flex SDK – http://bugs.adobe.com/jira/browse/SDK-11841

    *****

    This is a well known limitation of the various plugin APIs exposed to the Flash Player. For non-200 status code HTTP responses, the body is not exposed to the Flash Player and thus it cannot show you what the SOAP fault was. You’d need to change the server to use a 200 status code despite the SOAP response being a fault.
    An alternative is to use the BlazeDS Proxy Service which will handle this situation for you and do the translation.

    *****

    This is generally a Flash Player/Web Browser limitation. The NPAPI that the plugin player uses in FireFox/Safari/etc does not providing anything useful to a plugin when an HTTP fault response is received. This is an area that the Flash Player team is currently investigating fixes in, but any improvements would depend on rev’ing the NPAPI and working with browser vendors to update their browsers. There are also apparently issues in IE7 that weren’t there in IE6. Using the browser HTTP stack buys the Flash Player team space savings because they didn’t have to implement all that directly, integrated browser/player cookies and basic HTTP auth state, SSL/TLS cert management, etc. but because the APIs exposed to the player by the various browsers differ and in some cases have outright holes there are long-standing, nasty limitations/bugs (like this one).

    The way to work around this is to proxy requests either through BlazeDS, LCDS or you can write a simple HTTP proxy in the Server Scripting language of your choice (ColdFusion, JSP, PHP, etc).

    *****

    You need to make your calls through the BlazeDS or LCDS proxy service. SOAP faults are returned with an HTTP status code of 500 which the browsers don’t pass through into the player.

    *****

    And this is my favorite:




    1 Comment »

    So it is almost February already! Where did January go? I’ve been a bit slow out of the gate this year as far as keeping up a decent pace in posting helpful samples to my blog. Actually, I have been working on things behind the scenes, a few details of which I will reveal now. I have launched a new blog on a new domain. The content is to be all “work” related, so it will be about Flex/Flash Player/Adobe AIR, LiveCycle Data Services/Blaze DS/ColdFusion and other fun technologies. I’ve also been working on an AIR app which I hope to get out at least in a fairly stable beta form around the same time that Flex3/AIR releases. It will most likely be open source and hosted on Google Code. I will also be compiling a library of useful components, extensions to components and monkey patches to the Flex framework. This new blog and content will all be available on:

    http://flexmonkeypatches.com

    All old posts on http:blog.739SaintLouis.com should link to or redirect to the same content on my new site. I will leave my old site up for an undetermined length of time with the intent of transforming it content-wise into a more personal blog (time permitting.)

    Regards,

    -Kyle




    No Comments »