spring

3.1. Introduction to the Spring IoC container and beans

BeanFactoryとApplicationContextについて。ApplicationContextはBeanFactoryのサブセットであり、エンタープライズアプリ作るために必要な機能がいろいろ追加されてる。普通はApplicationContextを考えればよい。 以上。…内容端折り過ぎだ(´・ω・`)

3.2. Container overview

概要 Springにおける「コンテナ」という概念について。 ・ApplicationContextがSpringIOCのコンテナを表す。 ・ApplicationContextの実装で代表的なものとして、ClassPathXmlApplicationContextやFileSystemXmlApplicationContextがある。 ・普通はApplicati…

Spring Framework 3.0 リファレンス オレオレ和訳(日本語訳) 目次

とりあえず、自分の気が向く間だけでもSpringFrameworkのドキュメント読んだ内容をメモっていきます。邦訳ではなく、自分が読んだ足跡を自分向けに残しているだけですので精度も悪いですが(そもそも英語は超苦手です)、まぁ公開することで恥さらしするのも…

StrategyPattern

ApplicationContextAwareを使わないStrategyPatternの実装例。 もとねた:http://seasarproject.g.hatena.ne.jp/abhrsh/comment?date=20040822ストラテジ public interface Strategy { public String getMessage(); }ストラテジの実装クラス @Component publ…

spring3.0を勉強してみようと思います

Spring使ったことない残念な私ですが、ちょっと心を入れ替えて勉強してみようかなと思いました。Beanの定義やインジェクションの指定をアノテーションでできるようになっているし、なによりSpringMVCは@MVCの仕様をみていると結構いい感じに思える。今までな…