1
Reply

Which Design Pattern to use

Shakti Saxena

Shakti Saxena

Mar 30 2017 7:04 AM
352

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 

Upload Source Code  Select only zip and rar file.
Answers (1)