File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes Annotation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Annotation" Watch "Annotation" New topic
Author

Annotation

Daniel Sagayaraj
Ranch Hand

Joined: Mar 15, 2010
Posts: 32
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

Joined: Jun 11, 2007
Posts: 327
http://www.roseindia.net/spring/spring3/spring-3-hello-world.shtml
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

How would we know what annotations you'll be using?
Daniel Sagayaraj
Ranch Hand

Joined: Mar 15, 2010
Posts: 32
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

Joined: Sep 29, 2008
Posts: 12617

@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

Joined: Mar 15, 2010
Posts: 32
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

Joined: Sep 29, 2008
Posts: 12617

No problem :)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Annotation
 
Similar Threads
Dependency injection problem
Using inheritance for managed beans
Question on @EJBS annotation
Understanding <tx:annotation-driven/> working
difference between annotations