About Sample / Test Applications and Code

Sample Applications and Code

The source code provided with samples and demos for the JDK is meant to illustrate the usage of a given feature or technique and has been deliberately simplified.

Additional steps required for a production-quality application, such as security checks, input validation, and proper error handling, might not be present in the sample code.

Usage of sample code in production environments is strongly discouraged.

Applications Used For Testing

Applications such as the lightweight HTTP server are shipped with the JDK to help developers deploy and test their code easily. They have not been developed in accordance with software development standards for production-quality applications.

Usage of such test and/or support applications in production environments is strongly discouraged.

Copyright © 1993, 2024, Oracle and/or its affiliates. All rights reserved.