Hello Miga

Thanks for your response.

I had allready read those links, but doing so the second time did
help!!

I think that the fourth paragraph in 
http://java.sun.com/j2se/1.5.0/docs/guide/language/annotations.html
said it all...

"Annotations do not directly affect program semantics, but they do
affect the way programs are treated by tools and libraries, which can
in turn affect the semantics of the running program. Annotations can
be read from source files, class files, or reflectively at run time. "

Now please feel free to correct me if I am wrong.  By writing my own
Annotations I have to allso write a Tool to work on those
Annotations?

Is this a right understanding?

At least I have a working homework for this LAB now, so I am
happy! :-)

My best regards
  - Halli

On Sep 21, 10:05 am, miga <[email protected]> wrote:
> Hello Alli,
>
> On Sep 21, 10:46 am, Hallgrímur Njálsson<[email protected]> wrote:
> > Hi, every one
>
> > I am having a bit of a problem undestanding Java Annotations.
>
> You may read (if not already done) those documents:
>
> http://www.developer.com/java/other/article.php/10936_3556176_1/An-In...
>
> http://java.sun.com/j2se/1.5.0/docs/guide/language/annotations.html
>
> To put it briefly, annotations is a way to let the compiler of the
> Java Virtual machine writes part of the code for you.
> It was introduced in Java 1.5, but found its powerful use in Java 1.6.
> And now has been introduced in JavaEE 6.

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to