Human Resources Example - Configure the HRManager Instance
In this example, the second method is used. The following deployment descriptor configures the HRManager instance in the following ways: A hiring freeze is implemented. The AgeBasedSalaryStrategy implements new minimum and maximum salary values. Injecting references between POJO instances is one way of configuring a service however we can also inject values into POJO properties. The following deployment descriptor shows how we can configure the HRManager instance to have a hiring freeze and the AgeBasedSalaryStrategy to have new minimum and maximum salary values: false 1000 80000