Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
borderColor#ccc
titleOnline Application for Tax ID No. System
borderStylesolid

Anchor
HTTPUseCase
HTTPUseCase
Business Use Case for the HTTP Binding Example

The Http binding example shows how to use the HTTP bindings to handle a simple http post.

A hypothetical business scenario, which illustrates the HTTP Binding example, is that of a Department of Public Works Online Project Monitoring System. The head engineer uses this web based system to check the budget availability for a work item. Only if there is sufficient budget for the work item will it be implemented.

This example starts at the isBudgetAvailable class of the Department of Public Works Project Monitoring System when it posts a request on URL http://localhost:8912Image Added. Included in this posted request, is the budget allocation ID of the related work item. The HTTP Server listens on this URL and receives the request. The HTTP Server then forwards the request to the Saaj Binding Component, as this component is capable of communicating to an UrlEndpoint. The UrlEndpoint is the Budget Checking System. The Budget Checking system checks to determin if the funding level is still sufficient for the implementation of the work item, then formulates the appropriate response and sends the response back to Saaj Binding Component. In turn, the Saaj Binding Component sends the response back to HTTP receiver via the normalized message router. The HTTP receiver then sends the message to the http://localhost:8912Image Added. The message is picked up by the isBudgetAvailable class. Finally, the respone message is printed on the console.

The following diagram illustrates this:

Panel
borderColor#ccc
titleDepartment of Public Works Project Monitoring System
borderStylesolid

Image Added

Anchor
QuartzUseCase
QuartzUseCase
Business Use Case for the Quartz Binding Example

The Quartz binding example shows how to use Quartz timer.

A hypothetical business scenario, which illustrates the Quartz Binding example, is a network status monitoring system that will prompt System/Network Administrators when a network connection becomes disconnected. Every 5 seconds, the timer component will invoke a service that will determine whether or not the network is connected. If a problem is found this monitoring system will alert the Network Administrators.

The following diagram illustrates this:

Panel
borderColor#ccc
titleNetwork Status Indicator
borderStylesolid

Image Added