AspectJ in Action 第2版 中文版 简明的内容

简明的内容

第1部份  理解 AOP 和 ASPECTJ.............................1
1. 发现 AOP 3
2. 介绍 AspectJ 27
3. 理解接合处点型号 51
4. 用动态的横切 修改行为 87
5. 用静态的横切 修改结构 116
6. 方面:把它放在一起 136
7. 深入 the @AspectJ 语法 168
8.  AspectJ 编织模型 199
9. 和 Spring  整合 217

第2部份 ASPECTJ with Spring 的应用程序...................249
10. 监听技术 251
11. 策略施行:保持你的设计原样 288
12. 学习设计模式 319
13. 实现并发性控制 344
14. 管理事务处理 373
15. 安全应用程序 404
16. 改良领域逻辑 431
17. 采取下一个步骤  459 
附录 A: 安装例子 469 
附录 B: 使用 Ant with AspectJ 486

附录 C: 使用 Maven with AspectJ 491

官网  http://www.eclipse.org/aspectj/

安装  java -jar aspectj-1.6.13.jar

编译  ajc -d .  *.java

文档 \aspect1.6\doc\quick5.pdf

HIGHLIGHT AspectJ in Action, Second Edition is a revised and udated edition, now covering AspectJ 6 and Spring 2.5. It guides Java developers through AOP and AspectJ using practical applications. DESCRIPTION AspectJ shows its real power when combined with Spring. This new edition focuses on Spring-AspectJ integration, which is a major feature of Spring 2.5. Readers will find this edition immensely helpful in answering questions like: What are the ways to leverage these technologies? What applications is AOP suitable for? What are the best practices and traps? Which kind of weaving should you use? When to use Spring AOP and AspectJ AOP? Expert author Ramnivas Laddad shows how to combine technologies such as Spring, Hibernate, Swing, and JDBC with AspectJ. The book fully covers the latest AspectJ 6 features. The applications and reusable code presented in this book show how AOP vastly simplifies enterprise development. This book is for developers who have experience in AOP and AspectJ, but also for those who are new to both. KEY POINTS Thorough coverage of AspectJ syntax Spring integration and weaving models Enterprise applications of AspectJ Monitoring and tracing, transaction management, and security MARKET INFORMATION Aspect Oriented Programming has found its way into the mainstream of Java development - most notably through Spring and a variety of JBoss technologies. AspectJ is by far the most widely recognized tool for AOP, and its recent integration into Spring 2.5 creates a strong motivation for the millions of Spring users to take a closer look at AOP and AspectJ.
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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值