我们在实际开发的过程中,需要将几个Javabean对象,糅合成一个json对象,返回给前台,这时,就需要过滤数据。我们使用的commons-beanutils这个框架,于是,自己看了源码后,仿写了这个框架。于是,把这个框架贡献出来,供大家学习使用。
我们在开发的过程中,一般会用到spring框架,这个框架就像是个容器,包罗万象,比如hibernate、mybatis等都能被容纳。其最常用的是构造器、和属性注入,也就是控制反转和依赖注入,因而,我仿造spring框架,模拟spring内部的流程。这里,会用到深度递归获取所有的配置文件。
我们在开发的过程中,经常使用hibernate作为持久层的框架,因而,突发奇想地模拟hibernate这个框架,自己写个框架出来。这里去除了hibernate框架晦涩的地方,当做自己学习材料还是不错的。里面涉及到反射等等。
Contributions last year: 516
Max continuous contributions: 20
Recent contributions: 1
Commits, issues, and pull requests will appear on your contribution graph. Only when the email address used for the commits in local configuration is associated with your GitOSC account, the commits' contribution will be counted.