Althougth smooks claim, it can do transformation from DB to CSV. I don't see anyway how it can write csv file or even edi file.
Except the only hope, I can see is use the free marker tempate to generate the csv file format. Isn't there something out of the box to write java object contents to csv file ?