Results 1 to 2 of 2

Thread: Performance: HttpMessageConverter vs ContentNegotiatingViewResolver

  1. #1
    Join Date
    Nov 2011
    Posts
    8

    Question Performance: HttpMessageConverter vs ContentNegotiatingViewResolver

    Hi,

    I am looking at implementing REST based web services using spring mvc. I have looked into HttpMessageConverter and ContentNegotiatingViewResolver. I see how they are different as far as the options they provide. But cannot find any details on performance.
    Is one better than the other as far as performance goes. And if so is it a considerable difference?

    Thanks.

  2. #2
    Join Date
    Aug 2006
    Location
    Brooklyn
    Posts
    556

    Default

    My guess is it would depend more on the specific objects you serialize than on how your application is configured. It would be easy to make your own performance tests with your own data. Feel free to post some results if you have some to share!

    In Spring 3.2 we'll equalize the options between the CNVR and @ResponesBody -- see SPR-8410.

Posting Permissions

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