bookmarks  2

  •  

    The Spring MVC Framework offers a simple interface based infrastructure for handing web MVC architectures. In most cases a Spring MVC application is quite testable because Spring does not require the developer to extend a base abstract actions/controllers a la Struts. There are many other Java-based web frameworks out there (Struts, WebWork, various JSF implementations, Tapestry, etc.) and all have their pros and cons, but if you are already using the Spring Framework for other services, an added benefit of using Spring MVC is that other Spring Beans can be easily injected into the web controllers. If your services injected into your controllers are interfaces, it is then very easy to write alternate simple implementations of those interfaces for the purpose of testing your Controllers.
    16 years ago by @flori
    (0)
     
     
  •  

    One of the areas in which Spring excels is in the separation of view technologies from the rest of the MVC framework. For example, deciding to use Velocity or XSLT in place of an existing JSP is primarily a matter of configuration. This chapter covers the major view technologies that work with Spring and touches briefly on how to add new ones. This chapter assumes you are already familiar with Section 13.5, “Views and resolving them” which covers the basics of how views in general are coupled to the MVC framework.
    16 years ago by @flori
     
      JSPMVCSpring
      (0)
       
       
    • ⟨⟨
    • 1
    • ⟩⟩

    publications  

      No matching posts.
    • ⟨⟨
    • ⟩⟩