Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Annotation

 
Daniel Sagayaraj
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Friends,

I am trying to learn annotation in spring 3.0.Can come one give me the list of annotations that i would be used in our project mostly.
 
Harshana Dias
Ranch Hand
Posts: 333
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How would we know what annotations you'll be using?
 
Daniel Sagayaraj
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
David Newton wrote:How would we know what annotations you'll be using?

Hai David,
can you please tell me what would be the most used annotation in a web project .
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@AutoWired. @Controller? @RequestMapping? @Valid? @PathVariable? @SessionAttributes?@RequestBody?@ModelAttribute?@CookieValue? Maybe even @RequestHeader or @InitBinder, but I doubt it. It's really, really hard to say which one you'll use more--kind of depends on the app, its design, and so on.
 
Daniel Sagayaraj
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
David Newton wrote:@AutoWired. @Controller? @RequestMapping? @Valid? @PathVariable? @SessionAttributes?@RequestBody?@ModelAttribute?@CookieValue? Maybe even @RequestHeader or @InitBinder, but I doubt it. It's really, really hard to say which one you'll use more--kind of depends on the app, its design, and so on.

Thanks buddy.... :beerchug: Your help is very useful .Thank you very much
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No problem :)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic