File Uploading on server in Java web Application

Asked on September 11, 2018
Hi Everyone,
I have developed One Web Application using Servlet, JSP web Technology in which I am able to upload 200-300 Records in a file but I want to upload 5000 records in File as well as I want to improve performance of my web application. What should i do?
From below two options which option should I use?
a) Apache Commons IO
b) Java Buit in API

Replied on September 11, 2018
While using Java built-in API, you have to take care error handling and other optimization yourself. Apache Commons IO provides optimized methods to handle input/output.