Sie sind auf Seite 1von 7

Flex, Spring and BlazeDS: the full stack!

(Part 1) | Epseelon

Epseelon Solving Software Problems since 2010 Search Subscribe by RSS Home About Me Contact Me Hire Me PGP 10 Apr 19

Flex, Spring and BlazeDS: the full stack! (Part 1)


by Sbastien

[UPDATE 2] If you are still having version issues with the sample application featured in this article, you can get a fully upgraded version here [UPDATE] This article series has been reedited on the Adobe Developer Connection. For more information, see this post. In this article series, Ill try to give you a step-by-step process to create an application with Flex/BlazeDS/Spring/Hibernate/MySQL architecture, all of that built with Maven. Ive been looking for such a tutorial for a long time, but you know what Gandhi said about the change you wish to see in the world, right? So I finally put all the parts together, and with a little help from a Brazilian friend, tadaaaa! Here it comes! But before we dive in to the hard stuff, just a few words of caution: 1. The project that we are going to build in this tutorial is by no means perfect, especially in terms of Maven configuration. So if you have suggestions to improve it, theyll be warmly welcome. 2. One of the main ingredients of this project, one without which nothing would have been possible, is the flex-compiler-mojo from Velo. There are other Flex building Maven plugins out there, but at the time of this writing, none of them offers enough configuration options to build this project. On the other hand, Velos plugin is still in alpha, so Anyway, if like me you are convinced that Adobes official Maven support is necessary, feel free to vote for this issue. Enough blah-blah, lets move on to the real thing. Ready to get nasty?

Where are we going?


The objective of this tutorial is to build a todo-list application that allows you to create, modify, delete and list todo items in a Flex UI. Here is the global architecture we will implement:

This page was created using Nitro PDF SDK trial software. To purchase, go to http://www.nitropdf.com/

Flex, Spring and BlazeDS: the full stack! (Part 1) | Epseelon

The Maven build is what is really tricky. Because of course, with Ant, you can do anything, but I hate writing Ant scripts, and I guess Im not alone. As for using my IDE to build projects, I hate to depend on that, because any serious project needs some degree of testing and continuous integration. So even though Maven is not perfect, I still see it as the least bad solution. As for JBoss, its not a requirement at all, its just what Im using, but you could perfectly use a simple Tomcat. Last but not least, if you want to see the end result of this tutorial, Ive set up a demo here. Thats it for this first episode. In the next one, will Luke understand that he cant leave a gorgeous woman such as Lorelei? Sorry Im out.. 11 Total TweetBacks: (Tweet this post) : 09/30/09 10:14am

en: New here? Best to reserve criticism http://is.gd/1xJEc psyblog offers a study with timely advice. 07/13/09 10:46pm en: This is heinous, no Olympic athlete should do this to his mouth.... http://is.gd/1xJEC 07/13/09 10:45pm

en: rt: @Solondz Flex, Spring and BlazeDS: the full stack! (Part 1) http://tinyurl.com/95p7xq from: @sarbogast 07/06/09 08:30pm Solondz: Flex, Spring and BlazeDS: the full stack! (Part 1) http://tinyurl.com/95p7xq from: @sarbogast 03/24/09 09:08am

itsimmediate: Flex, Spring and BlazeDS: the full stack! (Part 1) http://tinyurl.com/95p7xq from: @sarbogast 03/03/09 07:23pm anandvardhan: RT @punefug An application with Flex/BlazeDS/Spring/Hibernate/MySQL architecture, all of that built with Maven http://tinyurl.com/95p7xq 03/02/09 05:01am whereispriyank: RT @punefug An application with Flex/BlazeDS/Spring/Hibernate/MySQL architecture, all of that built with Maven http://tinyurl.com/95p7xq 03/02/09 04:39am punefug: An application with Flex/BlazeDS/Spring/Hibernate/MySQL architecture, all of that built with Maven http://tinyurl.com/95p7xq 03/02/09 04:38amcreated using Nitro PDF SDK trial software. This page was

To purchase, go to http://www.nitropdf.com/

Flex, Spring and BlazeDS: the full stack! (Part 1) | Epseelon

MArKiTo79: Flex, Spring and BlazeDS: the full stack! (Part 1) http://tinyurl.com/95p7xq from: @sarbogast 02/26/09 02:33pm mammadovemin: Flex, Spring and BlazeDS: the full stack! (Part 1) http://tinyurl.com/95p7xq from: @sarbogast 01/30/09 10:42am Enjoyed reading this post? Subscribe to the RSS feed and have all new posts delivered straight to you. 19 Comments:

1. VELO 10 Apr, 2008 I just see it right now on google reader. Great start. VELO

2. Marc 10 Apr, 2008 i cant wait to see this! when do you plan to release the next episode about the adventures of luke and lorelei in java&mojo country? 3. Flex, Spring and BlazeDS: the full stack! (Part 2) 11 Apr, 2008 [...] Flex, Spring and BlazeDS: the full stack! (Part 1) [...] 4. Daily del.icio.us for April 12th through April 13th Vinny Carpenters blog 13 Apr, 2008 [...] Flex, Spring and BlazeDS: the full stack! (Part 1) In this article series, Ill try to give you a step-by-step process to create an application with Flex/BlazeDS/Spring/Hibernate/MySQL architecture, all of that built with Maven. [...] 5. Flex, Spring and BlazeDS: the full stack! (Epilogue) 20 Apr, 2008 [...] Me Flex, Spring and BlazeDS: the full stack! (Part 1) Flex, Spring and BlazeDS: the full stack! (Part 3) Apr [...] 6. Blog Xebia France - Revue de Presse Xebia 5 May, 2008 [...] Flex, Spring and BlazeDS: the full stack! (Part 1) [...] 7. [davidchiu ~]$ - Adobe Flex/AIR Research Links 8 May, 2008 [...] Flex, Spring and BlazeDS: the full stack! (Part 1) [...] 8. Open Business is Good For You 31 May, 2008 [...] tutorial I recently published on this blog about Flex, Spring and BlazeDS was really successful and [...]

