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 ...

Get Eclipse AspectJ: Aspect-Oriented Programming with AspectJ and the Eclipse AspectJ Development Tools now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.