Web Services Subcomponents
Highlights
- This modular design allows each component to perform specific tasks.
- Each component is replacable without a complete rewrite of the system.
- Additional components can be brought on in parallel to provide additional functionalty.
Component Details
Controllers
- Controllers process input from the UI component and return responses from the system for the UI to display to the user.
- Controller communicate with the Services Component
- For RESTful API's:
- Controllers process http verbs such as post, get, put, delete
- Controllers return http response codes such as 200, 201, 202, 400, 404
Services Components
- Services components processes information sent from the controller
- Processing includes:
- Performing validation of incoming data
- Applying Services Component level business rules
- Determining and executing desired logical operation(s) such as add, retrieve, modify, remove
- Services components are comprised of one or more subcomponents.
Broker Components
- Broker components provide access to one or more permanent datastore(s), usually a SQL database.
- Broker components execute desired logical operation(s) such as insert, select, update, delete
- Broker components are comprised of one or more subcomponents.
Back to top