TRAP/J 2.2 User Manual

About TRAP/J 2.2


Applications have come a long way in the last few decades. New technologies and development methodologies have yielded more
and more complex applications as well as increased demands in application domains such as critical systems. With these new
technologies come new system requirements-among them adaptability. The key characteristic of making software adaptable is
allowing for new behavior at runtime, whether it is triggered by some administrative user or by detectable changes within
the system. TRAP/J is a software tool that allows users to provide adaptability to existing applications transparently at runtime
using reflection and the aspect-oriented programming paradigm.

TRAP/J 2.2 is an Eclipse plug-in that allows users to achieve this. All a user needs to do is install the plug-in, use the @AdaptReady
Java annotation in a client program to specify which methods need to be adapted, and then use the local composer client to swap these
methods with delegate methods that were developed after an application has been launched. This is whole process is streamlined for ease
of use and efficiency.

IMPORTANT NOTES
The current implementation of TRAP/J as an Eclipse plug-in is still incomplete. It does not yet support incremental building,
so the building of large projects may be slow. Additionally, adaptation of methods in class instances and Web Composer support
(features available in TRAP/J 2.1) were planned but unfortunately didn't make it into this release. These features may be
supported in future versions of the plug-in.

TRAP/J "transparently" makes your application adaptable by altering its bytecode (.class files) rather than its source
code. If that is unacceptable--for instance, if you are already using other tools which modify your .class files--then you
should probably not use TRAP/J.

 

Table of Contents
TRAP/J Home
Installing TRAP/J 2.2 »