Using files from file system is not recommended by
EJB specification.
But, I have scenario where I need to load number of files into database (ie. export from older software version, etc).
One possible "correct" way of dong it is upload files.
But, it seems easier and more practical to just copy all the files into file system and just pick them up from there. This application will not be clustered. At least, will not be clustered at the time of that process. And, as it is "one time thing", it will probably be carried out by data load team, so issues that can become problem in theory (server died, database died, etc.) are not really issues.
Is there someone with similar request? What would be correct solution for the problem?