tag:blogger.com,1999:blog-19517292.post1520077866626903656..comments2024-03-19T04:05:21.564+01:00Comments on One Jar To Rule Them All: Can't you see, It all makes perfect sense, Express in dollars and cents, Pounds shillings and pents, Can't you see, It all makes perfect sense (Perfect Sense Part II - Roger Waters)Alexhttp://www.blogger.com/profile/11632964711752480304noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-19517292.post-10325550855482573602012-11-17T05:31:56.207+01:002012-11-17T05:31:56.207+01:00I'm glad that i see www.blogger.com again
[u...I'm glad that i see www.blogger.com again <br />[url=http://www.youtube.com/watch?v=beX72Js-mdQ]eye makeup tutorial[/url]<br />[url=http://www.youtube.com/watch?v=CTwrXW6B2JA]school makeup tutorial[/url]<br />[url=http://www.youtube.com/watch?v=Y-YKJF87SCQ]zombie makeup[/url]<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-19517292.post-78351876626392935942011-10-10T07:18:42.641+02:002011-10-10T07:18:42.641+02:00This article has nothing to do with REST. In parti...This article has nothing to do with REST. In particular, there is no use of hypermedia (i.e. linnks), which is required in REST. Have you read the thesis?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-19517292.post-1066113118799359942011-10-07T16:13:36.850+02:002011-10-07T16:13:36.850+02:00Dxxvi ask me next question that I think that can b...Dxxvi ask me next question that I think that can be shared with you:<br /><br />"Now instead of returning XML we want to return JSON. <br />Change could not be easier, add Jackson library to pom.xml and change @XmlRootElement to @JsonAutoDetect.": if I have a client asking for xml and another requiring json, what should you do? Have you ever heard of ContentNegotiatingViewResolver?"<br /><br />And my response was:<br /><br />"Hi it is easier than this, in fact it is so easy, you should only tell to client that requires XML to send you Accept header parameter with application/xml and json with application/json. And magic, Spring knows what converter to use. In fact it is not magic AnnotationMethodHandler retrieves media type from this field, and is passed to canWrite/canRead method of message converter. <br /><br />Thanks for reading my post."<br /><br />Hope that this can help more people.Alexhttps://www.blogger.com/profile/11632964711752480304noreply@blogger.comtag:blogger.com,1999:blog-19517292.post-59052787264836428412011-10-07T13:42:18.854+02:002011-10-07T13:42:18.854+02:00I suggest to use JAX-RS for restful applications. ...I suggest to use JAX-RS for restful applications. It has a really nice and clean API.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-19517292.post-15168040905006847972011-10-07T07:33:14.627+02:002011-10-07T07:33:14.627+02:00Thank you very much for your comments. Rossen I ag...Thank you very much for your comments. Rossen I agree with you, because I have used the template generated by STS I didn't remove InternalResourceViewResolver, but should be removed.<br />Knalli I use Rest Client but you can find many more in eclipse market like http4e http://www.ywebb.com/ or restclient-tool like http://code.google.com/a/eclipselabs.org/p/restclient-tool/Alexhttps://www.blogger.com/profile/11632964711752480304noreply@blogger.comtag:blogger.com,1999:blog-19517292.post-63406772978147900872011-10-06T21:29:10.487+02:002011-10-06T21:29:10.487+02:00Hey, what eclipse plugin do you use for testing/wo...Hey, what eclipse plugin do you use for testing/working against the REST api?<br /><br />Thanks.knallihttps://www.blogger.com/profile/03220590761876351379noreply@blogger.comtag:blogger.com,1999:blog-19517292.post-30400655703252847612011-10-06T19:13:41.250+02:002011-10-06T19:13:41.250+02:00Hi, nice article. For the purpose of your example ...Hi, nice article. For the purpose of your example you don't need a InternalResourceViewResolver in your configuration. The @ResponseBody annotation indicates the return value should be written to the response and no further work (e.g. view resolution for JSP-based rendering) is required.Rossen Stoyanchevhttps://www.blogger.com/profile/06820682122053728883noreply@blogger.comtag:blogger.com,1999:blog-19517292.post-64942654791495225842011-10-06T14:46:38.081+02:002011-10-06T14:46:38.081+02:00Nice article, thank you!Nice article, thank you!Anonymousnoreply@blogger.com