Solved

Rest using Spring java project

Posted on 2014-03-24
1
491 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
groupSum5 challenge 5 85
Java Timer (static) 9 45
stackato and cloud 4 86
hibernate example using maven 12 42
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 …
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

803 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