首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > annotx与更好的功能的java注释的另一种实现

annotx与更好的功能的java注释的另一种实现

  • 资源大小:5.66 MB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: java annotx 实现 功能 注释 更好

资 源 简 介

Currently Java annotation lacks some major features that promote good programming practices and create maintainable Java programs. The first problem of Java annotation is that it must be embedded into the Java source codes. This "feature" mixes up the source code with the meta information of the program. It is not a good practice to write the ORM annotations into the Java POJO. ORM annotation is only needed for database actions and there is no natural relation between Java POJO and ORM annotation. The second problem is that it indirectly forces programmer to put totally unrelated Java annotations into the same Java source file. Java programmer may need to annotate the POJO for both ORM and Dependency Injection purposes but current Java annotation implementation requires to put both ORM and DI annotation in the same POJO. The third problem is that Java annotations are unmanageable and untraceable if there are large number of annotations being embedded into m

文 件 列 表

annotx-0.10
build.xml
test.anno
testanno
src
lib
classes
dist
annotx.jar
VIP VIP
0.205626s