<<< Previous speaker Next speaker >>>

Jonas Bonér, BEA

Jonas  Bonér Jonas Bonér is a Senior Software Engineer at the Java Runtime Products Group, BEA Systems. He is the founder of the AspectWerkz AOP framework and an active contributor to the Java Open Source community. Jonas is a frequent speaker on Aspect-Oriented Software Development (AOSD, JavaOne, eWorld, JavaPolis etc.)

Presentation: "Annotation-driven AOP in Java"

Track:   Java 2 Platform, Standard Edition

Time: Monday 15:45 - 16:30

Location: Conference Hall 2

Abstract:

This session provides an introduction to the concepts of Aspect-Oriented Programming (AOP) and aims at explaining how Java 5 Annotations (JSR-175) and AOP can be used together. The session goes through several code samples based on AspectWerkz, a pure Java/XML AOP Open Source framework.

The first part aims at providing a base knowledge on AOP concepts in general, and how those concepts are mapped to concrete Java code, where regular classes enhanced with Java 5 Annotations are turned into aspects. Details are given about the concept of pre-defined Annotations, provided by the framework to define new constructs - just as it is the case for web services (JSR-181).

Annotations can also be user-defined and applied to applications to implement specific behavior, based on runtime access to Annotations. AspectWerkz AOP framework supports matching on those application specific Annotations, providing a strong matching mechanism based on types.

Annotations and AOP are not contenders but complement each other and can when used together be a very powerful tool, that we believe will play a major role in the coming Java development and standards.

The talk concludes with explaining how these concepts can be used today, and how the same functionalities can be used using Java 1.3/1.4 doclet based annotations.

Password protected Download slides

Presentation: "Panel Java 2 Platform, Standard Edition"

Track:   Java 2 Platform, Standard Edition

Time: Monday 16:45 - 17:30

Location: Conference Hall 2