Herong's Tutorial Notes on Web Service and SOAP
Dr. Herong Yang, Version 4.00

Installing JAF 1.0.2

This section describes a tutorial on how to install JAF (JavaBeans Activation Framework) 1.0.2 on a Windows system.

JAF stands for JavaBeans Activation Framework. Here is the official description of JAF 1.0.2:

With the JavaBeans Activation Framework standard extension, developers who use Java technology 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 bean 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.

I need to install JAF 1.0.2 to complete my Axis installation. Here is what I did:

1. Go to http://java.sun.com/products/javabeans/glasgow/jaf.html.

2. Follow the instructions to download jaf-1_0_2-upd2.zip.

3. Unzip jaf-1_0_2-upd2.zip.

4. Copy .\jaf-1.0.2\activation.jar to \axis\webapps\axis\WEB-INF\lib

5. Re-start Tomcat, and go to http://localhost:8080/axis/happyaxis.jsp again. You should get no more error. All needed components are found:

...
Needed Components
   Found SAAJ API ... \tomcat\webapps\axis\WEB-INF\lib\saaj.jar
   Found JAX-RPC API ... \tomcat\webapps\axis\WEB-INF\lib\jaxrpc.jar
   Found Apache-Axis ... \tomcat\webapps\axis\WEB-INF\lib\axis.jar
   Found Jakarta-Commons Discovery ... \tomcat\webapps\axis\WEB-INF
      \lib\commons-discovery-0.2.jar
   Found Jakarta-Commons Logging ... \tomcat\bin
      \commons-logging-api.jar
   Found Log4j ... \tomcat\webapps\axis\WEB-INF\lib\log4j-1.2.8.jar
   Found IBM's WSDL4Java ... \tomcat\webapps\axis\WEB-INF
      \lib\wsdl4j-1.5.1.jar
   Found JAXP implementation ... an unknown location
   Found Activation API ... \tomcat\webapps\axis\WEB-INF
      \lib\activation.jar
...

I think my Axis installation is done now.

Last update: 2007.

Sections in This Chapter

What Is SAAJ (SOAP with Attachments API for Java)?

SOAP Java Implementations: Axis and Apache WebService

Axis Installation Requirements on Windows

Installing Axis 1.2.1 on Windows

Installing JAF 1.0.2

Dr. Herong Yang, updated in 2009
Installing JAF 1.0.2