http://gee.cs.oswego.edu/dl/cpjslides/nio.pdf
http://www.kafka0102.com/2010/06/167.html
ioc
http://www.martinfowler.com/articles/injection.html