DZone Podcast about Adobe AIR, Flex, and Java

I recently recorded a podcast with James Sugrue for DZone. In the podcast we talk about why Flex and Adobe AIR are relevant to Java developers. You can either listen to the podcast or read transcribed text. It’s good to see DZone doing a lot more Flex related content including the Refcardz I’ve co-authored: Very First Steps in Flex and Flex and Spring Integration.

Let me know what you think of the podcast. Thanks!

This entry was posted in Adobe AIR, Flex, Java. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

4 Comments

  1. amar
    Posted June 10, 2009 at 11:06 pm | Permalink

    i tried your refcard at DZONE “first steps in flex” and the small apps UsingHTTPService and testChat didn’t work . The GUI worked but didn’t function. Gave a lots of errors:
    When tried to run testChat, it opened in browser but before the error came like this (even later, typed message didn’t show in the text area abobe”:
    [MessagingError message='Destination 'chat' either does not exist or the destination has no channels defined (and the application does not define any default channels.)']
    at mx.messaging.config::ServerConfig$/internalGetChannelSet()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\config\ServerConfig.as:624]
    at mx.messaging.config::ServerConfig$/getChannelSet()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\config\ServerConfig.as:255]
    at mx.messaging::MessageAgent/initChannelSet()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\MessageAgent.as:1083]
    at mx.messaging::MessageAgent/internalSend()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\MessageAgent.as:1059]
    at mx.messaging::Consumer/internalSend()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\Consumer.as:224]
    at mx.messaging::AbstractConsumer/subscribe()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\AbstractConsumer.as:624]
    at testChat/___testChat_Application1_creationComplete()[C:\Documents and Settings\Amarendra Kumar\My Documents\Flex Builder 3\testChat\src\testChat.mxml:3]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.core::UIComponent/dispatchEvent()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:9051]

  2. Posted June 11, 2009 at 11:15 am | Permalink

    Hi Amar,

    Make sure that when setting up the project you specify the information for the J2EE server.

    -James

  3. Joy
    Posted July 6, 2009 at 7:27 am | Permalink

    James,
    I have been palying with BlazeDs and Java for almost 3 months now, but one curious question popped up just now.
    In remoting-config.xml we always declare destination of java class and it invokes this class having a default contructor.
    What if i want to invoke a constructor with argument???
    e.g public class MyClass {
    public MyClass() {} // Default constructor
    public MyClass(String myArg){
    attr = myArg ;
    }
    What if i want to pass this “myArg” from Flex? What is the better way to handle this?
    Will appreciate your response on this.

  4. Posted July 6, 2009 at 11:41 am | Permalink

    Hi Joy,

    I think that remoteable classes must have a no-arg constructor unless perhaps if you are using the Spring BlazeDS Integration. In which case I think you can inject stuff in but that stuff still can’t be passed in from the client. You could consider setting your remoting destinations to use the session scope. I hope that helps.

    -James

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

Subscribe without commenting

  • About James Ward



    View James Ward's profile on LinkedIn

  • First Steps in Flex by James Ward and Bruce Eckel




  • Twitter Updates


  • Tour de Flex