Combining DAO (j2ee) and Composite (GoF)
What is the best way to persist component types ?
I my Application, for example i have
interface Rule //defines the interface for a businees rule
class SimpleRule1, class SimpleRule2 //simple rules, each with diferent fields
class CompositeRule1, CompositeRule2 //Macro rules
I am trying to see what is the best representation ( DDL for RDBMS ) and access logic ( DAOs ? ) to these objects.

