Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 523
  • Last Modified:

Rest using Spring java project

Hi,
Using spring mvc, I know that to implement rest services.
Just want to know, is it possible to do that using java project using spring (jar project)?

Thanks for suggestion, reply.
-/Manish
0
Manish
Asked:
Manish
1 Solution
 
mccarlIT Business Systems Analyst / Software DeveloperCommented:
REST services in Spring are built upon Spring MVC so there is no real way of getting around that.

However, Spring MVC does not necessarily mean that you are developing a "web application" as such. What you can do is to have your application start an embedded servlet container and http server (such as Jetty) and you can connect Spring MVC to that, in a very similar way to a typical web application. Then, the whole thing can be packaged into a normal .jar file and run as a standard Java application.

If this sounds like it could be a solution for you, and you need more information, just let me know!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now