Fwd: O'Reilly invites you to Mashed 2008

Steve Mynott steve at tightrope.demon.co.uk
Thu Jun 19 20:07:26 BST 2008


Paul Makepeace wrote:

> I think anecdotally Java can consume quite a lot of memory but I'm
> less familiar with this side. (Then again, mod_perl isn't lite on RAM
> either...)

Hahaha.

I've been using Jboss and Sun's JVM with Seam (nice OSS) and it takes 
over a minute to restart the server on a dual processor laptop.  I had 
to upgrade to 2 gig of memory on the thing otherwise it was constantly 
swapping.

The hot deploy of changed stuff often crashes Jboss and the restart - 
debug - hot deploy - crash development cycle makes writing code painful.

So I spend many minutes a day watching scrolling log4j log lines of 
various J2EE libraries initialising rather than coding as I would with 
Perl.  Then when the thing has finally restarted on the first page hit 
there's another long wait before the web page finally displays.

I imagine anyone clicking through the pages would then occasionally hit 
a freeze while the whole thing garbage collects too.

Not fashionable with J2EE people but I bet for a lot of simple tasks 
forked GCJ CGIs would be faster than their stuff ;-)  I bet there's 
millions of lines of J2EE which doesn't do very much and does it very 
slowly!

Having said all that I like some of the java apps on my mobile and 
Eclipse would be nice if emacs didn't already exist...

S


More information about the london.pm mailing list