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

- Previous: Binary Compatibility
- Next: Incompatibilities in the J2EE 1.4 Platform (since the J2EE 1.3 release)

# Source Compatibility

Downward source compatibility is not supported. If source files use new J2EE APIs, they are not usable with an earlier version of the J2EE platform.

In general, the policy is as follows:

- Maintenance releases do not introduce any new APIs, so they maintain source-compatibility with one another. However, since J2EE is based on J2SE, a new Application Server release may include a new version of J2SE. Refer to the document on compatibility issues in J2SE for more information:

  http://java.sun.com/j2se/1.4.2/compatibility.html

- Functionality releases and major releases maintain upwards but not downwards source-compatibility.

Deprecated APIs are methods and classes that are supported only for backward compatibility, and the compiler generates a warning message whenever one of these is used, unless the -nowarn command-line option is used. It is recommended that programs be modified to eliminate the use of deprecated methods and classes, though there are no current plans to remove such methods and classes entirely from the system.

- Previous: Binary Compatibility
- Next: Incompatibilities in the J2EE 1.4 Platform (since the J2EE 1.3 release)

- © 2010, Oracle Corporation and/or its affiliates