tags:

views:

975

answers:

5

I want to Import data placed in MS Excel and print it using Java Application Program. I am newbie in Java. So Please guide, is it possible.

If yes, how? Any website/tutorial will be of great help..

Thanks in advance..

+3  A: 

You can use the jexcel APIs. They're quite simple overall. http://jexcelapi.sourceforge.net/

I also think that Apache POI is working on this area as well.

JeeBee
+4  A: 

You can use the POI library for reading from excel files

tehvan
We use POI as well in our shop, it's quirky, but it gets the job done.
Slartibartfast
+1  A: 

Here is an article on using JDBC using Excel as a data source

TofuBeer
Thanx Tofubeer, it worked.. thanx a lot..
AGeek
Also, one more thing. This kind of connectivity will work only when u are using single PC.. But when you need to design a web-based application i.e. using Servlets or JSP than these settings won't work?? Does there exist any Java package? Please forward that...
AGeek
A: 

Also, one more thing.

This kind of connectivity that Mr. TofuBeer has given, will work only when u are using single PC.. But when you need to design a web-based application i.e. using Servlets or JSP than these settings won't work??

Does there exist any Java package? Please forward any tutorial for that..

thanx in advance...

AGeek
This is not a forum thread, but a question-answer thread. So please don't ask questions in an answer. Feel free to open a new question or edit your initial question.
furtelwart
What about the other answers that you have received?
JeeBee
A: 

Why not export it from Excel in some format that is not proprietary? If the data is not too complex, even CSV might do the trick.

Jeroen van Bergen