ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzamy_5.4.0.1/50/program/clsinapp.htm

28 lines
1.3 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<LINK rel="stylesheet" type="text/css" href="../../../rzahg/ic.css">
<title>Classloaders in applications</title>
</head>
<BODY>
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h4><A NAME="clsinapp"></A>Classloaders in applications</h4>
<p>The classloaders used to load your application classes are affected by these application-level settings:</p>
<ul>
<li><p>When assembling an enterprise application resource (EAR) file, use the <strong>Classpath</strong> field for classes used by the application modules that are packaged in the EAR but not in the WAR files which reference them. Items in the <strong>Classpath</strong> field are considered dependencies and are loaded by the application classloader.</p></li>
<li><p>After installing an enterprise application (EAR), set the <strong>Classloader Mode</strong> and <strong>WAR classloader</strong> policy using the WebSphere administrative console.</p></li>
<li><p>After installing an enterprise application (EAR) that has web modules, set the <strong>Classloader Mode</strong> using the WebSphere administrative console.</p></li>
</ul>
</body>
</html>