************************************
* README FOR LOAN APPROVAL EXAMPLE *
************************************

Loan Approval example is a typical BPEL example. It is one of the examples described in the specification.

Description :
a customer ask the loan service for a loan. He must give its firstName, lastName and the
requested amount.

- If the requested amount is < 10000, then the request is forwarded to the risk assessor.
  Based on the given information, he will associate a risk to the customer (low, medium or high).
  In our implementation, all customer having their lastName equals to
  - "Dupont" or "McDonalds" the risk is medium.
  - "Kent" or "Martin" the risk is high
  - all other names are associated to low risk.
  If the risk is low, the request is directly accepted.

- If the requested amount is >= 10000, then the request is forwarded to the loan approver.
  In our implementation, loan approver
 - reject all amount >= 50000.
 - reject medium risks if amount is >= 30000
 - reject high risks if amount is >= 10000

To deploy the process: 'ant deploy'
To invoke the process: 'ant launch'
To undeploy the process: 'ant undeploy'
