Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #16610
| From | Wanja Gayk <brixomatic@yahoo.com> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: @Override |
| Date | 2012-07-30 14:42 +0200 |
| Organization | Netfront http://www.netfront.net/ |
| Message-ID | <MPG.2a809f7ac23a2b85989726@202.177.16.121> (permalink) |
| References | (1 earlier) <500dce9e$0$6901$e4fe514c@news2.news.xs4all.nl> <a77mmkF9r3U1@mid.individual.net> <500f1018$0$6873$e4fe514c@news2.news.xs4all.nl> <a79g5cFvhnU1@mid.individual.net> <501040e1$0$290$14726298@news.sunsite.dk> |
In article <501040e1$0$290$14726298@news.sunsite.dk>, arne@vajhoej.dk says... > Many people prefer annotations over all those XML config files. > > But I am also in disagreement about it. > > A central XML config file is a cleaner solution than annotations > spread out in a large number of classes. It highly depends. I like XML when it contains some data which is central for the application that needs to be configurable without building the product, but I'd rather prefer it written and read by the application itself, so you'd use it as a config file that is accessible through the application's configuration menu. On the other hand there are loads of things, like for example database- mappings, where I prefer annotations, simply for the narrow scope - I dislike to have to keep several files in sync, as I'm just lika every human, doomed to forget it once in a while - and as Murphy said: in the worst possible moment. And sometimes XML is just not funny at all: When I see hundreds of lines of Maven config XMLs, that contain several plugins and their configuration, quite frankly, it disturbs me like a god class. Kind regards, Wanja -- "I'm going to put something to you here, and I think you'd better listen to this: If we race, if we two race, we could end up with nothing, so it's up to Eddie. If we don't race each other, we've got an opportunity to get first and second." [Damon Hill, Spa '98, being chased by Ralf lapping 5s faster than him] --- Posted via news://freenews.netfront.net/ - Complaints to news@netfront.net ---
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
@Override bob smith <bob@coolfone.comze.com> - 2012-07-23 11:30 -0700
Re: @Override Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2012-07-23 20:52 +0200
Re: @Override markspace <-@.> - 2012-07-23 11:54 -0700
Re: @Override Lew <lewbloch@gmail.com> - 2012-07-23 13:05 -0700
Re: @Override Arne Vajhøj <arne@vajhoej.dk> - 2012-07-23 19:54 -0400
Re: @Override "John B. Matthews" <nospam@nospam.invalid> - 2012-07-23 15:56 -0400
Re: @Override Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2012-07-23 14:19 -0700
Re: @Override rossum <rossum48@coldmail.com> - 2012-07-24 13:09 +0100
Re: @Override Arne Vajhøj <arne@vajhoej.dk> - 2012-07-24 21:29 -0400
Re: @Override Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-07-24 09:04 -0400
Re: @Override Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-07-23 16:35 -0400
Re: @Override Lew <lewbloch@gmail.com> - 2012-07-23 13:59 -0700
Re: @Override Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2012-07-23 23:40 +0200
Re: @Override Lew <lewbloch@gmail.com> - 2012-07-23 14:51 -0700
Re: @Override Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2012-07-24 00:08 +0200
Re: @Override Lew <lewbloch@gmail.com> - 2012-07-23 16:57 -0700
Re: @Override Robert Klemme <shortcutter@googlemail.com> - 2012-07-24 09:46 +0200
Re: @Override Arne Vajhøj <arne@vajhoej.dk> - 2012-07-23 19:58 -0400
Re: @Override Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-07-23 22:16 -0400
Re: @Override Arne Vajhøj <arne@vajhoej.dk> - 2012-07-23 22:57 -0400
Re: @Override Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-07-23 23:47 -0400
Re: @Override Arne Vajhøj <arne@vajhoej.dk> - 2012-07-24 21:35 -0400
Re: @Override Jim Janney <jjanney@shell.xmission.com> - 2012-07-26 20:00 -0600
Re: @Override Gene Wirchenko <genew@ocis.net> - 2012-07-23 14:01 -0700
Re: @Override Silvio Bierman <silvio@moc.com> - 2012-07-24 00:22 +0200
Re: @Override Arne Vajhøj <arne@vajhoej.dk> - 2012-07-23 19:53 -0400
Re: @Override Gene Wirchenko <genew@ocis.net> - 2012-07-23 18:59 -0700
Re: @Override Silvio Bierman <silvio@moc.com> - 2012-07-24 22:57 +0200
Re: @Override Arne Vajhøj <arne@vajhoej.dk> - 2012-07-24 21:24 -0400
Re: @Override Robert Klemme <shortcutter@googlemail.com> - 2012-07-24 15:36 +0200
Re: @Override Gene Wirchenko <genew@ocis.net> - 2012-07-24 09:54 -0700
Re: @Override Silvio Bierman <silvio@moc.com> - 2012-07-24 23:14 +0200
Re: @Override Robert Klemme <shortcutter@googlemail.com> - 2012-07-25 07:57 +0200
Re: @Override Gene Wirchenko <genew@ocis.net> - 2012-07-25 10:34 -0700
Re: @Override Arne Vajhøj <arne@vajhoej.dk> - 2012-07-25 14:54 -0400
Re: @Override Wanja Gayk <brixomatic@yahoo.com> - 2012-07-30 14:42 +0200
Re: @Override Arne Vajhøj <arne@vajhoej.dk> - 2012-07-24 21:20 -0400
Re: @Override Lew <noone@lewscanon.com> - 2012-07-25 06:26 -0700
Re: @Override Arne Vajhøj <arne@vajhoej.dk> - 2012-07-25 17:16 -0400
Re: @Override Roedy Green <see_website@mindprod.com.invalid> - 2012-07-23 20:59 -0700
Re: @Override Wanja Gayk <brixomatic@yahoo.com> - 2012-07-24 16:06 +0200
csiph-web