Aspect-Oriented Programming with AspectJ (Paperback)

Ivan Kiselev

  • 出版商: SAMS
  • 出版日期: 2002-07-17
  • 定價: $1,230
  • 售價: 2.4$299
  • 語言: 英文
  • 頁數: 288
  • 裝訂: Paperback
  • ISBN: 0672324105
  • ISBN-13: 9780672324109
  • 相關分類: Java 程式語言Object-oriented
  • 立即出貨(限量)

買這商品的人也買了...

商品描述

In a November 2001 Java Pro magazine article, noted Java pundit Daniel Savarese states, "The days of Object-Oriented Programming may be numbered, One day we may all be using Aspect-Oriented Programming ." While this may be hyperbole, the AOP bring certain needed improvements to the OOP. AspectJ is a Java-based tool that allows developers to apply standard Java syntax to AOP principles, much as C++ allowed C programmers to use C syntax in an object-oriented manner. There are AspectJ add-ons available for Borland's JBuilder, Sun's Forte for Java and for the EMACS text editor. Aspect-Oriented Programming with AspectJ introduces AOP and the AspectJ tool. The book also shows how, by using existing Java programming knowledge, the developer can use AOP in meaningful development work.

Table of Contents

Introduction.

I. INTRODUCTION TO PROGRAMMING WITH ASPECTJ.

1. Why Aspect-Oriented Programming?
2. A First Look at AspectJ.

II. STRATEGIES FOR A REAL APPLICATION.


3. Application Description.
4. Implementation Details.
5. Crosscutting by Design.
6. Development Aids.
7. Runtime Improvements.
8. Coping with Change.
9. Transition to Deployment.

III. LANGUAGE DETAILS.


10. Aspects.
11. Picking Join Points: Pointcuts.
12. Advices.
13. Static Crosscutting.

IV. CONCLUSION.


14. Use Patterns.

V. APPENDIXES.


Appendix A. AspectJ API.
Appendix B. AspectJ Command-Line Tools.
Appendix C. Auxiliary Tools.
Appendix D. Quick Language Reference.
Appendix E. AspectJ Project.
Appendix F. References.
Chapter G. Glossary.
Index.

商品描述(中文翻譯)

在2001年11月的《Java Pro》雜誌文章中,著名的Java專家Daniel Savarese表示:“面向對象編程的日子可能已經數不多了,有一天我們可能都會使用面向方面的編程。”儘管這可能有些言過其實,但AOP確實為OOP帶來了某些必要的改進。AspectJ是一個基於Java的工具,允許開發人員將標準的Java語法應用於AOP原則,就像C++允許C程序員以面向對象的方式使用C語法一樣。Borland的JBuilder、Sun的Forte for Java和EMACS文本編輯器都提供了AspectJ的附加組件。《使用AspectJ進行面向方面編程》介紹了AOP和AspectJ工具。該書還展示了如何通過使用現有的Java編程知識,在實際的開發工作中使用AOP。

目錄:
引言
I. 使用AspectJ進行編程介紹
1. 為什麼需要面向方面編程?
2. 首次接觸AspectJ
II. 真實應用的策略
3. 應用描述
4. 實現細節
5. 交叉切面設計
6. 開發輔助工具
7. 運行時改進
8. 應對變化
9. 部署過渡
III. 語言細節
10. 方面
11. 選擇連接點:切入點
12. 建議
13. 靜態交叉切面
IV. 結論
14. 使用模式
V. 附錄
附錄A. AspectJ API
附錄B. AspectJ命令行工具
附錄C. 輔助工具
附錄D. 快速語言參考
附錄E. AspectJ項目
附錄F. 參考資料
附錄G. 术语表
索引