I have developed a Java EE web application. This application allows a user to upload a file with the help of a browser. Once the user has uploaded his file, this application
Writing to the file system from a Java EE container is not really recommended, especially if you need to process the written data:
If this is an option, I would store the files in database or use a JCR repository (like Jackrabbit).