- 浏览: 421790 次
- 性别:
- 来自: 北京
文章分类
- 全部博客 (318)
- js (20)
- JQuery (2)
- Java (46)
- Oracle (4)
- mysql (21)
- ExtJs (17)
- Excel (2)
- Linux (8)
- Sql (8)
- Jsp (2)
- hibernate (12)
- jbpm (17)
- eclipse (8)
- 名博收藏 (1)
- Junit (2)
- 应用集成 (3)
- web (10)
- jboss (3)
- Rest (3)
- 其它 (7)
- 磁盘分区管理 (1)
- spring (18)
- SSO (4)
- tomcat (4)
- CSS (7)
- MemCached (6)
- EhCache (4)
- weblogic (1)
- apache (6)
- Exception design (1)
- db (1)
- 分析模式 (1)
- jstl (1)
- jsf (0)
- firefox (2)
- MongoDB (4)
- androidpn (1)
- hadoop (1)
- cvs (1)
- 微信公众号 (2)
- 高并发 (4)
- 技术论坛 (1)
- CDN (1)
- JVM (16)
- 加密 (4)
- maven (2)
- jenkins (1)
- hessian (1)
- 大数据处理 (2)
- NIO (0)
- netty (1)
- redis (1)
- git (1)
- Elastic Job (0)
最新评论
-
zgw06629:
或者<pre>aaaabbbbcccc</p ...
javaDoc注释换行 -
ddnzero:
...
StringBuffer换行 -
maosijun:
。。。。
EXT CExt.form.ComboBox选择一次后只剩一个选项 -
ysa198584:
你这有问题,当我的代码出现User.class的时候,反编绎的 ...
java的class文件批量反编译 -
dongj0325:
看到您的博客,很受启发,但还有关于jbpm4.4 timer使 ...
JBPM定时器(Timer)之Repeat属性不能使用变量
Introduction
From time to time it is necessary to update the Java platform in order to incorporate newer versions of standards that are created outside of the Java Community Process (Endorsed Standards), or in order to update the version of a technology included in the platform to correspond to a later standalone version of that technology (Standalone Technologies).
The Endorsed Standards Override Mechanism provides a means whereby later versions of classes and interfaces that implement Endorsed Standards or Standalone Technologies may be incorporated into the Java Platform.
Deploying updated packages
Packages to be updated through this mechanism should be placed in JAR files. The system property java.endorsed.dirs specifies one or more directories that the Java runtime environment will search for such JAR files. If more than one directory path is specified by java.endorsed.dirs, they must be separated by File.pathSeparatorChar. If no value is set for java.endorsed.dirs, then Sun Microsystem's implementation of the Java platform looks for JAR files in a default standard location:<java-home>\lib\endorsed [Microsoft Windows] <java-home>/lib/endorsed [Solaris or Linux]Here <java-home> refers to the directory where the runtime software is installed (which is the top-level directory of the Java SE Runtime Environment or the jre directory in the JDK).
The Java SE runtime environment will use classes in such JAR files to override the corresponding classes provided in the Java platform as it was shipped.
Endorsed Standards APIs
The Endorsed Standards for Java SE constitute all classes and interfaces that are defined in the packages listed in this section. Classes and interfaces defined in sub-packages of listed packages are not Endorsed Standards unless those sub-packages are themselves listed. The Endorsed Standards Override Mechanism may be used to override the Java SE platform packages in this list, and these packages may be overridden only by versions of the Endorsed Standard that are newer than that provided by the Java platform as released by Sun. With the exception of packages listed here and the technologies listed in the Standalone Technologies section below, no other packages from the Java SE platform API specification may be overridden.javax.rmi.CORBA org.omg.CORBA org.omg.CORBA.DynAnyPackage org.omg.CORBA.ORBPackage org.omg.CORBA.portable org.omg.CORBA.TypeCodePackage org.omg.CORBA_2_3 org.omg.CORBA_2_3.portable org.omg.CosNaming org.omg.CosNaming.NamingContextExtPackage org.omg.CosNaming.NamingContextPackage org.omg.Dynamic org.omg.DynamicAny org.omg.DynamicAny.DynAnyFactoryPackage org.omg.DynamicAny.DynAnyPackage org.omg.IOP org.omg.IOP.CodecFactoryPackage org.omg.IOP.CodecPackage org.omg.Messaging org.omg.PortableInterceptorIn addition to the packages listed above, which are part of the Java SE specification, users of Sun's Java SE Reference Implementation are allowed to use the Endorsed Standards Override Mechanism to override implementation-specific classes associated with these packages, such as the org.w3c.dom sub-packages delivered in Sun's Reference Implementation.
Standalone Technologies
The Standalone Technologies for Java SE constitute all classes and interfaces that are defined and implemented in the technologies listed in this section. The Endorsed Standards Override Mechanism may be used to override the Java technologies in this list, and these technologies may be overridden only by providing a complete and newer implementation of the Standalone Technology than was provided in the original implementation of the Java Platform. With the exception of the technologies in this list and the packages listed in the Endorsed Standards APIs section above, no other packages from the Java SE platform API specification may be overridden.
Java API for XML Processing (JAXP), version 1.4
Java Architecture for XML Binding (JAXB), version 2.0
Java API for XML-Based Web Services (JAX-WS), version 2.0
Java Compiler API, version 1.0
Pluggable Annotation Processing API, version 1.0
Common Annotations for the Java Platform, version 1.0
Scripting for the Java Platform, version 1.0
SOAP with Attachments API for Java (SAAJ), version 1.3
参考:
http://java.sun.com/javase/6/docs/technotes/guides/standards/index.html
发表评论
-
serialVersionUID的作用
2016-02-29 11:59 451serialVersionUID的作用 简单来说,J ... -
ArrayList实现原理
2015-08-20 09:32 3901. ArrayList概述: A ... -
HashMap实现原理分析
2015-08-20 09:12 539HashMap 目录(?)[+] 1. H ... -
高性能IO模型浅析
2015-08-05 16:42 341高性能IO模型浅析 2014- ... -
JVM调优总结 -Xms -Xmx -Xmn -Xss
2012-07-27 17:31 782http://unixboy.iteye.com/blog/1 ... -
消息总线设计系列之 - 调停者模式
2012-05-28 16:52 1224http://kb.cnblogs.com/a/1200926 ... -
关于Java构造器
2012-04-25 17:27 796关于Java构造器 作者:langm 版权声明:任何获得M ... -
面向对象的三个基本特征
2012-04-25 15:37 637转自: http://www.cnitblog.com/Li ... -
java 继承类 变量、静态变量、构造函数执行顺序
2012-04-18 16:01 883java 继承类 变量、静态变量、构造函数执行顺序 clas ... -
通过分析 JDK 源代码研究 TreeMap 红黑树算法实现
2012-04-03 11:06 779http://www.ibm.com/developerwor ... -
hashtable源码解析
2012-04-01 22:45 706http://wenku.baidu.com/view/f42 ... -
java泛型
2012-03-27 11:27 692http://baike.baidu.com/view/143 ... -
Java中的Enum的使用与分析
2012-03-27 09:38 694Java中的Enum的使用与分析 示例: ... -
使用common-fileUpload制作文件上传(DiskFileItemFactory方式)
2012-02-23 09:50 1146使用common-fileUpload制作文件上传(DiskF ... -
java中静态代码块的用法 static用法详解(摘抄,用断点调试效果很好)
2011-07-23 11:28 1516原文:http://zhangyongbluesky.blog ... -
Java类的static块什么时候执行
2011-07-23 11:18 909http://joes0619.blog.163.com/bl ... -
JAXP(Java API XML Parser)
2011-07-16 14:20 621http://www.cnblogs.com/kelin131 ... -
static块到底什么时候执行?
2011-07-16 10:23 638http://www.iteye.com/topic/1100 ... -
Java 类的热替换 —— 概念、设计与实现
2011-05-19 10:05 714构建基于 Java 的在线升级系统 孙 鸣, 软件 ... -
关于ClassLoader的几个概念
2011-05-17 17:13 1018What is ClassLoader? 与普通 ...
相关推荐
4. **配置`catalina.properties`**:在Tomcat的`conf`目录下,有一个名为`catalina.properties`的文件,这里可以设置`java.endorsed.dirs`属性来加载Java Endorsed Standards Override Mechanism,以及`common....
**Endorsed Standards Override Mechanism** 在Java中,"endorsed"目录用于覆盖标准库中的特定版本,以便使用不同或者更新的实现。`endorsed`目录里的jar文件会在Java启动时优先加载,因此,当系统需要使用特定版本...
Endorsed Standards Override Mechanism Extension Mechanism Internationalization JavaBeansTM Component API Java Management Extensions (JMX) Java Native Interface (JNI) Security XML ...
标题中的"endorsed 解决soa连接错误"指的是在Java环境中,通过使用endorsed目录机制来解决SOA(Service-Oriented Architecture,面向服务架构)连接时遇到的问题。SOA是一种设计原则,允许应用程序组件之间通过网络...
在使用webservice,mule esb等需要jaxb的项目里经常会出现 JAXB 2.0 API is being loaded from the bootstrap classloader这个错误,按照打出的信息Use the endorsed directory mechanism to place jaxb-api.jar in ...
主要给大家介绍了关于Java利用endorsed如何覆盖jdk提供的类的相关资料,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧。
java运行依赖jar包
`endorsed` 目录通常用来存放与Java标准库冲突但需要使用的第三方库,因为它们需要被Java虚拟机识别为“已认可”的扩展。 `src` 目录包含了项目的源代码,可能有Java类和其他资源文件,如XML配置或模板。 `lib` ...
Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/) 解决方法:找一个jaxb-api.jar的包(比如从netbeans...
-Djava.endorsed.dirs="C:\ApacheGroup\Tomcat 5.0\common\endorsed" -Xrs ``` - 新增 `-Xms300m -Xmx350m` 到上述命令中: ```bat -Dcatalina.home="C:\ApacheGroup\Tomcat 5.0" -Djava.endorsed.dirs="C:\...
4. 使用带有-Djava.endorsed.dirs参数的java命令启动你的应用程序,这样DCEVM就会被自动加载。 一旦安装并配置好DCEVM,你就可以在IDE(如Eclipse或IntelliJ IDEA)中启用HotSwap功能。当修改了源代码并保存后,IDE...
需要确保endorsed目录设置正确,通常在`JAVA_HOME/jre/lib/endorsed`或`JAVA_HOME/lib/endorsed`下,并且包含了所有必要的JAX-WS相关jar文件。 3. **Maven或Gradle构建问题**:如果你使用的是Maven或Gradle这样的...
建议升级JDK至1.7,并且在JDK文件夹下的jre/lib/endorsed路径中添加apache-cxf中jaxb对应的jar包。 b. 其次,在生成Java文件并导入项目后,可能遇到构造函数报错的问题。这个问题通常是由于jax-ws2.2规范与Java 6的...
Java 提供了 endorsed 技术来覆盖 JDK 中的类,但这不适用于 `java.lang` 包中的类。 2. **Java 代码查错** - **错误示例1**:抽象方法 `isStupidName` 缺少分号且包含花括号,抽象方法定义应为 `public abstract ...
5. **endorsed.txt**: 这个文件可能是在Java运行环境中设置endorsed目录的指示。在Java中,endorsed目录用于覆盖JDK自带的标准库。当新的XML解析器或XSLT处理器比JDK自带的更先进时,可以通过在endorsed目录下放置...
这个"endorsed"文件夹可能包含了额外的库,如Java JSON处理库,这些库可以通过设置`java.endorsed.dirs`系统属性来优先加载,避免与JRE自带的库冲突。 2. 配置MySQL数据库并导入相关的数据库文件。这将创建所需的表...
Apache Tomcat 8.0.45 是一个广泛使用的开源软件,它是一个实现了Java Servlet、JavaServer Pages(JSP)和Java EE的Web应用程序容器。这个版本是Tomcat的8.0系列的一个稳定版本,提供了对Java EE 7规范的支持。在本...