Solved

Rest using Spring java project

Posted on 2014-03-24
1
484 Views
Last Modified: 2014-04-08
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
Comment
Question by:Manish
1 Comment
 
LVL 35

Accepted Solution

by:
mccarl earned 500 total points
ID: 39951781
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
noX challenge 17 77
mapBully challenge 6 93
HashMap Vs TreeMap 12 49
micro services spring boot application error 3 41
I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
This video teaches viewers about errors in exception handling.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now