David Zejda wrote:

Do I need factory-class/factory-method if I have ojbConcreteClass?
I thougt, if the ojbConcreteClass is provided, objects will be instantiated
by Class.forName(ojbConcreteClass).newInstance(), so the zero-argument
constructor would be sufficient..
But I may be wrong...


You need ojbConcreteClass if you map multiple classes onto the same database table. You may need factory-class/factory-method when working with interfaces, but only in special cases.

Tom


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to