With the JavaBeans Activation Framework, Java developers can take advantage of standard services to determine the type of an arbitrary piece of data, encapsulate access to it, discover the operations available on it, and to instantiate the appropriate JavaBeans component to perform said operation(s). For example, if a browser obtained a JPEG image, this framework would enable the browser to identify that stream of data as an JPEG image, and from that type, the browser could locate and instantiate an object that could manipulate, or view that image.
~extract is from the JAF homepage
As the JAF API is 100% Java to use the facilities it
provides you only have to include the relevent .jar
file in your CLASSPATH
. The JAF is installed
in the java home directory /home/java
, so the
following line should enable the InfoBus API.
export
CLASSPATH=/home/java/extensions/jaf/activation.jar:$CLASSPATH
"/home/java/extensions/jaf/demos/."