Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
2.8k views
by The go-to Tester (190 points)
retagged by

Both poi and jxl jar are performing same actions in reading excel sheet, which one is better to use and why ?

1 Answer

2 like 0 dislike
by Master (1.2k points)
selected by
 
Best answer
In case of Reading the Excel file,

The most important difference is that JXL does not support xlsx file format. Wheres POI supports old xls and the xlsx format as well.

In case of creating the Excel file,
POI has rich API that supports conditional formatting, rich text formatting, Chart creation and many more other features.

POI has the more extensive set of documentation and JXL is not very much maintained and updated, where POI is maintained very well.

So, my vote goes to Apache POI library.
by Expert (748 points)
Yes, @Mayur sir, is correct it.
The most significant difference is that Java JXL does not support the Excel 2007+ ".xlsx" format; it only supports the old BIFF (binary) ".xls" format. Apache POI supports both with a common design.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...