Home > Rich Internet Applications > The Flex, Spring and BlazeDS full stack on Adobe Developer Connection

The Flex, Spring and BlazeDS full stack on Adobe Developer Connection

July 22nd, 2008

The last part of the reedition of my article series about Flex and Spring has been published on the Adobe Developer Connection. This episode is the last one in this improved series so if you haven’t read it yet on my blog, I think the version I gave to ADC is better.

Episode 1
Episode 2
Episode 3

Enjoy!

1 Total TweetBacks: (Tweet this post)
  • itsimmediate: Reading article "The Flex, Spring and BlazeDS full stack on Adobe Developer Connection" http://tinyurl.com/9sco5q #techmarks 03/03/09 09:42pm
Share and Enjoy:
  • DZone
  • Digg
  • del.icio.us
  • Slashdot
  • e-mail
  • Facebook
  • Google Bookmarks
  • blogmarks
  • Furl
  • StumbleUpon
  • Technorati
  • TwitThis
  • Reddit

Rich Internet Applications , , , , ,

  1. javaguy44
    12.56 pm at 12.56 pm | #1

    What did you do for spring security? There is still no good article out their about integrating flex + spring + blazeds + spring security

  2. 1.33 pm at 1.33 pm | #2

    that’s a very good question indeed. I haven’t tried yet.

  3. codecraig
    6.55 pm at 6.55 pm | #3

    Having strange error when building client. I have been following your posts and mine is slightly different because I am using LCDS. Anyhow when I try to do a “mvn install” on the client (i.e. todo-ria in your example) I get an error:

    “Could not resolve to a component implementation”

    So I realize I need to add “fds.swc” as a dependency in my POM so i add:

    com.adobe.flex.sdk
    fds
    3.0.0.3.0.0.477
    swc

    Now when I run “mvn install” I get:

    Unable to resolve resource bundle “data” for locale “en_US”

    Any ideas?

  4. 9.58 pm at 9.58 pm | #4

    Hello Seabstien, great tutorials!! I only have one question to do, when im on step 3, i download the sample file, and when i try the mvn install im getting this error:

    1 required artifact is missing.

    for artifact:
    org.epseelon.samples:todolist-web:war:1.0-SNAPSHOT

    from the specified remote repositories:
    central (http://repo1.maven.org/maven2),
    flex-mojos-repository (http://flex-mojos.googlecode.com/svn/trunk/repository/)
    ,
    epseelon-repository (http://m2repo.epseelon.org/)

    How can i (or you :] ) fix this?

    Thanks, you finally disipated a big black cloud i had on my mind about how to use blazeDS :)

  5. 9.59 pm at 9.59 pm | #5

    Sorry, i meaned Sebastien, :S lazy fingers…

  6. 10.00 pm at 10.00 pm | #6

    Oh, and the missing file is

    Missing:
    ———-
    1) org.epseelon.samples:todolist-common:jar:1.0-SNAPSHOT

  7. 9.21 am at 9.21 am | #7

    Are you sure you’re running mvn install from the root directory of the project? Because todolist-common is one of the three components of the project and the other two depend on this one. So if you run mvn install under todolist-ria for example, and you have never run it under todolist or todolist-common, then todolist common has never been deployed to your local repository, which yields the message you get.

  8. 4.40 pm at 4.40 pm | #8

    Hi Sebastien, its me again, thanks for your help on this.

    I did tried to run it in the main root folder of the project but i still get that dependency error, look here please, its my full mvn install log with -e parameter:

    http://www.adrianlabastida.com/?page_id=30

    Thanks again!

  9. 5.34 pm at 5.34 pm | #9

    HI, me again… just to let you know, if i download the sample files from your site instead from the ones @ adobe’s version of the tutorial, the sample compiles successfully! (Specifically the sample file on part 3)

    What may be different?

    Thanks for all the info. :)

  10. Twice
    10.20 am at 10.20 am | #10

    Thanks Sebastian, I actually followed your articles but customizing it to my own multi-module project and I can say it works like a charm.I used 1.0 version of flex-mojo though and one thing to note is flex-mojo SVN is under a new place: http://svn.sonatype.org/flexmojos. Thanks a lot.

  11. Kirill Ishanov
    5.30 pm at 5.30 pm | #11

    Hi Sébastien,

    I’ve downloaded the todolist3.zip from the 3 part (from adobe site) and it doesn’t build. Here is the stack trace:

    [ERROR] BUILD ERROR
    [INFO] ————————————————————————
    [INFO] Failed to resolve artifact.

    Missing:
    ———-
    1) org.epseelon.samples:todolist-common:jar:1.0-SNAPSHOT

    Try downloading the file manually from the project website.

    Then, install it using the command:
    mvn install:install-file -DgroupId=org.epseelon.samples -DartifactId=todolist-common -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

    Alternatively, if you host your own repository you can deploy the file there:
    mvn deploy:deploy-file -DgroupId=org.epseelon.samples -DartifactId=todolist-common -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

    Path to dependency:
    1) org.epseelon.samples:todolist-web:war:1.0-SNAPSHOT
    2) org.epseelon.samples:todolist-common:jar:1.0-SNAPSHOT

    ———-
    1 required artifact is missing.

    Looks like the module todolist-common was missed and I can’t see it inside the archive.

    Thanks

  12. 8.43 pm at 8.43 pm | #12

    Kirill, hello.

    I had the very same issue, and what i did was to download the sample files on the tutorials here on Sebastien’s website instead of the ones in adobe’s website.

    Take a shot and see if that worked for you :)

    Regards.

    Adrian

  13. Irshad A. Buchh
    1.34 pm at 1.34 pm | #13

    Hi Sebastein,

    Good work, all works like u said. We need the actionscript generator that creates action script classes from java pojos, can u help us out. Also any work done towards, creating tests.

    –Irshad.

  14. mattlf
    6.29 am at 6.29 am | #14

    Hi Sebastien
    Do you have a plan to add an episode 4 to the serie where you show how to use Streaming over BlazeDS ?
    Or do you know where there is a good example for that ?
    Thank you!
    matt

  15. 5.11 am at 5.11 am | #15

    Good work mate.

    Well, I wanted to contact you but, the contact form didn’t appear to me. :)

    Cheers!

  16. 9.48 am at 9.48 am | #16

    Contact form is fixed… ;)

  17. 11.36 pm at 11.36 pm | #17

    OK, obviously there are 2 problems in my article on Adobe Developer Connection and I finally found the time to look into it:

    First of all, there was a big error in one of the POMs in todolist3.zip. In todolist-web/pom.xml, if the first dependency looks like this:

    <dependency>
    <groupId>${project.groupId}</groupId>
    <artifactId>todolist-common</artifactId>
    <version>1.0-SNAPSHOT</version>
    </dependency>

    Then replace it with this:

    <dependency>
    <groupId>${project.groupId}</groupId>
    <artifactId>todolist-config</artifactId>
    <version>1.0-SNAPSHOT</version>
    <classifier>resources</classifier>
    <type>zip</type>
    <scope>provided</scope>
    </dependency>

    And it should work fine.

    The second error is in the article itself: of course, all of the namespace declarations should be xmlns:mx=”http://www.adobe.com/2006/mxml” instead of xmlns:mx=”/2006/mxml” .

    I’ll try to reach ADC editor so that they can fix those mistakes. Thanks for the feedback.

  1. 11.34 am at 11.34 am | #1
  2. 11.35 am at 11.35 am | #2
  3. 11.36 am at 11.36 am | #3
  4. 11.38 am at 11.38 am | #4
  5. 1.10 pm at 1.10 pm | #5
  6. 5.20 pm at 5.20 pm | #6