9. baztheman 24 Jun, 2008 I think your website http://epseelon.com:8080/todolist/ is down

10. Sbastien 24 Jun, 2008

This page was created using Nitro PDF SDK trial software. To purchase, go to http://www.nitropdf.com/

Flex, Spring and BlazeDS: the full stack! (Part 1) | Epseelon

Sorry, try http://epseelon.com:8080/todolist-web/

11. Eduardo Burgos 27 Jun, 2008 You just said maven is not perfect. Why did you say that? :( 12. Flex Supports Spring - Are You Ready to Skip Web 2.0? at Springsteam - Next Generation Java Development | Spring . Flex/AIR . 3D 2 Jul, 2008 [...] using Hibernate, MySQL and a Maven build (2, 3rd part is still not published; Original series: 1, 2, 3, 4, 5) Bookmark to: Tags: AJAX, [...]

13. Peder 17 Oct, 2008 Great stuff, thanks. Now swap out MySQL with PostgreSQL and JBoss with Glassfish, and youd have the perfect stack. ;) 14. Le Touilleur Express Devoxx : Flex, Flash 10 and the Enterprise 12 Dec, 2008 [...] autour de Flex. Et il se propose de faire une dmonstration en live. (au passage je vous conseille cet article de Sbastien [...]

15. mattlf 8 Jan, 2009 I am a little bit lost as how to upgrade blazeDS If I go to Sebastien Arbogasts maven repository for example: http://m2repo.epseelon.org/com/adobe/blazeds/blazeds-core/3.0.0.544/ I see blazeds-core-3.0.0.544.jar If i want to get the latest release jar files from the adobe web site I cant find themI only find a war http://opensource.adobe.com/wiki/display/blazeds/Downloads But the war says that BlazeDS is now version 3.2.0.3978 I would appreciate some help as where to find the latest blazeDS jar so that I can have them in a maven repository Thank you! 16. Bens Blog Flex/Java links 24 Feb, 2009 [...] Flex BlazeDS Hibernate and Maven [...]

17. car floor jacks 14 Mar, 2009 This is the first time I comment here and I must say you give genuine, and quality information for bloggers! Great job. p.s. You have an awesome template . Where have you got it from? This page was created using Nitro PDF SDK trial software.

To purchase, go to http://www.nitropdf.com/

Flex, Spring and BlazeDS: the full stack! (Part 1) | Epseelon

18. byte bohemian Blog Archive Mavenizing a Flex build 21 Mar, 2009 [...] the web application with the HTML and the BlazeDS services. Took me some time and a quite nice tutorial from Sbastien Arbogast but finally it [...] 19. JavaPins 5 Mar, 2012 Flex, Spring and BlazeDS: the full stack! (Part 1) | Epseelon Thank you for submitting this cool story Trackback from JavaPins Post your comment

Notify me of followup comments via e-mail

Name Email Website (optional)

Follow Me On The Web!

My Expertise

GitHub

sarbogast
No recent repo activity.

My Resume
Mon CV en Franais My Resume in English

My Projects

This page was created using Nitro PDF SDK trial software. To purchase, go to http://www.nitropdf.com/

Flex, Spring and BlazeDS: the full stack! (Part 1) | Epseelon

Kodesk

My Business Card

My Tweets
Sebastien Arbogast

sarbogast

sarbogast Let's hope this will not be so absurd soon... Int'l Space Station: "Tranquility" vacation rental on @airbnb airbnb.com/rooms/409694
9 hours ago reply retweet favorite

sarbogast My favorite one so far: youtube.com/watch?feature=


18 hours ago reply retweet favorite

sarbogast Et que dmarre le jour le plus long pour tous les nophiles: celui ou aucune news n'est fiable...
yesterday reply retweet favorite

sarbogast The sharing economy at its best: Shareable: Bike Sharing for Fools [VIDEO]: shareable.net/blog/bike-shar via @AddThis
yesterday reply retweet favorite

sarbogast OSX For Hackers Gist gist.github.com/2260182 via @addthis


yesterday reply retweet favorite

sarbogast At Cora path.com/p /4FyuE8


yesterday reply retweet favorite

Join the conversation

My Plans
Sebastien Arbogast's

Upcoming Plans
Powered by Plancast

My Tags

This page was created using Nitro PDF SDK trial software. To purchase, go to http://www.nitropdf.com/

Flex, Spring and BlazeDS: the full stack! (Part 1) | Epseelon

My Categories

Recent Comments
l0co on My Case for DTOs JavaPins on Flex, Spring and BlazeDS: the full stack! (Part 1) Florent THOMAS on Grails, Vaadin and Spring Security Core Florent THOMAS on Grails, Vaadin and Spring Security Core Mike Brown on To All Startups (in Brussels)

Meta
Log in Entries RSS Comments RSS WordPress.org

License
Blog under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License

Copyright 2012 Epseelon / Sbastien Arbogast Home About MeContact MeHire MePGP Celadon theme by the Themes Boutique

This page was created using Nitro PDF SDK trial software. To purchase, go to http://www.nitropdf.com/

Das könnte Ihnen auch gefallen