This page contains four AJDT demonstrations:
- A very simple HelloWorld demo.
- An EclipseCon demo: What's New in AJDT.
- A tour of the Visualiser.
- A demo of the Crosscutting Comparison view.
- A demo of Load-time Weaving in AJDT.
- An introductory demonstration showing the use of AspectJ to refactor a crosscutting concern in an existing project.
- A demonstration of using aspect libraries to create customized versions of a common component.
This small demo (about 3MB) gives you a first look at AJDT. Click on the image below to go to the demo. It has been updated to show AJDT 1.4 on Eclipse 3.2.
This demo was used for the "What's New in AJDT" short talk given at EclipseCon 2007. It runs for just under 9 minutes.
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.
This demo (about 2MB) shows how to use the Crosscutting Comparison view from AJDT 1.2.1 and 1.3. This feature is designed to help you detect and keep track of changes to the crosscutting structure of your project. Click on the image below to start the demo.
This demo (about 1MB) shows how do load-time weaving in AJDT 1.2.1 and 1.3. Click on the image below to start the demo.
This demonstration shows the use of AspectJ and AJDT to refactor a crosscutting concern (view notification) in a simple insurance application. The demo is about 18MB in size (split into four parts), and includes an audio commentary.
- 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 warningconstruct 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.
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. The demo is about 21MB in size (split into four parts), and includes an audio commentary.
- 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.