-
Feb 15th, 2012, 09:34 AM
#1
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.
-
Feb 24th, 2012, 04:23 PM
#2
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
-
Forum Rules