Aleksandra5kova / FruitbasketDemoEJB

0 stars 0 forks source link

Create multiple reports #3

Open matebate opened 6 years ago

matebate commented 6 years ago

Using Factory pattern create 5 different reports. These reports will execute as follows every: Report 1 every 1 minute Report 2 every 2 minutes Report 3 every 3 minutes Report 4 every 4 minutes Report 5 every 5 minutes

From the timeout method there should be only one call to report generation based on the type of report. Example : Report.generateReport(reportType);