[jboss-user] [J2EE Design Patterns] - quite a design problem..!!!

AshuDagr8 do-not-reply at jboss.com
Thu Jul 13 06:07:01 EDT 2006

Dear Forum,
I am facing design problem...here it goes...

I have a class that contains several method having name pattern like "createXXX()".
All of these methods contains similar logic except data.This class is examined by
the another class for the"createXXX" methods for futher processing.Suppose name of class containing createXXX method is "abc"..then i have to pass this class to third party class like 


Now to avoid almost redundant code and facilites maintenace i want to keep all my data in the xml file and "createXXX" method at the runtime in the abc class using data from xml file.

How can i make this happen ?

Thanks in advance ..!!!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957676#3957676

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957676

More information about the jboss-user mailing list