Categories:
Audio (13)
Biotech (29)
Bytecode (22)
Database (79)
Framework (7)
Game (7)
General (497)
Graphics (53)
I/O (32)
IDE (2)
JAR Tools (70)
JavaBeans (16)
JDBC (86)
JDK (338)
JSP (20)
Logging (90)
Mail (54)
Messaging (8)
Network (106)
PDF (82)
Report (7)
Scripting (75)
Security (67)
Server (112)
Servlet (17)
SOAP (24)
Testing (55)
Web (24)
XML (287)
Other Resources:
Replace JAF in JDK with activation.jar
Why do I need to replace JAF in JDK with activation.jar? JAF {JavaBeans Activation Framework} has been included in JDK since 1.6.
✍: FYIcenter.com
Yes, JAF (JavaBeans Activation Framework) has been included in JDK since 1.6. But there are several reasons why you may need to use the JAF provided in activation.jar instead the JAF provided in JDK.
1. Your application is still running with JDK 1.5 or older.
2. Your application may need to use an older version of the API, like JAF 1.0.
3. Your application may need to use some Sun implementation class offered in the activation.jar, like com.sun.activation.viewers.TextViewer or com.sun.activation.viewers.ImageViewer.
For example, if you run JAFApp.java with activation.jar, you can view the JFAApp.java file:
\fyicenter>java -version java version "1.7.0_45" \fyicenter>java -classpath .;\local\jaf-1.1.1\activation.jar JAFApp
If you run JAFApp.java with JDK only, without activation.jar, you can not view the JFAApp.java file, because there is no viewer class for text files:
\fyicenter>java -classpath . JAFApp
2016-07-09, 2142👍, 0💬
Popular Posts:
JCIFS is an Open Source client library that implements the CIFS/SMB networking protocol in 100% Java...
JDK 11 jdk.internal.vm.compiler .jmodis the JMOD file for JDK 11 Internal VM Compiler module. JDK 11...
Saxon-HE (home edition) is an open source product available under the Mozilla Public License. It pro...
GJT (Giant Java Tree) implementation of XML Pull Parser. JAR File Size and Download Location: File n...
What Is commons-collections4-4.2 .jar?commons-collections4-4.2 .jaris the JAR file for Apache Common...