View Poll Results: Which Web Framework are you using on your current project?

Voters
216. You may not vote on this poll
  • Struts

    43 19.91%
  • Spring MVC

    156 72.22%
  • JavaServer Faces (JSF)

    17 7.87%
Page 3 of 3 FirstFirst 123
Results 21 to 28 of 28

Thread: Spring MVC Web Framework versus Struts

  1. #21
    Join Date
    Mar 2007
    Posts
    24

    Smile

    Thanks ok I read the reference for Spring MVC.
    So if I do not misunderstand the reference it means
    that:

    1. you can suit in some way the workflow of the DispatcherServlet
    namely when declaring some special beans used by that dispatcher
    (showed in table 13.1.)

    2. that you can nearly extend and suit everything in Spring MVC
    from high till low level parts of Spring MVC because it is based
    on interfaces what is very flexible and you can change the standard
    implementation by referencing to your own implementation of that
    interfaces (in the WebApplicationContext and ApplicationContext
    or the web.xml).

    Is it correct?

  2. #22
    Join Date
    Aug 2006
    Location
    Arequipa-Peru / South America
    Posts
    2,806

    Wink

    First of all, struts 2.x is a completely different animal than struts 1.x. Struts 2.x is based on Webwork 2.2.x
    is this a suicide???,
    why change the sintaxis???
    http://struts.apache.org/2.0.6/docs/home.html

    read again tuttorials, maybe buy a book,
    think this is waste of time, i cant see a good reason

    Expert Spring MVC and Web Flow
    good book, i read all, but is out of date for SWF, but i can suggest: buy the book

    spring mvc and SWF a powerful combination, make easier your life

    a good question could be,
    what thing you not like about springmvc/SWF ???

    i am happy with both, but i dont like the pretty hell with integration springmvc and jasperreprots for example

    regards and thanks for the developers for this beautiful product

    nice job guys!!!
    - Manuel Jordan

    Kill Your Pride, Share Your Knowledge With All
    The Fear Of The LORD Is The Beginning Of Knowledge, But Fools Despise Wisdom And Discipline. Proverbs 1:7

    Blog


    Technical Reviewer of Apress

    • Pro SpringSource dm Server
    • Spring Enterprise Recipes: A Problem-Solution Approach
    • Spring Recipes: A Problem-Solution Approach, 2nd Edition
    • Pro Spring Integration
    • Pro Spring Batch
    • Pro Spring 3
    • Pro Spring MVC: With Web Flow
    • Pro Spring Security

  3. #23
    Join Date
    Sep 2004
    Location
    Leuven, Belgium
    Posts
    1,853

    Default

    Is it correct?
    That's a pretty accurate summary.

    Erwin

  4. #24

    Default

    I prefer JSF than Struts (both 1.x and 2.x) and SpringMVC, especially when it is used with Facelets, Ajax4jsf, some third party JSF components (like RichFaces which is still lack of some common components such as calendar, file upload, ...) and Spring Web Flow (although I cannot find any document about using SWF 1.0.3 with Ajax4jsf. Hope things will be better with SWF 1.1).

  5. #25
    Join Date
    Dec 2005
    Location
    U-241
    Posts
    237

    Default

    As long as we have JSF, I think here should be an option for JBoss Seams.
    Not that I like that IMHO 'marketacture' framework, but some folks do and it would be interesting to see some preliminary statistics.
    Spring, it's a wonderful thing...

  6. #26

    Default

    Wow! Great. Thank you for some idea that you give about MVC. It's help me a lot.

  7. #27
    Join Date
    May 2012
    Posts
    2

    Default

    Debug Enable in windows

    rem # Sample JPDA settings for remote socket debugging
    set "JAVA_OPTS=%JAVA_OPTS% -Xrunjdwp:transport=dt_socket,address=8787,server=y ,suspend=n"

  8. #28

    Default

    Quote Originally Posted by Keith Donald View Post
    To second Rod here:

    Spring Web Flow (SWF) is not built on top of Spring MVC: the two framework compliment each other in a loosely coupled manner. More specifically, Spring MVC can delegate to SWF for flow execution via a thin adaption layer, and that's how it's always been designed (and will stay that way).

    SWF is a pure controller framework focused primarily on solving the problem of managing stateful web conversations (dialogs) in a elegant manner, providing a self-contained flow engine based on a finite-state machine.

    Spring MVC is a request-driven MVC framework positioned very much as a Struts+1, with a more complete data binding facility and more extensibility points than what's offered by Struts.

    SWF fills the "C" in the MVC -- SWF is not a replacement for Spring MVC, it's a "C" compliment.

    Keith
    Impossible to explain better, I totally agree.

Similar Threads

  1. Replies: 5
    Last Post: Aug 9th, 2008, 05:30 AM
  2. Comparision JMX Spring
    By umeshs79 in forum Container
    Replies: 5
    Last Post: Jun 16th, 2005, 12:27 PM
  3. migrating Struts to Spring (long-winded)
    By ocampesato in forum Web
    Replies: 2
    Last Post: May 6th, 2005, 11:17 AM
  4. Replies: 14
    Last Post: Feb 21st, 2005, 05:41 PM

Posting Permissions

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