1. Properties is to keep some values with a certain index name. Such as: in csdn "hiking" means a certain user which names him/her as hiking. So if you want to find the certain user in csdn, just search hiking is ok.2.InitialContext gets a value named javax.naming.Context.INITIAL_CONTEXT_FACTORY inside(extends from Context). And if inside the InitialContext needs the certain content value, then check the INITIAL_CONTEXT_FACTORY is OK.3.javax.naming.Context is a special one. Cause there a lot of objects which will be used by uncertain customers. When a customer wants one of them, he/she requests the system and tells it what wanted. Then the system will search a list which is maintained by the middware applications. If matched, then the object is given the customer.(such as "java:comp/env/jdbc/emr")4.customer gets the object and demarshels it to the suitable type and uses id.
javax.naming.Context 是上下文环境,可以理解为初始化时必须的环境,有了这个环境你才能使用连接池 《-------------末尾改成:“有了这个环境你才能查找到连接池配置”