title: RESTful Spring with jQuery or Freemarker - is it still RESTful?
body: <p>I am now trying to setup my first RESTful project using Spring Framework. I have heard that I can handle my view for many different ways, in example using JSP's, Freemarker, Velocity - and in Spring Controllers then I would return ModelAndObject. But another way is to add @RequestBody to a controller and return pure objects as JSON(prefered by me) or XML.</p>
  
  <p>Now I am trying to setup RESTful-backend with Spring and handle it with separated HTML5+jQuery project. Its for now difficult for me a little bit and I wonder about start using Freemarker/JSPs. </p>
  
  <p>But I am afraid that it wont be RESTful then. I would return view, not just pure Objects and my question is: Is it still RESTful practice?</p>
  
  <p>Second, a bit smaller question is: What are differences between using template languages like Freemarker/Velocity and using HTML5 + jQuery? Now, as an amateur-programmer I think that using HTML5+jQuery approach takes much more time than using eg. Freemarker. 
  I know that in big companies we can seperate FRONTEND and BACKEND teams with dividing project into two piecies: Spring REST backend - and jQuery+HTML frontend - and let frontenders do their job. But is the point not to use Freemarker for jQuery and vice versa?</p>
  
  <p>Looking forward to hearing from you guys ;)</p>