Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java Open Source > Spring
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Spring section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old December 7th, 2010, 01:26 AM
Registered User
 
Join Date: Dec 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default AOP concepts

Can any one explain what is an advice, pointcut joinpointcut, aspect, etc.. with real time example

Last edited by pradeepm8482; December 7th, 2010 at 01:30 AM.
  #2 (permalink)  
Old April 12th, 2011, 06:54 AM
Registered User
 
Join Date: Apr 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Advice - specifies what to do at a join point. In the case of Spring, this is the additional behavior that Spring will inject around a method invocation. It is most often defined in a method interceptor, which will be invoked as part of an interceptor chain wrapping the method invocation.


The key to AOP is providing a different way of thinking about application structure.

This structural thinking is captured in the form of pointcuts.
Pointcuts are predicates determining which joinpoints a piece of advice should apply to. It's more intuitive — although not entirely accurate — to think of a pointcut as a set of joinpoints: for example, a set of methods that might be targeted by an advice.

These two books from Wrox, are a good starting point - it's hard to understand these terms and/or their logic without understanding the Spring approach.

Professional Java Development with the Spring Framework
Expert One on One J2EE Development without EJB
  #3 (permalink)  
Old September 28th, 2011, 08:18 AM
alexa007
Guest
 
Posts: n/a
Default

Object oriented programming has become mainstream over the last years, having almost completely replaced the procedural approach. One of the biggest advantages of object orientation is that a software system can be seen as being built of a collection of discrete classes. Each of these classes has a well defined task, its responsibilities are clearly defined.
_______________________
Business Intelligence Ireland

Last edited by alexa007; September 28th, 2011 at 08:20 AM.
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in Chapter 12, AOP code? tok BOOK: Beginning Spring Framework 2 ISBN: 978-0-470-10161-2 0 October 29th, 2009 09:25 AM
AOP does not work indudy BOOK: Beginning Spring Framework 2 ISBN: 978-0-470-10161-2 0 September 20th, 2008 03:43 AM
aop source code missing ccp2p BOOK: Beginning Spring Framework 2 ISBN: 978-0-470-10161-2 0 March 7th, 2008 10:50 AM
What is the difference between AOP and IoC kotaiah Spring 0 September 6th, 2007 01:21 AM
c++ concepts kerby C++ Programming 3 April 16th, 2005 11:39 PM



All times are GMT -4. The time now is 06:34 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.