ajdt
aspectJ development tools subproject

This page contains links to four AJDT demonstrations:

 Demonstration: HelloWorld

This very small demo (about 1MB) gives you a first look at AJDT. Click on the image below to go to the demo.

 Demonstration: The Visualiser

This small demo (just over 1MB) shows you how to use the Visualiser with your AspectJ projects. It shows the latest look and feel from AJDT 1.2.0M1. Click on the image below to go to the demo.

 Demonstration: Developing with AspectJ and AJDT

This demonstration shows the use of AspectJ and AJDT to refactor a crosscutting concern (view notification) in a simple insurance application.

In part 1, we introduce the insurance application and show you how to convert an existing Java project in the Eclipse workspace to an AspectJ project. We also demonstrate how to create a new aspect using the New Aspect Wizard.
In part 2, we show how to use the declare warning construct to find all the places in the Insurance application concerned with view notification.
In part 3, the implementation of view notification is modularized in the aspect, and we show you how to use the AspectJ Development Tools (AJDT) to navigate around the structure of the program.
In part 4, we complete the implementation by ensuring that the test suite still passes, and leave behind a guard so that the modular implementation of view notification we just put in place cannot be accidently comprised by subsequent program maintenance.
 Demonstration: Using an Aspect Library

This demonstration shows the use of AspectJ and AJDT with aspects from an aspect library to add WebSphere common services to an open source component - WSIF.

In part 1, we introduce the Web Services Invocation Framework (WSIF) and the scenario that we are trying to address with AspectJ - the creation of a small "product-line" with WebSphere and non-WebSphere versions of WSIF created from the same source code base.
In part 2, we show the aspect library project and how the WSIF project is configured to use it. Then we add a first-failure data capture handling facility to WSIF and visualize the results.
In part 3, we add a monitoring and statistics gathering capability to WSIF.
In part 4, we add a tracing facility, and show how easy it is to change and evolve an aspect-based tracing policy.