mardi 31 mars 2015

Struts2/Hibernate/Spring alternative?

I'm looking for new technologies (supported if possible) to update existing WebAdmin projects and to use going forward. The WebAdmin projects are simple web interfaces for a few (<100) users to be able to view and update their SQL database with combining updating multiple tables from a single page. Being able to upload documents to a server. And also logging/auditing each user action.


Currently our projects are designed with a Struts2/Hibernate/Spring setup using Envers to handle auditing.


Struts2 seems to be out of support now as the last stable release was 2.3.20 / December 7, 2014. Hibernate also has caused some problems with debugging its SQL queries and setting up cascading table saves. And while there seems to be some Envers documentation, there doesn't seem to be many examples on how to use it properly (setup with automatic initial table creation seems to be capable for the auditing tables, but I have not been able to find an example of it).


Hibernate has a few alternatives that I've seen (Light weight alternative to Hibernate?):



  • ORMLight

  • jOOQ

  • MyBatis


And Struts2 has a few I've heard of as well:



  • Grails (Groovy on Rails)

  • JSF (JavaServer Faces)


But I cannot find another pair of web interface and SQL database connections that is current, easy to setup, easy to debug, but powerful enough to handle cascading table structures. Grails was the top of the list as an alternative, but after attempting to reach outside of its intended use setup and debugging became much harder than our current Struts2/Hibernate/Spring setup. There also seems to be few benefits for using JSF over Struts2 without its equal drawbacks.


I'm not expecting some magical application structure to fix all of my problems. And while Struts2 is no longer supported since it has been around for a while there is a lot of documentation and 3rd party support for it. I would just like to know what else is out there and if anything new has been created.


Aucun commentaire:

Enregistrer un commentaire