Java Frameworks War: Spring and Hibernate

后端 未结 18 2051
北海茫月
北海茫月 2020-12-23 12:08

My developers are waging a civil war. In one camp, they\'ve embraced Hibernate and Spring. In the other camp, they\'ve denounced frameworks - they\'re considering Hibernate

18条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-23 12:46

    As for Hibernate: a very good tool for application which deals with a rapidly changing database schema, a large amount of tables, do lots of simple CRUD operations. Reports with complex queries involved are rather less well handled. But in these case I prefer mixing in JDBC or native queries. So, for a short answer: I do think time spent learning Hibernate is a good investment (they say it is compliant with EJB3.0 and JPA standards, also, but that didn't come into the equation when I evaluated it for my personal use).

    As for Spring... see The Bile Blog :)

    Remember: frameworks are not silver bullets, but you should not reinvent the wheel either.

提交回复
热议问题