google guiceをベースにWebアプリケーションを作ってみよう - 目次
さて。
先日、guiceをベースとしてより上位なフレームワークを作ってみようとか偉そうなことを言ってしまった私が来た訳ですが。
実のところ、正直別に私はRailsとかSeamとかSeasarとかみたいなエレガントなものを作ってしまえるような凄腕なんて残念ながら持ち合わせてはいないので、とりあえず以下のやり方をまとめるところから初めてみたいと思います。とりあえずこの辺ができれば割といけるような気がするんですけど私だけでしょうか。
- DIについて
- 基本的なインジェクション
- 定数のインジェクション
- 文字列のインジェクション
- コレクションのインジェクション
- インジェクションするクラスを実行時に指定する方法
- プロバイダーを使用したインジェクション
- シングルトンについて
- AOPについて
- 設定ファイルとの連携
- プロパティファイルとの連携
- メッセージリソースとの連携
- シングルトン・コンテキストパターン
- ORMとの連携
- Webフレームワークとの連携
- Struts1との連携
- Struts2との連携
- JSFとの連携
- Click Frameworkとの連携
- Wicketとの連携
- ユニットテストについて
- Web層のテスト
- ビジネスロジック層のテスト
- Daoのテスト
- その他
また、既に和訳されている方もいますが、勉強も兼ねてユーザーズガイドを自分でも和訳してみたいと思います。
- Guice 1.0 User's Guide
- Introduction
- Plain Old Factories
- Dependency Injection By Hand
- Dependency Injection with Guice
- Guice vs. Dependency Injection By Hand
- More Annotations
- Architectural Overview
- Startup
- Runtime
- Bootstrapping Your Application
- Binding Dependencies
- DRY (Don't Repeat Yourself)
- Annotating Bindings
- Creating Binding Annotations
- Annotations With Attributes
- Implicit Bindings
- Injecting Providers
- Injecting Constant Values
- Converting Strings
- Custom Providers
- Example: Integrating With JNDI
- Scoping Bindings
- Creating Scope Annotations
- Eagerly Loading Bindings
- Injecting Between Scopes
- Development Stages
- Intercepting Methods
- Static Injection
- Optional Injection
- Binding to Strings
- Struts 2 Support
- A Counting Example
- JMX Integration
- Appendix: How the Injector resolves injection requests
もっと凄いものとかを期待していた人(いたらですけど)、すいません。