1
Answer

Which Design Pattern to use

Shakti Saxena

Shakti Saxena

7y
389
1

Hello,

I am at the moment struggling with which design pattern should I use. My situation is as follows:

  1. I have a few existing classes e.g. Address, Client and Invoices.
  2. I need to create a class lets say javabean that comprises possibly all fields from above mentioned classes as its getters and setters.
  3. Later on, I can create a object of the javabean and assign it to a Jasperreport as its datasource.

Can anyone suggest me which design pattern would ease my job as I don't want to reinvent the wheel?

Thank you.
 
Shakti 
Answers (1)