标签云

微信群

扫码加入我们

WeChat QR Code


Oh man, I hate it when projects degenerate into war. Happens too often to teams with too many zealots.

2018年10月21日36分49秒

Be CAREFUL. Hibernate is extremely powerful, but also extremely complex. You may not need the complexity of Hibernate, there are other options for ORM such as SQL Maps, etc. These can be plugged into Spring. See static.springframework.org/spring/docs/2.5.x/reference/orm.html for details.

2018年10月21日36分49秒

Spring and OCM frameworks add a lot of complexity and programming in XML files. There are other frameworks that you can choose from for building web applications without writing your own. OSGi containers with component management (eg. Apache Felix felix.apache.org) are much simpler and more flexible than Sling's hard-wired style and frameworks such as Apache Sling (sling.apache.org) remove the need for writing Controllers and additional DAO layers completely.

2018年10月21日36分49秒

I suppose I exaggerated. Perhaps not denounce ... rather, they've been resistant to the idea of adopting the frameworks in their projects.

2018年10月22日36分49秒

Any opinions on Spring?

2018年10月21日36分49秒

"Hibernate performance tuning techniques" Do you have any ressources on that ?

2018年10月22日36分49秒

Just googled "Hibernate performance tuning techniques" which returned quite a few hits. But yeah, like what Blade said, do you have any resources on it?

2018年10月22日36分49秒

Apologies, Peter. Steve B's answer is kinda what I'm after.

2018年10月21日36分49秒

flushing does not commit, it just pushes out the changes you've stated for the transaction so far. It will on commit if you have auto commit on.

2018年10月22日36分49秒

An expert is exactly what we don't have. We're heavily relying on the internet (usually google) as a surrogate mentor. Voting you up.

2018年10月21日36分49秒

I agree, I am not a fan of frameworks that require so much XML-configuration. Although Spring has improved a lot in that sense, it is still not XML-free. This is one of the reasons why we have launched our own easy to learn - with near to zero configuration - MVC framework built on top of Guice: geeMVC. Why when there are already so many MVC frameworks out there? Check out our motivation behind adding another.

2018年10月21日36分49秒