Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror

Comment Re:XML devils & details (Score 2) 103

In most Java frameworks (especially in Spring) there are two things mixed into a single set of configuration files: items created once while developing application (for example Spring depencency injection bindings, Hibernate mappings etc. - let's call it plumbing) and factual configuration settings (for example: database URL, user and password for application)

So pull them out into a .properties file and use a PropertyPlaceholderConfigurer to inject them into your XML file of bindings and mappings

That's why I prefer annotations rather than XML for binding everything into final application (eg. Guice over Spring)

Except Spring has annotation-based config and it's fairly nice?

(Disclaimer, haven't actually used Guice, but do spend quite a bit of time using Spring - your comments look as though they're based on opinions and experiences from using Spring version $old?)

Comment Retrosnub (Score 1) 601

I use http://www.retrosnub.co.uk/ for this (http://www.retrosnub.co.uk/email), at about £1.50pcm (assuming you're from the US since you didn't specify, around $3 I gather) for their basic Email package (2GB space, unlimited mailboxes with POP IMAP and webmail access, and other useful stuff) and they've been great.
The Media

A Unique Perspective on a 'Game-Related' Tragedy 378

Megnatron writes "Penny Arcade has a letter from the stepmother of one of the kids who was recently charged with killing a homeless man. Her article is an extremely sobering tale of the problems dealing with troubled teen. She explains how, in this situation, the parents did everything they possibly could. And, in a refreshing twist, she absolves the games industry of any blame for the tragedy these kids perpetrated. From her missive: 'Video games DID NOT make this kid who he was, and it's unfortunate that the correlation is there. The thing that really gets me with this whole thing is that the kid knows full well that by equating what he's done to a video game, that he will generate controversy and media coverage. It makes me sick that the media is jumping all over this, because that is exactly the result that he wants. The only good thing (if there is such a thing) that has come out of this whole ordeal is that the kid is behind bars. That is exactly where he needs to be.'" Her letter is a passionate, troubling story, but well worth reading.

Slashdot Top Deals

Usage: fortune -P [-f] -a [xsz] Q: file [rKe9] -v6[+] file1 ...

Working...