Shakti Saxena

Shakti Saxena

  • NA
  • 4.4k
  • 1.3m

Which Design Pattern to use

Mar 30 2017 7:04 AM

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)