DataFactory dataSource 数据仓库对象
Once your data model has been registered, you can use the DataFactory class to create instances of your data model.
注册了数据模型后,就可以使用 DataFactory 类来创建数据模型的实例。
Because the DataFactory class implements the ServletContextListener interface, it guarantees that its init method is called when the servlet context is first created.
因为DataFactory类实现了ServletContextListener接口,所以可以保证在第一次创建servlet上下文时调用其init方法。
应用推荐