Solved

Rest using Spring java project

Posted on 2014-03-24
1
504 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Certificat to iSeries KeyStore 1 31
Custom Java Application connects to database: Which one of the 20? 4 59
java imports not found 4 71
ArrayList Adding/settign data 3 38
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses

751 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