
- 568 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
About this book
To allow the creation of truly modular software, OOP has evolved into aspect-oriented programming. AspectJ is a mature AOP implementation for Java, now integrated with Spring. AspectJ in Action, Second Edition is a fully updated, major revision of Ramnivas Laddad's best-selling first edition. It's a hands-on guide for Java developers. After introducing the core principles of AOP, it shows you how to create reusable solutions using AspectJ 6 and Spring 3. You'll master key features including annotation-based syntax, load-time weaver, annotation-based crosscutting, and Spring-AspectJ integration. Building on familiar technologies such as JDBC, Hibernate, JPA, Spring Security, Spring MVC, and Swing, you'll apply AOP to common problems encountered in enterprise applications.This book requires no previous experience in AOP and AspectJ, but it assumes you're familiar with OOP, Java, and the basics of Spring."Clear, concisely worded, well-organized... a pleasure to read."
-From the Foreword by Rod Johnson, Creator of the Spring Framework"This book teaches you how to think in aspects. It is essential reading for both beginners who know nothing about AOP and experts who think they know it all."
- Andrew Eisenberg, AspectJ Development Tools Project Committer"Ramnivas showcases how to get the best out of AspectJ and Spring."
-Andy Clement, AspectJ Project Lead"One of the best Java books in years."
-Andrew Rhine, Software Engineer, eSecLending"By far the best reference for Spring AOP and AspectJ."
-Paul Benedict, Software Engineer, Argus Health Systems"Ramnivas expertly demystifies the awesome power of aspect-oriented programming."
-Craig Walls, author of Spring in Action
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
Table of contents
- Copyright
- Dedication
- Brief Table of Contents
- Table of Contents
- Praise for the First Edition
- More Praise for the First Edition
- Foreword
- Preface
- Preface to the First Edition
- Acknowledgments
- About this Book
- About the Title
- About the Cover Illustration
- A Real-World Perspective of AOP
- Part 1. Understanding AOP and AspectJ
- Chapter 1. Discovering AOP
- Chapter 2. Introducing AspectJ
- Chapter 3. Understanding the join point model
- Chapter 4. Modifying behavior with dynamic crosscutting
- Chapter 5. Modifying structure with static crosscutting
- Chapter 6. Aspects: putting it all together
- Chapter 7. Diving into the @AspectJ syntax
- Chapter 8. AspectJ weaving models
- Chapter 9. Integration with Spring
- Part 2. Applications of AspectJ with Spring
- Chapter 10. Monitoring techniques
- Chapter 11. Policy enforcement: keeping your design intact
- Chapter 12. Learning design patterns
- Chapter 13. Implementing concurrency control
- Chapter 14. Managing transactions
- Chapter 15. Securing applications
- Chapter 16. Improving domain logic
- Chapter 17. Taking the next step
- Appendix A. Setting up the example
- Appendix B. Using Ant with AspectJ
- Appendix C. Using Maven with AspectJ
- Index
- List of Figures
- List of Tables
- List of Listings