Newsletter sign-up
View all newsletters

Enterprise Java Newsletter
Stay up to date on the latest tutorials and Java community news posted on JavaWorld

JavaWorld Daily Brew

Custom annoations and annotation processor



I have been using the Annotations for very long time now. The annotations i used are provided as part of J2SE 5.0, J2EE 5.0 and other frameworks like Spring etc.
Now i thought of writing the annotation for my self . I use J2SE 6.0. I know annotation processor is now part of standard API.

I want write one utility library which will be having custom annotations for client. I want to package the annotation processor too in the same JAR file so that client uses the annotation as they use annotation provided by other frameworks.

I am not very comfortable with annotation processors. Can any tell me where to get good material to read? Or some one can share his/her experiences.

Thanks,
Pushpendra Singh Baghel