I do on JSF a page on which there will be a catalog of PDF files with the possibility of removal / addition. Tell me how best to implement PDF storage, at first I thought to store in the database, but then there would be difficulties with using JPA. In general, explain how this is usually done.

  • Keep the same as any other files - in the database to keep the entities describing the file and the path to it on disk, and the file itself at the specified path. - Sergey Gornostaev
  • @SergeyGornostaev Understood, thank you - Viktor

0