Create an XLS file from raw data

Hi, I was wondering how to convert raw data (from a database [derby database]) to a spreadsheet (xls).

Thanks.
OggieOneAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Roger BaklundCommented:
You would normally use a .csv file as an intermediate step: Export to csv from database, and import the csv file into excel.
0
OggieOneAuthor Commented:
Is there a way to do the 2 step process programmatically? What I want to do is have an xls file created on the user's machine. My program is a java web app running on the localhost. So I don't want my users to have to open up Excel and have to import anything.

Thoughts?
Thanks,
D.
0
Roger BaklundCommented:
I'm not a java expert, but there should be plenty of libraries available.  

http://poi.apache.org/
http://j-integra.intrinsyc.com/support/com/doc/excel_example.html
http://www.activexls.com/
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
OggieOneAuthor Commented:
Thanks for the push in the right direction. After a bit of review the http://poi.apache.org/ is my choice and I am already creating a spreadsheet from java. In opens in OpenOffice so I am pleased as punch!

Thanks!
D.
0
OggieOneAuthor Commented:
Not sure that the questions for completing the solution are relevent for this question. The person who answered pushed me in the right direction and that is all that was needed. Thanks!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Applications

From novice to tech pro — start learning today.