28.5. CRSS Broker Component Construction
The CRSSBroker is responsible for all the business logic. It receives requests from a SecurityBroker object. The CRSSBroker assumes that if it receives a request, the user has been authenticated and has permissions. Following receipt of the request, the CRSSBroker performs the following actions:
Validates the XML incoming document, using its associated schema.
Extracts the action requested from the incoming message.
Applies whatever business rules are required, using the CRSSCalendar component if necessary.
Retrieves data using XML template-based queries.
Returns the completed XML document to the UIBroker.
The code for each action is quite similar. The differences are at the database tier. Let’s look at retrieving ...