Like Javac its a tool a compiler ( APT compiler ) is designed to compiler the source file having the annotations code. It is basically designed for the Annotations( metadata ) which come with the release of Java 5 . Internally APT uses AnnotationProcessor which is an Interface. No use of describing much because its a lot to describe if i start describing it. So basically it was developed to process Annotation based code but later a API was added to the javac i.e Pluggable Annotation Processing API with the release of JDK 6 . So javac would be more preferable for programmers rather then apt. By this reason it should be better to remove this facility. That is the reason why it comes with JDK 5 and gets deprecated in JDK 7 and finally removed with the release of JDK 8. 

Note: 

* Deprecated apt tool gets replaced with the development of Pluggable Annotation Processing API with the release of JDK 6 . So recommended to use javac only for Annotation processing as well.  

* APT was never be the part of Java SE , only was of JDK. 

0 comments:

Post a Comment

Ads 468x60px

.

Ads

.

Featured Posts

Popular Posts

Like Us On FaceBook

Total Pageviews

Online Members

Live Traffic