Spring Annotations : One line description to make sense out of them

@Autowired : Binding one class with another by type

@Resource : Binding one class with another by name 

@RequestMapping : To map url with function/class

@RequestHeader : To map parameter to header variable

@modelAttribute : To map parameter with attribute present in model

@RequestParam : To map parameter with attribute present in request

@SessionAttribute : To map parameter with attribute present in session

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s