O'Reilly logo

Eclipse AspectJ: Aspect-Oriented Programming with AspectJ and the Eclipse AspectJ Development Tools by Matthew Webster, George Harley, Andy Clement, Adrian Colyer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. First Steps in AJDT

If you’ve been following along, then at this stage you should have a working Eclipse environment with AJDT installed. What we need now is an application we can use to do some AspectJ development. This chapter introduces a simple insurance application that we can use for this purpose. We show you how to convert the simple insurance Java project into an AspectJ project, discover all the places in the code to do with informing listeners whenever an insurance policy object is updated, and refactor all those code fragments into an aspect to give a modular implementation.

A Simple Insurance Application

Simple Insurers Inc. are considering going into business as no-frills, bargain-basement insurers. They have been developing ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required