Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0 M3
    • Component/s: Web
    • Labels:
      None
    • Last commented by a User:
      false

      Issue Links

        Activity

        Hide
        Daigo Kobayashi added a comment -

        How does spring team implements REST support? Does spring team has any plan to integrate with JAX-RS(JSR-311)?
        I think Spring 2.5's mvc introduce similar concept of JAX-RS. So JAX-RS integration is reasonable.

        Show
        Daigo Kobayashi added a comment - How does spring team implements REST support? Does spring team has any plan to integrate with JAX-RS(JSR-311)? I think Spring 2.5's mvc introduce similar concept of JAX-RS. So JAX-RS integration is reasonable.
        Hide
        Arjen Poutsma added a comment -

        Unfortunately, we can't mix-and-match Spring MVC with JAX-RS in a satisfying model, because

        1. JAX-RS annotations overlap with the Spring MVC annotations introduced in 2.5. This could result in duplicate request mappings, for instance.
        2. JAX-RS is semantically different than Spring MVC, i.e. stateful vs. stateless
        3. JAX-RS focusses on RESTful web services only, while Spring MVC focusses on web sites.

        This does not rule out the possibility of using a JAX-RS as a backend to Spring MVC, something we are considering. Finally: we are also considering offering JAX-RS support in 3.0/3.1, in the same way we did for JAX-WS in Spring 2.5.

        Show
        Arjen Poutsma added a comment - Unfortunately, we can't mix-and-match Spring MVC with JAX-RS in a satisfying model, because 1. JAX-RS annotations overlap with the Spring MVC annotations introduced in 2.5. This could result in duplicate request mappings, for instance. 2. JAX-RS is semantically different than Spring MVC, i.e. stateful vs. stateless 3. JAX-RS focusses on RESTful web services only, while Spring MVC focusses on web sites. This does not rule out the possibility of using a JAX-RS as a backend to Spring MVC, something we are considering. Finally: we are also considering offering JAX-RS support in 3.0/3.1, in the same way we did for JAX-WS in Spring 2.5.
        Hide
        Arjen Poutsma added a comment -

        As much as I like the "Comprehensive" in the name of this issue, it's rather difficult to track when it's done . So I will start creating some sub tasks under this issue, to indicate where we are taking this.

        Show
        Arjen Poutsma added a comment - As much as I like the "Comprehensive" in the name of this issue, it's rather difficult to track when it's done . So I will start creating some sub tasks under this issue, to indicate where we are taking this.
        Hide
        Hellmut Adolphs added a comment -

        Guys, I have a couple of questions... if the JAX-RS annotations overlap with Spring MVC, how does this affect spring integration with CXF 2.2 which supports the final version of JSR-311?
        currently I am able to use the CXF 2.2 servlet supporting JSR-311 using spring 2.5... with the plans to add Rest services to Spring MVC.. how does this all fit together in terms of architecture, integration and so on? are this two going to be 2 completely different approaches to do RESTful web services ? spring MVC alone OR spring core with CXF?

        Show
        Hellmut Adolphs added a comment - Guys, I have a couple of questions... if the JAX-RS annotations overlap with Spring MVC, how does this affect spring integration with CXF 2.2 which supports the final version of JSR-311? currently I am able to use the CXF 2.2 servlet supporting JSR-311 using spring 2.5... with the plans to add Rest services to Spring MVC.. how does this all fit together in terms of architecture, integration and so on? are this two going to be 2 completely different approaches to do RESTful web services ? spring MVC alone OR spring core with CXF?
        Hide
        Arjen Poutsma added a comment -

        Resolving as fixed. More REST related issues will come up, but the overall picture is there.

        Show
        Arjen Poutsma added a comment - Resolving as fixed. More REST related issues will come up, but the overall picture is there.

          People

          • Assignee:
            Arjen Poutsma
            Reporter:
            Rob Harrop
            Last updater:
            Trevor Marshall
          • Votes:
            38 Vote for this issue
            Watchers:
            51 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              5 years, 1 week ago