Get all updates of Java4s
Follow Us: Email Newsletter

Spring Aspect Oriented Programming – Aspect Introduction & Example

Spring » On Jul 19, 2012 { 7 Comments } By Sivateja

Yeah.., will see what is the meaning of this term Aspect in spring AOP.

  • An aspect represent the cross-cutting functionality name, remember just name only.
  • One real time service required for a business logic is called one Aspect.
  • Aspect denotes only the cross-cutting functionality name not its implementation and all.

See here we are adding 3 services to our withdraw() and deposit() methods at run time.  So what is this ?  we have 3 Aspects here which are Authentication Aspect, Logging Aspect, Transaction Aspect/ May be Mailing Aspect in future.

Hope you understood right ? am again saying Aspect means just service name,  its implementation is irrelevant as of now.  That’s about Aspect in spring AOP.



You Might Also Like

  ♦ About Author ♦

Full Stack( Java/J2EE & UI/UX ) Developer and founder of Java4s - Get It Yourself, A popular Java/J2EE Programming Blog. Sign-up for the Email Newsletter for your daily dose of Java tutorials.


7 Responses to “Spring Aspect Oriented Programming – Aspect Introduction & Example”
  1. Simpy Superbbbbbbbbbbbbb!!!!!!

  2. Rajashekar says:

    How to use prepares statement in Spring

  3. puspita says:


  4. venu gopal k says:

    simply superb………………
    ……………thank you very much

  5. Swati says:

    Hi Sir,

    Excellent Tutorial … if possible please cover design patterns …. Thanks

  6. Venkatakumar says:

    Very simple to understand, great tutorial…Thanks

  7. Praveen Varma says:

    This site is very nicely designed. i learn so many things from this site. Keep it up


By posting your answer, you agree to our comments policy.
What would you like to learn today?
Browse these popular technologies
Hibernate spring struts Servlets ajax Log4j jQuery Json Core Java Web Services AngularJs
Most Recent Tutorials
Hibernate_Logo Hibernate Recent Posts Spring_Logo Spring Recent Posts Struts_Logo Struts Recent Posts
Useful Links Current & UpComing Tutorials
  Web Services [ SOAP ], JSP
Contact | About Us | Privacy Policy | Advertise With Us

© 2010 - 2017 Java4s - Get It Yourself.
The content is copyrighted to Sivateja Kandula and may not be reproduced on other websites.