The Artima Developer Community
Sponsored Link

Java Answers Forum
Excel File download using Java

10 replies on 1 page. Most recent reply: Jul 31, 2007 5:11 AM by Igor Gor

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 10 replies on 1 page
P. Bhuvaneshwari

Posts: 1
Nickname: bhuvana
Registered: Mar, 2002

Excel File download using Java Posted: Mar 5, 2002 1:13 AM
Reply to this message Reply
Advertisement
Hi,
How can i export the data from my Oracle database into multiple sheets of an excel file which should be downloaded using Java application?


Alain Ravet

Posts: 19
Nickname: aravet
Registered: Feb, 2002

Re: Excel File download using Java Posted: Mar 5, 2002 1:51 PM
Reply to this message Reply
Maybe FormulaOne (commercial product : www.tidestone.com/)
could help you.

(I've never used this product. I only know it exists)

Mysore Huli

Posts: 1
Nickname: mysorehuli
Registered: Mar, 2002

Re: Excel File download using Java Posted: Mar 8, 2002 3:29 PM
Reply to this message Reply
Try using POI / HSSF from apache.

Daniel Baylon

Posts: 3
Nickname: czy7xg
Registered: Mar, 2002

Excel File download using Java Posted: Mar 12, 2002 1:14 PM
Reply to this message Reply
If you want to generate Excel files, you must use COM technologies.

The only java technology that I know is Visual J++, which contains several classes for Microsoft objects manipulation.

I know that microsoft uses Excel.Application object for Excel manipulation.

Another solution is formatted text files instead Excel sheets, you can use text files using a delimiter character (such as tab) among fields and line feed, carriage return characters among rows.

Abhishek

Posts: 1
Nickname: abhi
Registered: Mar, 2002

Re: Excel File download using Java Posted: Mar 18, 2002 8:01 AM
Reply to this message Reply
> Hi,
> How can i export the data from my Oracle database
> into multiple sheets of an excel file which should be
> downloaded using Java application?

------------------------------------------------

Hi! I also need the same thing, how did u manage??

Thanks and Regards
Abhishek Dua
abhishekd@delhi.tcs.co.in

Alfred Seetoh

Posts: 1
Nickname: cwseetoh
Registered: Nov, 2003

Re: Excel File download using Java Posted: Nov 27, 2003 10:18 PM
Reply to this message Reply
Try JExcel. It's good.

Ulises Poirier

Posts: 1
Nickname: upoirier
Registered: Dec, 2003

Re: Excel File download using Java Posted: Dec 1, 2003 12:41 PM
Reply to this message Reply
Where Can I find out Jexcel?

Thanks in advanced.
Ulises

John

Posts: 1
Nickname: spaceghost
Registered: Jan, 2004

Re: Excel File download using Java Posted: Jan 13, 2004 7:01 PM
Reply to this message Reply
> Hi,
> How can i export the data from my Oracle database into
> multiple sheets of an excel file which should be
> downloaded using Java application?

Use ExtenXLS -- I think if you want a really good Java Excel tool with commercial support that you should check out ExtenXLS.

We use and recommend the Java Excel API ExtenXLS, which you can download here from Extentech's web site at:
http://www.extentech.com/estore/product_detail.jsp?product_group_id=1

This tool is so slick and works so well, we've never even needed support!

Used by JPMorgan/Chase, HP, Ford, and more, so you know it's solid...

Viswanatha Basavalingappa

Posts: 84
Nickname: viswagb
Registered: Nov, 2003

Re: Excel File download using Java Posted: Feb 17, 2004 12:37 AM
Reply to this message Reply
You can Read the daat from Oracle using JDBC in java and then crea the Excel from the Oracel data using the Java Implementation of EXCEL API.

here is the sample java code to creat the EXCEL File...

import java.io.File;
import java.util.Date;
import jxl.*;
import jxl.write.*;
/* look for more API info on web.
*/

class Java_Excel1
{
public static void main(String arg[])
{

WritableWorkbook workbook = Workbook.createWorkbook(new File("output.xls"));
WritableSheet sheet = workbook.createSheet("First Sheet", 0);
Label label = new Label(0, 2, "A label record byViswa");
sheet.addCell(label);

Number number = new Number(3, 4, 3.1459);
sheet.addCell(number);
// All sheets and cells added. Now write out the workbook
workbook.write();
workbook.close();

}



Thanks
Viswa
IBM, india
bgviswan@in.ibm.com
-------------------------

rushi kesh

Posts: 1
Nickname: rushikesh
Registered: Jun, 2007

Re: Excel File download using Java Posted: Jun 17, 2007 11:37 PM
Reply to this message Reply
hi
iwant some help regarding excell sheet,
i'am looking for writing images and text in excel sheet through java.
i'am waiting for ur reply.

Igor Gor

Posts: 2
Nickname: ziggy777
Registered: Jul, 2007

Re: Excel File download using Java Posted: Jul 31, 2007 5:11 AM
Reply to this message Reply
Hi,

Try JExcel. It seems to be useful for your purpose.
the vendors site www.teamdev.com

Flat View: This topic has 10 replies on 1 page
Topic: Excel File download using Java Previous Topic   Next Topic Topic: Flex Integration problem in JBOSS

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use