A .csv file is merely a text file that contains Comma Seperated Values. So you could easily create this file just as simply as you would create any other text file.
I'm not entirely sure how POI would help, as I have never used it before, but you could use a standard file stream to write to the file in question or read from it. As long as you know what each position stands for and place the correct number of commas seperated values per line than any program that can read csv files should understand it.
Another option here is to use XML, as it is a more understandable way to store flat text data. Having used both with Java I would tend to go the XML direction, as the parsers are already built if you need to get the information back out of the file and they are optimized enough to be extremely quick.
-Tarwn ________________________________________________
Get better results for your questions: faq333-2924
Frequently Asked ASP Questions: faq333-3048