6 ms·
Alternate title: Why I will stab my eye out with a fork instead of running a cheese grater over my knuckles.
by jfager 15y ago
Alternate title: Why I will stab my eye out with a fork instead of running a cheese grater over my knuckles.
- moondowner 15y agoDefinitely. I'm perfectly happy with Spring. A developer can create the most lightweight web application with the most manageable code with Spring.
- Torn 15y agoHave you tried Play (playframework.org) yet?
- rufugee 15y agoI have high hopes that Play will become the defacto "pragmatic" java/scala(/kotlin, when it's finally ready) framework. Play rocks.
- eropple 15y agoI would dearly like to use Play, but I find it really uncomfortable (and not because I'm some stuck-in-my-ways Java developer). Play's heavy abuse of statics is a real problem from my perspective, in large part because it's extremely painful to write inheritance-based code; I realize it helps the simpler use case but I find that I don't regularly write to the simpler use case. I've gone back to Servlets+Guice+Velocity because it's easier for me to write expressive code.
- moondowner 15y agoYes I've tried it (pre Play 2), and there's one thing I don't like - favoring/integrating certain tools in it. I know that it uses Hibernate through the JPA API, and if you want to use a different ORM you'll have to make a lot of workarounds. And it's not only about ORM. A month or so ago I read that it will integrate a certain JavaScript library in it too. Tapestry Web Framework had this attitude, but the developers found that it brought more negative than positive effect, I hope Play will see the same. Modularity and ease of configuration is a very important thing. I like it's Scala support and enthusiasm though, and I will definitely try it some day again.
- thebluesky 15y ago+1 Can't see any sane reason why either would be used for a new project in 2012.
- rhysk 15y agoAbsolutely agree. I work with a very large "enterprise" (investment bank) and they deploy every one to two weeks. We wouldn't touch Spring or JEE with a barge pole. I don't know what world the author lives in.
- mgkimsal 15y agoare you using java at all, or something else entirely?
- thebluesky 15y agoScala or Java SE the way to go IMHO.
- Sandman 15y agoScala is a language, not a framework. You can use Spring with Scala too [1]. Personally, I wouldn't use it for an enterprise project just yet, because of its compatibility issues. And why on earth Java SE? The enterprise edition gives you everything a standard edition does, plus libraries for messaging, transactions, persistence, basically everything you need to write a large scale enterprise app. [1] http://www.infoq.com/articles/scala_and_spring http://www.infoq.com/articles/scala_and_spring
- codemonkeyland 15y agoWhile Scala is not a framework, it can be used with many Java libs. It isn't necessary to use xml-heavy frameworks and app servers to write "enterprise" apps. Endless layers of OR-mapping and xml is not productive. There are endless messaging and persistence solutions available without resorting to xml-obsessed JEE and Spring.
- 15y ago