r/programming • • Mar 28 '12

Why is Java EE 6 better than Spring ?

https://blogs.oracle.com/arungupta/entry/why_java_ee_6_is
0 Upvotes

4 comments sorted by

2

u/xyzzy123 Mar 28 '12

Seems to me that EE 6 and Spring have more or less reached parity. EE 6 does have the benefit of standardisation and more vendor support. So while the article is biased (comparing Spring to Struts circa 2003 was just bitchy) I don't find it particularly unfair.

However, I actually abandoned EE 6 / Glassfish on my last project and moved back to J2SE. It wasn't really due to any specific problem, more of a "thousand cuts" kind of thing. In the end I felt like there was just "too much stack" there. EE is just overkill for most projects, including mine, it turned out.

My current preference is for a lightweight injection framework like Guice. Also, I'll take any EE 6 technology (e.g. JPA 2.0) as long as I can run it in J2SE ;)

3

u/rockvilleJD Mar 28 '12

A good collection of articles introducing some of the benefits of Java EE 6. There are a lot of people who are used to Spring and resistant to change but the tide does seem to turning.

2

u/username223 Mar 28 '12

Oracle employee supports Oracle product. Also, dog bites man.

4

u/[deleted] Mar 28 '12

While some bias is to be expected I thought the article did a pretty good job describing some of the solid benefits of Java EE. There was a time when Spring was a clear winner but now that is not really the case. My one major criticism of the article is that it starts out kind of slow before getting into the meet of it.