News for hackers. Stuff that matters.
Re:Security with Spring by bsaul on Tuesday May 28, 2013 @08:32AM (#5779537)
A bit off topic : I've used Spring some times ago, and it really made me wonder how the full stack would perform on a benchmark against non-JVM frameworks, even though the JVM is faster than anything else.

This framework really redefined my notion of bloated, although to be fair, i really don't know if the runtime and API part of the framework gave me that feeling, or if it's not mainly due to the extremely painful development environment (aka spring sts : one JVM for the IDE, one JVM for the bean execution, and one virtualization layer on top of the web server thanks to VMWare vFabric...).

In the end, it took me more than 5 minutes to boot STS and get the server run my code, on my fairly recent 4G of RAM MBP.

[deleted]
Re:Security with Spring by jomohke on Tuesday May 28, 2013 @09:16AM (#5779768)
Out of interest, what stack are you running on? The Spring apps I've worked with in the past (plain Tomcat+Spring) never took more than a few seconds to boot (and most changes could be hot deployed without a restart).
Re:Security with Spring by fmstephe on Tuesday May 28, 2013 @09:23AM (#5779815)
Sorry, I just deleted the parent that you replied too. I felt it was too full of emotion and lacked useful content.

Currently I am working on Spring+Tomcat. Previously we were working on weblogic + spring, that's where the ~50% CPU time measurement came from.

The project where I found myself the most frustrated with Spring was in a simple console app, where Spring became the server container. The application was more or less empty, having only a few database connections, and it took probably about 10 seconds to boot up. I really remember thinking "this is as fast as it will ever be" it only got slower from then on.

Re:Security with Spring by brown9-2 on Tuesday May 28, 2013 @12:31PM (#5780977)
You can find some simple benchmarks here: http://www.techempower.com/benchmarks/

I would not judge Spring the Framework by Spring the IDE (which is a bunch of plugins on top of Eclipse). The Spring integration in IntelliJ is great.

Re:Security with Spring by chris_wot on Tuesday May 28, 2013 @11:02AM (#5780419)
STS is an IDE, it's not the Spring Framework. Your comparing apples with oranges here...
Re:Security with Spring by mtrimpe on Tuesday May 28, 2013 @10:06AM (#5780104)
Spring is just an XML-based DSL that wires objects together and applies AOP aspects to them.

Your bad experience was with a Spring-branded Eclipse; the open-source IDE that's so slow and bloated Google preferred switching to a proprietary competitor (IntelliJ) for their latest version of the Android IDE.

Re:Security with Spring by bsaul on Tuesday May 28, 2013 @10:14AM (#5780150)
Yes, but I believe sfjailbird is also right (see comment below) : there's also a vicious "enterprise" culture surrounding that technology that really encourages people to keep going in that direction.
Re:Security with Spring by fmstephe on Wednesday May 29, 2013 @04:49AM (#5785297)
I think your characterisation of the enterprise culture as vicious isn't too far off the mark. :)