Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shivam-880/globalmart-java-spring-resteasy
This repository demonstrates restful webservices using Java, Spring and Resteasy.
https://github.com/shivam-880/globalmart-java-spring-resteasy
Last synced: 7 days ago
JSON representation
This repository demonstrates restful webservices using Java, Spring and Resteasy.
- Host: GitHub
- URL: https://github.com/shivam-880/globalmart-java-spring-resteasy
- Owner: shivam-880
- License: mit
- Created: 2016-11-18T15:55:37.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-20T09:41:03.000Z (almost 8 years ago)
- Last Synced: 2024-10-09T10:04:51.692Z (28 days ago)
- Language: Java
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# globalmart-java-spring-resteasy
This repository demonstrates restful webservices using Java, Spring and Resteasy in it's simplest form.# Build
```
$ cd globalmart-product-common-entity
$ mvn install$ cd globalmart-product-catalog-service
$ mvn install
```
# Deploy
Deploy WARs on JBoss or Tomcat.# Restful
```
GET api/products/1
{
"id": 1,
"name": "A",
"price": 1200,
"type": "alpha"
}POST api/products
{"product":{"id":3,"name":"D","price":1200,"type":"gamma"}}
```