Project

General

Profile

Actions

RESTful Web Services » History » Revision 9

« Previous | Revision 9/14 (diff) | Next »
chin-yeh, 10/12/2011 06:13 PM


RESTful Web Services

System Overview
System Overview

Programming Guide

Below is the overview of the web service layers:
Web Service Layers
Detailed Description:
  • (1) this is the only integration point for the client
  • (2) this is the service layer that contains business logic
  • (3) this is the persistence layer
  • (4) this is the web service client, it could be web application, ajax application, batch program, as long as it can read or parse JSON formatted data
  • (5) all of the components share the same domain objects

How to add new web service method

We use the Shopper service to demonstrate how to add new web service method into the existing web service.

The Shopper service provides:
  • add new shopper
  • update shopper profile
  • retrieve shopper profile based on ID

In short, a new web service method should contain the following components(at least):
Mapping between components and layers

Updated by chin-yeh almost 13 years ago · 9 revisions