Choosing a web framework that will use a Hibernate-managed database

I made a java program that scrapes specific websites for data and I'm storing that data in a PostgreSQL database (I don't mind changing this if need be) using Hibernate. Now I'm hoping to create a website which displays information from this database. In the past I've used the MEAN stack or django to make my websites, but since I had the database access objects for Hibernate laid out in my scraping program I wasn't sure if I should learn Spring MVC for this particular project. My hopes in using Spring MVC for this project is that I could make the Spring MVC app depend on the scraping program for the DAOs. I'm will likely add new objects/tables into this database in the future so if there's an easy way to add/modify database objects between the scraping program and the website that'd be a huge plus.

I guess my specific questions are:

  • Is Spring MVC the only good choice to create a website that will use Hibernate-managed database?
  • Is there any feasible way for a node.js/django app to depend on the DAOs that I defined in my Hibernate app other than creating identical DAOs on the website side?
  • Do I need the website to depend on the DAOs that I defined in my Hibernate app? Is defining another set of DAOs for the website sufficient?

If you have any questions or need clarification, please ask away. I'd appreciate any help on this issue.

EDIT: After some more research I'm thinking about using Django since I'm familiar with it and I found out that it's able to migrate from legacy databases. I also know that Django South is able to pick up on schema changes and make migrations accordingly. I'm not fluent with all the web tech, so if there's something that I'm missing here let me know!

Posted Aug 26, 2019, 9:06 PM UTC · edited

96
Loading comments…