Results 1 to 4 of 4

Thread: Spring MVC or Struts 2 (EJB 3 based)

  1. #1

    Default Spring MVC or Struts 2 (EJB 3 based)

    Hi,

    I have to upgrade an existing Struts 1 application with Velocity and EJB 3 as datasource. EJB 3 is not a part of the upgrade, it should further be used.
    So I don't know what is the appreciation webframework to choose Spring MVC or Struts 2, maybe in combination with Spring Webflow? Hopefully you have some advices for me?

    The application have some complex processes with many webflow.

    Thanks for your help

    Flashrider

  2. #2

    Default

    If you really not sure about the scope of the project , better to choose a framework which is Rich and Flexible: i Suggest go for JBoss Seam.

  3. #3
    Join Date
    Aug 2004
    Location
    Melbourne, FL
    Posts
    2,794

    Default

    Spring MVC 2.5 + Web Flow 2.0 is a great combination, and I'm not just saying that because I'm the Web Flow 2 guy.

    My suggestion is to review the Spring 2.5 and Web Flow 2.0 sample applications and documentation during your evaluation process, make a informed decision based on that research, and go forward from there.

    Happy Springing

    Keith
    Keith Donald
    Core Spring Development Team

  4. #4
    Join Date
    Apr 2006
    Location
    Montreal, Canada
    Posts
    178

    Default Try them both, but Struts2 rocks :)

    It all comes down to which one you're most comfortable with. Try prototyping your most common use cases with both and notice where your pain points are.

    Personally I love Struts2 with its clever interceptor / action / result approach - it's a great approach that's easily extensible, I was able to add flash scope in very little time. I didn't try out Spring MVC 2.5, but I remember 2.0 to be a pretty good framework.

    Cheers!
    GB

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •