javaspringrestserver-application

Spring RESTful server


I want to set up an application using RESTful principles and Spring. I found out the RESTemplate for the client-side but I don't know how to configure the server. First I want to create a simple application in which the server simply respond with an Hello {name} string after a myserverapp:8080/{name} request. Can someone help me, maybe with Java code? Thanks.


Solution

  • It really does sound like you need to read the Spring docs and have a look around for examples on the internet (there are a lot)!

    Here is one which I think it very clear and straightforward to get you started.