Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Upgrade and Migration Guide

- Previous: Application Server 8.1 Options Incompatible with J2EE 1.4 Specification Requirements
- Next: Chapter 3 Upgrading an Application Server Installation

# Application Server 8.1 Options Contrary to J2EE 1.4 Specification Recommendations

If the delegate attribute in the class-loader element of the sun-web.xml file is set to its default value of true, classes and resources residing in container-wide library JAR files are loaded in preference to classes and resources packaged within the WAR file, contrary to what is recommended in the Servlet 2.3 specification, section 9.7.2. If set to false, the classloader delegation behavior complies with what is recommended in the Servlet 2.3 specification, section 9.7.2.

Do not package portable programs that use the delegate attribute with the value of true with any classes or interfaces that are a part of the J2EE specification. The behavior of a program that includes such classes or interfaces in its WAR file is undefined. For more information about the class-loader element, the Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Developer’s Guide.

- Previous: Application Server 8.1 Options Incompatible with J2EE 1.4 Specification Requirements
- Next: Chapter 3 Upgrading an Application Server Installation

- © 2010, Oracle Corporation and/or its affiliates