Forums Register Login

Annotations in java

+Pie Number of slices to send: Send
Could anybody please share the link explaining "Annotations" in java which can be easily understood?
+Pie Number of slices to send: Send
+Pie Number of slices to send: Send
 

Maneesh Godbole wrote:http://www.google.com



If this is the case, then why www.coderanch.com exists ?
just kidding..

I have no idea abt Annotations..I want some link describing "Annotations" in layman's terms
+Pie Number of slices to send: Send
It's mostly used for configuration purposes. Instead of using bold XML people now tend to use annotations.

Quick example



this is a mapping between the property name and the column in the SQL table. As you can see, much simpler than using an XML file.
+Pie Number of slices to send: Send
For basic language questions like this, the Sun Java Tutorial should always be your first stop: http://java.sun.com/docs/books/tutorial/java/javaOO/annotations.html
+Pie Number of slices to send: Send
 

anish jain wrote:

Maneesh Godbole wrote:http://www.google.com



If this is the case, then why www.coderanch.com exists ?
just kidding..


Maneesh actually meant SearchFirst.

abt Annotations..


Please UseRealWords.
+Pie Number of slices to send: Send
Have a look at Annotations in Sun's Java tutorials. It starts with examples that show how annotations can be useful.
+Pie Number of slices to send: Send
 

anish jain wrote:

Maneesh Godbole wrote:http://www.google.com



If this is the case, then why www.coderanch.com exists ?
just kidding..



I believe Maneesh said that because you had asked the same question earlier and even at that time, you had been encouraged to Search First.
Time is the best teacher, but unfortunately, it kills all of its students - Robin Williams. tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1058 times.
Similar Threads
Annotations in servlets
importance of the interface
xDoclet Vs Java annotations
Q 4 H. Schildt (1): scope of features
Need Help Regarding Annotation
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 22:50:15.