Skip to main content

Jakarta Activation

Jakarta Activation lets you 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 instantiate the appropriate bean to perform the operation(s).

Jakarta Activation is used by Jakarta Mail and Jakarta XML Web Services for data content handling.

Table of Contents

Latest News

July 25, 2019 - Jakarta Activation is the new name for JAF

The JavaBeans Activation Framework has been renamed to Jakarta Activation in preparationfor inclusion in a future version of Jakarta EE.

November 26, 2018 - JavaBeans Activation Framework 1.2.1 Final Release

The 1.2.1 release is the first release of the Eclipse project for JAF and includes no bug fixes or enhancements. It does include changes to the Maven coordinates. The main jar file is now located at com.sun.activation:jakarta.activation.

This standalone release of JAF uses a Java Platform Module System “automatic” module name of jakarta.activation, which is different than the module name used in JDK 9 and 10. A future version will include full module metadata.

September 14, 2018 - JavaBeans Activation Framework project moves to the Eclipse Foundation!

The JavaBeans Activation Framework project is now hosted at the Eclipse Foundation as part of the EE4J project.

By contributing to this project, you agree to these additional terms of use, described in CONTRIBUTING.

API Documentation

The JavaBeans Activation Framework 1.2 and earlier API is defined through the Java Community Process as JSR 925.

The JavaBeans Activation Framework API documentation is available here.

The following documents summarize the API changes in each release of the JavaBeans Activation Framework API specification:

Help

You can post questions to the jaf-dev mailing list.

Bugs

Jakarta Activation bugs are tracked in the GitHub Jakarta Activation project issue tracker.

Development Releases

From time to time snapshot releases of the next version of JAF under development are published to the Jakarta Sonatype OSS repository. These snapshot releases have received only minimal testing, but may provide previews of bug fixes or new features under development.

For example, you can download the jakarta.activation.jar file from the Jakarta Activation 1.2.2-SNAPSHOT release here. Be sure to scroll to the bottom and choose the jar file with the most recent time stamp.

You’ll need to add the following configuration to your Maven ~/.m2/settings.xml to be able to use these with Maven:

    <profiles>
        <!-- to allow loading Jakarta snapshot artifacts -->
        <profile>
            <id>jakarta-snapshots</id>
            <pluginRepositories>
                <pluginRepository>
                    <id>jakarta-snapshots</id>
                    <name>Jakarta Snapshots</name>
                    <snapshots>
                        <enabled>true</enabled>
                        <updatePolicy>always</updatePolicy>
                        <checksumPolicy>fail</checksumPolicy>
                    </snapshots>
                    <url>https://jakarta.oss.sonatype.org/content/repositories/snapshots/</url>
                    <layout>default</layout>
                </pluginRepository>
            </pluginRepositories>
        </profile>
    </profiles>

And then when you build use mvn -Pjakarta-snapshots ....

If you want the plugin repository to be enabled all the time so you don’t need the -P, add:

    <activeProfiles>
        <activeProfile>jakarta-snapshots</activeProfile>
    </activeProfiles>

Back to the top