I have to develop a custom annotation or two.
I'm a sheer beginner for Java annotation, in fact
has not begun it at all yet.
What could be the best practical guide for
the annot development? I'd like to have free
one accessible from the net but if a book is
far better I will of course buy it.
>I have to develop a custom annotation or two.
> I'm a sheer beginner for Java annotation, in fact
[quoted text clipped - 4 lines]
> one accessible from the net but if a book is
> far better I will of course buy it.
I don't know of any good resource, free or otherwise, that covers
everything you need to take full advantage of annotations. The information I
learned is scattered everywhere, and/or learned by trial and error, and from
observing the source code of other projects.
I recommend you read these to get you started, and from there, tell us
where you're stuck, or if you have no idea how to start, what it is exactly
you hope to achieve using annotations.
http://java.sun.com/j2se/1.5.0/docs/guide/language/annotations.html
http://www.onjava.com/pub/a/onjava/2004/04/21/declarative.html
http://java.sun.com/docs/books/tutorial/java/javaOO/annotations.html
- Oliver
hiwa - 26 Nov 2006 04:24 GMT
> >I have to develop a custom annotation or two.
> > I'm a sheer beginner for Java annotation, in fact
[quoted text clipped - 19 lines]
>
> - Oliver
This article by Jason Hunter, comprising four installments, is good.
http://www.oracle.com/technology/pub/articles/hunter_meta.html
Installment two and three has a nice hands-on tutorials for writing
and using custom annotation, both for runtime and compile time.