Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
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 6 to 8.
✍: FYIcenter.com
Yes, JAF (JavaBeans Activation Framework) has been included in JDK 6 to 8. 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 JAFApp.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 JAFApp.java file, because there is no viewer class for text files:
fyicenter> java -classpath . JAFApp
⇐ Older Releases of JAF (JavaBeans Activation Framework)
2016-07-09, 3087🔥, 0💬
Popular Posts:
Jaxen, Release 1.1.1, is an open source XPath library written in Java. It is adaptable to many diffe...
What Is jsse.jar (JDK 6) Java Secure Socket Extension? jsse.jar, Java Secure Socket Extension, is Ja...
Apache Log4j SLF4J Binding allows applications coded to the SLF4J API to use Log4j 2 as the implemen...
What is the jaxp\SourceValidator.jav aprovided in the Apache Xerces package? I have Apache Xerces 2....
JDK 17 java.base.jmod is the JMOD file for JDK 17 Base module. JDK 17 Base module compiled class fil...