【ACCESS精品源码栏目提醒】:文章导读:在新的一年中,各位网友都进入紧张的学习或是工作阶段。
网学会员整理了ACCESS精品源码-tomcat初始化类加载 - 编程语言的相关内容供大家参考,祝大家在新的一年里工作和学习顺利!
Tomcat 解析之初始化类加载器截图全部 Hibernate Spring Struts iBATIS 企业应用 Lucene SOA Java 综合
设计模式 Tomcat OO JBoss 上一页 1 2 下一页浏览 7744 次 锁定老帖子 主题:Tomcat 解析之初始化类加载器截图 该帖已经被评为精华帖作者 正文 发表时间:2010-01-30 最后修改:2010-02-01 lt gt 猎头职位: 上海: 【上海】外资企业高新诚聘
web 开发工 程师 相关文章: Tomcat 5.5.26 源代码分析——启动过程(二) Tomcat 源代码分析之 ClassLoader 《How Tomcat Works》翻译7 之 Tomcat 类加载器续集 gogole _09 等级: 推荐群组: Tapestry 更多相关推荐 Java 综合 性别: 之前有写过关于 tomcat 中常用的一些类结构的文章。
解析 Tomcat 之 HttpServlet截图记录 文章: 213 今天来关注一下,tomcat 的类加载器相关的内容。
积分: 420 PS: 由于前一篇文章内容比较简单, 有朋友冠以我标题党之 来自: 嫌,对于此种说法,本人深感抱歉,可能标题确实有点大,但是 杭州 这些
常用的类,我更多的时候只关注其用法,而忽略了内部实现, 所以也就把这些内容总结了一下,发了出来。
别无标题党之意, 请各位 eyer 海涵。
OK, 现在进入正题. Tomcat 类加载器初始化. 开始之前,我们首先需要了解一下几个基本的知识点; 锁定老帖子 主题:Tomcat 解析之初始化类加载器截图 该帖已经被评为精华帖作者 正文 1.tomcat 中类加载器的结构与关系。
这里,我引用 tomcat 文档的一个简图来说明一下, 有兴趣深 究的朋友,可以去翻看 tomcat 的
文档,理解更多信息. 锁定老帖子 主题:Tomcat 解析之初始化类加载器截图 该帖已经被评为精华帖作者 正文 (tomcat5.5) (由于参考的是 tomcat6.0 的
源代码,这里纠正一下类加载器的 图(如下),以免给别的朋友造成误解,同时也多谢 asialee 给 出的提醒) tomcat6.0 2.每种类加载器分别加载什么资源: 这些内容,可以在 tomcat
文档的 Class Loader HOW-TO 找 到. 这里我要说明的是, 在 tomcat 中,这些内容是记录在哪里 的。
既(程序怎么让 tomcat 知道,需要加载哪些类) 答案是----- 其通过一个配置文件来指定的:catalina.properties 这个文件默认存放在 tomcat 路径下的 bin/bootstrap.jar 中。
锁定老帖子 主题:Tomcat 解析之初始化类加载器截图 该帖已经被评为精华帖作者 正文 如图 打开文件,其内容如下: Java 代码 1. Licensed to the Apache Software Foundation ASF under one or more 2. contributor license agreements. See the NOTICE file distributed with 3. this work for additional information regarding c opyright ownership. 4. The ASF licenses this file to You under the Apac he License Version 2.0 5. the quotLicensequot you may not use this file excep t in compliance with 6. the License. You may obtain a copy of the Licen se at 锁定老帖子 主题:Tomcat 解析之初始化类加载器截图 该帖已经被评为精华帖作者 正文 7. 8. http://www.apache.org/licenses/LICENSE-2.0 9. 10. Unless required by applicable law or agreed to i n writing software 11. distributed under the License is distributed on an quotAS ISquot BASIS 12. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND ei ther express or implied. 13. See the License for the specific language govern ing permissions and 14. limitations under the License. 15. 16. 17. List of comma-separated packages that start with or equal this string 18. will cause a security exception to be thrown whe n 19. passed to checkPackageAccess unless the 20. corresponding RuntimePer
mission quotaccessClassInP ackage.quotpackage has 21. been granted. 22.package.accesssun.org.apache.catalina.org.apach e.coyote.org.apache.tomcat.org.apache.jasper.su n.beans. 23. 24. List of comma-separated packages that start with or equal this string 25. will cause a security exception to be thrown whe n 26. passed to checkPackageDefinition unless the 27. corresponding RuntimePermission quotdefineClassInP ackage.quotpackage has 28. been granted. 29. 30. by default no packages are restricted for defin ition and none of 31. the class loaders supplied with the JDK call che ckPackageDefinition. 32. 锁定老帖子 主题:Tomcat 解析之初始化类加载器截图 该帖已经被