Escolar Documentos
Profissional Documentos
Cultura Documentos
IN JAVA
[Pick the
date] By martin_m_nad@yahoo.com
Anotation in java
Annotation in java
[TYPE THE SUBTITLE]
ANNOTATION
Annotation is a kind of the metadata. Here I will discuss how you can
use Annotation in your java application and why.
Metadata is a way to describe your data, or in other why metadata is a
definition of your data, or in more generally way data about data.
XMl is another way to describe your data.
And in generally you use annotation in java and replace your xml files,
for example you can look at the Hibernate to how you can use
annotation instated xml-file.
Xml is very good way to describe your information with it, but because
it is define in other files, outside your source code, and there are not
any tools to check your application filenames with those names in xml-
files, I would rather to use annotation to describe my data in my java-
application.
Annotation can be used by compiler, precompiler , and at the runtime
by using Reflection.
Page 2
Anotation in java
I’m sure that you have got problem suddenly your application doesn’t
work anymore,
And you are looking and spend lot of time to find what is wrong with
your codes.
Overridden is metadata that you can use in your java-code and very
soon you can find this kind of problem and error in your application.
Another useful metadata is Depprecture, it is about a function that it is
not support in next generation of source-code.
Annotation can help you for code-analysis, you can ensure that you are
using right type of parameters and will get right value/values form a
function too for example.
To be continue….
Page 3
Anotation in java
MY OTHER PAPERS
Page 4