Add power of Flex to Struts application

Anirudh S from Adobe, Bangalore created an awesome library using which you can change your existing Struts applications to use Flex as frontend. You just have to copy few jars and JSPs and that’s it, you need not make any changes to your Action classes. You should have a look at this library. Please check out more details from the URL below.

http://anirudhs.chaosnet.org/blog/2008.07.23.html

Tutorials on integrating Flex with Struts:

Tutorial on Integrating Flex with Struts based application using HTTP Service

Tutorial on Integrating Flex with Struts based application using Remoting

Enjoy🙂🙂

16 Responses to Add power of Flex to Struts application

  1. i create a website which will help people who are interesting in Java. My website is new so it will get better with help of Java users.

  2. Abdul Areef says:

    i would like to know that, how to integrate the adobe flex with struts.

    if you have any idea means please share with me.

    my mail id is – areef@visiontss.com.

  3. Sujit Reddy G says:

    Hi Abdul,

    Please visit the URL below for details

    http://www.adobe.com/devnet/flex/articles/struts.html

    Hope this helps🙂

  4. Vasanth says:

    Nice , but give some samples of flex with struts framework

  5. Vasanth says:

    i would like to know that, how to integrate the adobe flex with struts.

    if you have any idea means please share with me.

    my mail id is – vasanth568@gmail.com

  6. Sujit Reddy G says:

    Hi Vasanth,

    Anirudh has posted samples in his blog. Please visit the URL and check out the samples.

  7. Abdul Areef says:

    Hi,

    thanks for your reply,

    i also went throught this site, but here they are using JSP to connect the Flex with Struts, but in my application,
    i need to connect without JSP,is it possible.

    thanks
    areef

  8. Sabarish says:

    Nice link’s. I want to know some more details like

    1. Currently I am transferring data between UI and Action using session / request object, how to implement with flex?
    2. If it possible by blazeDS, is there any example code to integrate Flex==BlazeDS==Struts.

    If anyone has idea, pls share with me

    Thanks

  9. I have a tutorial about integrating flex with struts 2. My first tutorial explains how to upload a file using flex to a server using struts 2. More tutorials are on the way. So do checkout my blog:

    http://simplyolaf.blogspot.com/2009/07/uploading-file-with-flex-3-and-struts-2.html

  10. manish kumar says:

    Hi,
    Any body can send me the struts and flex example.it will be very helpfull for me. I am learning struts and flex these days.My mailid is manishraj4uk@gmail.com

    Thanks in advance

  11. Hi Sabarish,

    1. If you want to access data using request object on the Servlet/JSP you can use the HttpService class as explained in this URL https://sujitreddyg.wordpress.com/2008/01/14/extracting-content-from-html-based-server-response-in-adobe-flex/

    2. Yes, this is definitely possible with BlazeDS, but you don’t need not write Servlet/JSP code, you can directly Java methods from Flex applications. Please find more details at this URL https://sujitreddyg.wordpress.com/2008/01/14/invoking-java-methods-from-adobe-flex/

    Hope this helps.

  12. Krishna J Vedula says:

    Hi All

    I have been looking at the Flex Struts integration examples on the net and they are old. The FXStruts project does not work with Struts 2.0.

    So, I have worked on this for the past couple of weeks and have created a Maven archetype that creates a template project for Flex front end and Struts back-end. In that I have an example of a Form submission to the back-end, and also fetching data from the Struts action to be presented in the Flex Page.

    I have not published it, but if anyone is interested, please send a mail to krishna.vedula@gmail.com and I shall send you the maven archetype and instructions on how to create a project.

    Thank you
    Krishna

  13. Lalit says:

    Hi Sujit,
    I want to change my Struts view layer to Flex view.
    I am using remote object to get the parameters in my remote java file from a flex UI.
    In struts we a concept of form which gets parameters from UI and sets it. We can use this form object wherever we want in the application.
    How can we that using Flex ?

    Thanks,
    Lalit

  14. Lalit says:

    Hi Sujit,
    Is it possible to integrate flex and BlazeDS with Struts 1.3 with the link above ?

    Thanks,
    Lalit

  15. sabeerdeen says:

    Hi,
    can any one give full source code for uploading a file? it will be more useful for beginners like me.. ie.,struts (action form , action, struts-config.xml) flex (mxml / action script)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: