annotx与更好的功能的java注释的另一种实现
资 源 简 介
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