Allen, Christopher S. wrote:

This makes a lot of sense. I like the simplicity of the design here too.
Thanks - I gave it an honest shot at using another code generator, but I'm not a J2EE guy at heart and figured if I couldn't figure out how to get something working in an hour's time, then it was time to move on. I tried a lot of different ones too, but nothing seemed easy to use, or maybe I just didn't try hard enough.

Perhaps, maybe you have already done this, but you could make an interface
(ICodeGenerator) that a developer would have tom implement to create a new
"CodeGenerator".

I have an abstract class CodeGenerator that AS2CodeGenerator extends. I don't have the Factory pattern implemented yet because there's only 1 code generator, but that's an easy enough addition that I'm sure you'd be happy to make. ;-)

-d



_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to