Archiv für Oktober, 2010

Spring has left the Building!

Veröffentlicht: Oktober 7, 2010 in Automatic Binding for Guice, Java
Schlagwörter:, , , ,


my Name is Daniel Manzke and I’m one of the Co-Moderators of the Xing-Group for the Java User Group Berlin-Brandenburg (Germany). I’m also organizing Presentations for the Group. I’m using Java for 6-7 years and worked with Spring for 3-4 years. At the moment I’m working on the Automatic Binding of Beans, Modules, Configurations and AOP for Google Guice. #GAB

So enough about me, I justed want to tell you a short story and I want to know from you, if I’m so wrong.

Some weeks ago I wrote Adam Bien an Email and asked him if he would present all the new Stuff around Java EE 6. I really like the guy, because he is pragmatic and you can discuss with him, without the normal flame wars of Programmers. (you should visit one of his presentations!)
We agreed that the 25.01.2011 would be the perfect date and ImmobilienScout24 will allow us, to present in one of their rooms. (with Pizza and Drinks – Thanks!)

Disclaimer: This blog and my opinions have nothing to do with ImmobilienScout24 or Adam Bien. These are my personal opinions.

In a later mail Adam had the great Idea, that we could make a Side-by-Side presentation. We thought Spring would be a nice Partner. I really liked the idea to hack an Example Side-by-Side with Java EE and Spring. Why? Because Spring always wanted to replace EJBs and all the heavy Stuff of Java EE.

So I started to search a good Spring-Presenter who would like to do this hacking. And here begins the funny part!

One guy (I don’t want to blame anybody so I’ll call him Mr. S) Mr. S wrote me that he liked the idea, but this comparison of the two Stacks doesn’t make a sense for him.
He wrote me, that you can create the Presentation Example with Spring, CDI, EJB and without Java EE, because Spring is so flexible. „And you can use Xml, Annotations and all this stuff.“

Until here I could follow him a little bit, but than he begun to write me the real features and advantages of Spring.

Mr.S wrote, that we can’t compare the Stacks, we should instead show how easy it is to bring such an App into the GAE, how to integrate Caching, how to integrate Twitter and how to connect NoSQL-Databases. „Java EE has no rudiments for the needs of the Future“

At this point I started laughing for about one hour and had a lot of discussions with Friends.

Does Spring has left the Building? Are you using Spring anymore? What DI-Implementation would you choose if you would start a new Project?

For me it is clear, I’ll never use Spring again. (only if I have to) Spring is just to heavy and not lightweight anymore. They tried to implement everything and make everything better. Do they have reached their aim or do they have lost their focus?
There are needs for NoSQL and all the stuff, but not for my Customers. I don’t know if they know how to write NoSQL, but I know that they are not able to administrate it.

So there are a lot of scenarios where I’m happy that Java EE is on the best way, to get really lightweight and Adam will show us all the Core-Stuff.

I’m really glad to know, that he is not one of the Marketing Guys!

So let us discuss, if Spring is useful anymore. If Java EE is fit for the Future. I’m really interested in your thoughts!