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
WebSphere Service Registry and Repository Handbook(文字版)
IBM WebSphere MQ 8.0windows安装包 part 3
WEBSPHERE开发与管理 part3
SOA Design Using WebSphere Message Broker and WebSphere ESB
本书全面阐述了从开发、装配、部署到管理WebSphere电子商务应用程序的各个方面。WebSphere Application Server 管理功能介绍。
IBM WebSphere MQ 8.0windows安装包 part2
IBM WebSphere MQ 8.0 linux 安装包 part1
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 ...
IBM WebSphere MQ 8.0windows安装包 part 1
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 WebSphere MQ 8.0 linux 安装包 part2
对IBM websphere and MQ进行初步的功能和使用介绍
关于IBM WPS应用的开发。
webSphere指南webSphere指南webSphere指南webSphere指南webSphere指南
本书全面阐述了从开发、装配、部署到管理WebSphere电子商务应用程序的各个方面。WebSphere Application Server 管理功能介绍。
\websphere部署EJB3.docx \websphere部署EJB3.docx \websphere部署EJB3.docx 使用的是 office2007
sg246392-WebSphere Application Server V6 Scalability and Performance Handbook.pdf