The annotations tag has no wiki summary.
-2
votes
0answers
36 views
CRUD operations via annotations [closed]
I'm new to Java. Can somebody explain how to use annotations and reflection for code reuse? I want to make a simple console program that implements CRUD operations on JDBC via this technology.
19
votes
6answers
1k views
A programming language that allows you to define new limits for simple types
Many languages like C++, C#, and Java allow you to create objects that represent simple types like integer or float. Using a class interface you can override operators and perform logic like checking ...
2
votes
2answers
94 views
Requirement specifications with annotations?
I'm curoious if there are any templates using annotations such as ambigous, needs update and so on. Industrial or Academic does not matter.
If there are, are there any way tools available that use ...
2
votes
2answers
216 views
What are the benefits vs costs of comment annotation in PHP?
I have just started working with symfony2 and have run across comment annotations.
Although comment annotation is not an inherent part of PHP, symfony2 adds support for this feature.
My ...
2
votes
1answer
134 views
Java sql annotations ManyToMany relationships
I was wondering your thoughts on the best way to implement a SQL ManyToMany relationship in Java using annotations - in this case eBeans - where there is extra data associated with the join.
I have ...
3
votes
1answer
839 views
is it possible to auto-generate annotated POJO from a table
I wonder is it possible or is there a tool to generate annotated POJOs from a table.To make it clear,for example,Person table has fields like ,id,name,surname etc and i wanna to generate a POJO named ...
3
votes
5answers
337 views
What problems are Java annotations well suited to? [closed]
I've been writing in Java and C# for a while, but I'm having a hard time identifying places where using a custom annotation would be advantageous.
I can see that JUnit uses annotations in test ...
5
votes
1answer
366 views
Why were annotations introduced in Spring and Hibernate?
I would like to know why were annotations introduced in Spring and Hibernate? For earlier versions of both the frameworks book authors were saying that if we keep configuration in xml files then it ...
1
vote
3answers
260 views
Just getting started in Spring and my preference is XML config over annotations. Correct or not?
After having read through some of the Spring docs my inclination is towards using a XML config file rather than annotations on the classes themselves. My reasoning is that by doing so you avoid tying ...
3
votes
2answers
264 views
What is history and concept of code annotation?
C# and Java has code attribute and code annotation. I don't know about other languages, but I know the code annotation feature is used to expand language itself.
I knew what it is, but I want to know ...