かずきのBlog

C#やJavaやRubyとメモ書き

目次

Blog 利用状況

ニュース

わんくまBlogが不安定になったため、前に書いてたはてなダイアリーにメインを移動します。
かずきのBlog@Hatena
技術的なネタは、こちらにも、はてなへのリンクという形で掲載しますが、雑多ネタははてなダイアリーだけに掲載することが多いと思います。
コメント
プログラマ的自己紹介
お気に入りのツール/IDE
プロフィール
経歴
広告
アクセサリ

書庫

日記カテゴリ

[Java]アノテーションがいっぱい

Java開発者なら耳慣れた(大体の人が体験したこともあるかな?)単語のXML地獄。
設定ファイルのxmlが大量に出来すぎて泣きたくなるような状況のことをいう。

でも、それも昔の話。
最近は、XMLに記述するんじゃなくてアノテーション(.NETで言うところのアトリビュート)を使ってソース内にエレガントに記述するぜ!!っていうのがトレンド。

普通に考えたらXMLに書いててしんどかったものを、アノテーションで書いてもしんどいよね。
っていうことでannotation hellということが巷で起きてるらしい。

この手の問題は、最近流行?のCoC(Convention over Configuration)かIDEによる手厚いサポートが無いとどうにもならないんじゃないかと思う。
CoCの場合は、覚える規約がいっぱいすぎてソースは綺麗だけど、謎の法則満載に見えてしまうこともあるから、最終的には人間の脳みそを退化させるIDEに頑張ってもらわないと辛い。

まぁ、どれもやり込んだ達人レベルになれば、目を閉じていてもXMLかけるぜ~!とかアノテーション書けるぜ!とか、ここはこういう規約だからこうだ!ってなるんだろうけどね。
そこまで行くには時間が…orz
というか、そこに行くまでの補助輪としても充実したIDEのサポートが欲しいと思う今日この頃でした。

投稿日時 : 2008年7月3日 17:44

Feedback

# re: [Java]アノテーションがいっぱい 2008/07/03 19:59 かずくん

つまり、Seasar最高ということですね。分かります。

# re: [Java]アノテーションがいっぱい 2008/07/03 22:48 かずき

シーサーも、最初のファイル揃えるのがメンドイ感じでふ。
(これはめんどくさがりすぎ!)

# Do you have more great atirlces like this one? 2011/07/07 14:02 Jolyn

Do you have more great atirlces like this one?

# Well put, sir, well put. I'll certailny make note of that. 2011/07/09 19:49 Candie

Well put, sir, well put. I'll certailny make note of that.

# welded ball valve 2012/10/18 22:45 http://www.jonloovalve.com/Full-welded-ball-valve-

I like this web blog so much, saved to my bookmarks. "Nostalgia isn't what it used to be." by Peter De Vries.

# sacs lancel 2012/10/19 14:39 http://www.saclancelpascher2013.com

Simply a smiling visitant here to share the love (:, btw great style .

# Womens TK Society 2012/12/08 4:04 http://supratkstore.webs.com/

I dugg some of you post as I cogitated they were invaluable invaluable

# louis vuitton schal 2012/12/12 11:14 http://www.louisvuittontascheneu.com/

Little or no man or woman might be priced at your ultimate crying, additionally , the person that may be South Korean won‘testosterone earn you yell.

# sac longchamp 2012/12/14 20:44 http://www.soldesacslongchamp.info/category/sac-lo

Thus, our shelves find themselves filled with ingredients that we love.

# sacs longchamp 2012/12/16 17:59 http://www.soldesacslongchamp.info/category/sacs-l

I consider the costly garbage provide feedback. I dislike the seem, sound or feel of your Beats.

# burberry soldes 2012/12/17 2:57 http://www.sacburberryecharpe.fr/category/foulard-

keep up the good do the job!

# エルメスクリスマス 2012/12/17 20:05 http://www.hermespairs.info/category/エルメスバーキン

Looking send to looking at more!

# sacs guess 2012/12/18 2:13 http://sacsguess.monwebeden.fr

I learn everybody will certainly hate built in, but I don't even think they glimpse so damaging.

# scarf burberry online 2012/12/18 14:26 http://www.burberryuksale.org/category/burberry-on

I truly like em. It's different you slip on these out walking on town men and women.

# sac longchamp soldes 2012/12/18 20:15 http://www.longchampfr.info/category/sac-longchamp

Great short article, it's useful information.

# la vente Burberry 2012/12/19 13:19 http://sacburberrysoldesfr.webnode.fr/blog

this can be something relating to never ever previously read.

# burberry uk 2012/12/21 1:44 http://burberryukoutlets.wordpress.com/category/bu

Very invaluable info. Hope to work out more articles soon!

# michael kors femme 2012/12/22 17:05 http://sac2012femmes.wordpress.com

The fashion don't collapse flat and also Philips doesn't make a travel pouch inside the package.

# casquette swagg 2013/03/23 21:23 http://e66.fr/

A buddy you simply shop for using provides is bought from the individual. casquette swagg http://e66.fr/

# destockchine 2013/03/25 5:09 http://c99.fr/

Hardly ever frown, when that you're down in the dumps, because can't say for sure who is responsible for falling over motivated by all your smile. destockchine http://c99.fr/

# usine23 2013/03/25 5:09 http://e55.fr/

Relationships ultimate every time every single partner considers fresh a small superiority in the different. usine23 http://e55.fr/

# rueducommerce 2013/04/07 7:16 http://ruezee.com/

Delight works as a perfume you may not fill along others without need of finding a very few loses along your. rueducommerce http://ruezee.com/

# Eram 2013/04/08 1:50 http://rueree.com/

Because you may take care of your mysterious away from an opponent, convey to the application will not anyone. Eram http://rueree.com/

タイトル
名前
Url
コメント