• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

using java to write Excel/word

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
how can I get the output in a excel file using java or related tech. I cannot use any paid third party jars...

Thanks in advance
Amit
 
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you checked out the Jakarta POI project? I think it does what you need
 
Ranch Hand
Posts: 823
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Excel will load CSV (comma separated value) files and Word will load text and HTML. It depends how complex you want your output to be.

If you need to manipulate the native formats of these Microsoft products then I would suggest that Java is not the best technology to use. You'd be better off with C++, VB or C#.

Failing that (or indeed regardless of that) what you probably want to do is use the APIs provided by Microsoft. They used to call it OLE, but I think it got caught up in the whole ActiveX -> COM/DCOM -> COM+ -> .NET thing. I'm afraid I left Microsoft behind 5 years ago for pastures Java-er so I can't be of more help than that.

Regards

Jules
[ August 04, 2004: Message edited by: Julian Kennedy ]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic