Building Spring 2 Enterprise Applications phần 4

Bạn có thể tải phiên bản mới nhất của Spring Framework từ . org. Hãy chắc chắn rằng bạn tải về các kho lưu trữ phân phối kết thúc với với phụ thuộc, trong đó có tất cả các tập tin JAR yêu cầu của Spring Framework | CHAPTER 4 Spring AOP W elcome to the chapter on the future of Spring AOP. In Chapter 3 we described how Spring AOP has been used up to the Spring releases. This chapter covers features added to Spring AOP in the release. That s right new features have been added so everything you learned about AOP so far is still applicable and available. This really is proof that the Spring release remains fully backwardcompatible with Spring . We strongly recommend upgrading your Spring version to the latest release. Full backward-compatibility is assured. If you haven t done so already now is a good time to review the concepts covered in Chapter 3 as they continue to be the foundations of Spring AOP The following are the new features that will be covered in detail in this chapter The @AspectJ-style of writing aspects with Java 5 annotations including the supported advice types The AspectJ pointcut language The Spring AOP XML tags to declare aspects in XML for those cases where Java 5 is not available or existing classes must be used as advice The Spring AOP XML advisor tag to combine classic Spring AOP advice classes and the AspectJ pointcut language Introducing AspectJ and Aspects While classic Spring AOP covered in Chapter 3 works with advice pointcuts and advisors the new Spring AOP works with advice pointcuts advisors and aspects. Not much of a difference you may think but as you ll find out soon things have changed significantly. Literally all the new Spring AOP features are built on top of the integration with the AspectJ AOP framework. The proxy-based interception mechanism remains in place so the skills you ve gained from the previous chapter will remain useful. So what is AspectJ The AspectJ FAQ http aspectj doc released answers this question as follows AspectJ is a simple and practical extension to the Java programming language that adds to Java aspect-oriented programming AOP capabilities. AOP allows developers to .

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.