Class loader in WebSphere Portal
WebSphere Portal Express classloading
follows the WebSphere Application Server hierarchy for classpaths and
search orders. A particular classloader can reference other classes as
long as the other classes can be loaded by the same classloader or any
of its ancestors, but not its children. The graphic illustrates where
WebSphere Portal Express and portlet applications fit into the
classloading hierarchy.
As illustrated, WebSphere Portal Express
is an application extension under WebSphere Application Server.
Consequently, the WebSphere Portal Express core classes are in the
classpath
portal_server_root
/shared/app
.
If an installed portlet application includes a classloader, the portlet
application classloader is an application classloader under WebSphere
Portal Express.
Shared Library
Shared libraries are files used by multiple applications. Shared libraries are files used by multiple applications.
Shared Library Level
You can define a shared library at the cell, node, or server level.
Shared Library Class Loader
·
When shared libraries are associated with an server
A
separate class loader is used. This class loader is the parent of the
application class loader, and the WebSphere Application Server
extensions class loader is its parent
·
When shared libraries are associated with an application
Shared libraries are loaded by the application class loader
Associate Shared Library
·
Using the WAS admin console to associate libraries with application or server
·
By declaring the dependent library .jar file in the MANIFEST.MF file of the application.
To be continued...
Resources:
Shared Libraries
: WAS6 InfoCenter
(Setting up the application serving environment->Administrating application servers-> Managing shared libraries)
Class Loaders
:
WAS6 InfoCenter
(Developing and deploying applications->Class loading)
Classloading in WebSphere Portal
: WebSphere Portal InfoCenter (Developing portlets->Portlet development basics->Creating a simple portlet)
Best Practice for Using Common Application Files
Learning more about the Classloader
分享到:
相关推荐
IBM WebSphere MQ 8.0 linux 安装包 part3,IBM WebSphere MQ 8.0 linux 安装包 part3
本书于2007年3月出版,适用于IBM WebSphere Service Registry and Repository版本6.0.0.1的产品号5724-N72。 #### 二、服务导向架构(SOA)概述 ##### 1.1 业务视角下的服务导向架构 - **服务定义**:在服务导向架构...
IBM WebSphere MQ 8.0windows安装包 part 3
WEBSPHERE开发与管理 part3
IBM WebSphere MQ 8.0 linux 安装包 part1
本书全面阐述了从开发、装配、部署到管理WebSphere电子商务应用程序的各个方面。WebSphere Application Server 管理功能介绍。
IBM WebSphere MQ 8.0windows安装包 part2
例如,我们可以使用 WebSphere Extensions Class loader 来加载 WebSphere 的一些 runtime 类,而使用 Application Module Class Loader 来加载 J2EE 应用程序。 * 使用 OSGi 框架:OSGi 框架提供了一种方式来解决 ...
Chapter 2 - Installing and Starting WebSphere Chapter 3 - Hello World (Wide Web) Chapter 4 - Hello Servlets and JSPs Chapter 5 - Hello EJBs Part II - WebSphere Technologies Chapter 6 - Web ...
### WebSphere Process Server与WebSphere Integration Developer技术概览 #### OnDemand Business与服务导向架构(SOA) 在当今数字化时代,企业面临着前所未有的挑战和机遇。为了更好地应对这些挑战并抓住机遇,...
IBM WebSphere MQ 8.0windows安装包 part 1
通过深入学习"SOA Design Using WebSphere Message Broker and WebSphere ESB",读者可以掌握如何有效地利用这两种工具进行SOA设计,构建灵活、可扩展的企业信息系统。文件中的内容可能涵盖了理论概念、最佳实践以及...
应用服务器类加载器 共享库 类加载器问题诊断 资源及参考资料
The Server-side Java market has exploded and use of messaging as a means of integrating applications and processes is as strong, if not stronger, than ever. This book offers a customer-focused ...
【IBM 软件及方案演示 WebSphere3】 WebSphere是IBM公司推出的一款企业级应用服务器,它在IT行业中扮演着关键角色,特别是在构建、部署和管理企业应用程序方面。WebSphere作为IBM软件栈的重要组成部分,提供了全面...
IBM WebSphere MQ 8.0 linux 安装包 part2
### IBM WebSphere 和 MQ 相关知识点解析 #### 一、概述 IBM WebSphere 和 IBM Message Queue (MQ) 是IBM公司的两项关键技术,在企业级应用开发和集成领域具有重要的地位。本文将详细介绍这两项技术的基本概念、...
- **插件工作负载管理**:讲解如何利用 WebSphere Plug-in 进行工作负载分配。 - **WebSphere 集群中的工作负载管理**:深入分析集群环境下的工作负载均衡策略,确保资源的有效利用。 - **企业 Java 服务工作负载...
本书全面阐述了从开发、装配、部署到管理WebSphere电子商务应用程序的各个方面。WebSphere Application Server 管理功能介绍。