• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • salvin francis
  • Stephan van Hulst
  • Frits Walraven
  • Carey Brown
  • Jj Roberts

Rest application in Spring 2.5 (java 6)

Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys. I have a question regarding spring 2.5 (with java 6). I would like to rewrite web application based on REST which is written in newest version of Spring Boot.
The question is... is it even possible? I mean, I do not want to create any front (returning jsp files), just want to create backend.

Some sample from controller I want to rewrite:

As you can see I just return response in JSON. That's all I want. I read that I need some RestTemplate or something, but it is available since Spring 3.0, so I would need some custom mapper to return json, but it is not that hard I think.
Could you tell me whether is it possible to do it? All tutorials are about returning jsp files which I do not want.
Some sample of service/controller would be extremely useful for me if possible.
must Janik
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To be clear.I want to rewrite application which is written in Spring Boot . I will have 2 application which are the same, but written in two different technologies. It is for my engineering thesis
Catch Ernie! Catch the egg! And catch this tiny ad too:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic