Thursday, January 20, 2005

Whither aspectj?

This is cool news: the AspectJ and AspectWerkz projects are merging with annotations coming to the fore. I am very curious to see how this will work with JDK 5's apt tool. Apt (annotation processing tool) lets you process annotations at compile-time and extend the compiler with new syntax (as long as that syntax is annotations). I hope aspectj takes advantage of this clever system and uses annotation processors; a cursory look through the compiled jars doesn't seem to indicate that from the class names. It's a shame aspectj's download page does not provide the source to go with the binary installer.

2 comments:

Anonymous said...

From the AW list, posted by Jonas Bonér:

The AspectJ and AspectWerkz projects have agreed to work together as one team to produce a single aspect-oriented programming platform building on their complementary strengths and expertise. The first release from this collaboration will be AspectJ 5, which extends the AspectJ language to support an annotation-based development style in addition to the familiar AspectJ code-based style. AspectJ 5 will also provide full AOP support for the new Java 5 language features. It will continue to be developed as an open-source project on eclipse.org.

Following the AspectWerkz 2.0 release, the AspectWerkz developers (Jonas Bonér, Alexandre Vasseur) will be joining the AspectJ project to bring the key features of AspectWerkz to the AspectJ platform. This will begin with an extension to the AspectJ language to support an annotation-based style of development, and with tighter integration of load-time weaving for AspectJ in the J2EE environment. A smooth migration path for existing AspectWerkz users is a key priority in the development and release planning.

Brian Oxley said...

Curious. You posted a paragraph which shows up very closely in the press release I linked to! :-) Which still leaves unanswered the question of which route will AspectJ take in using annotations.