201671010109 "Java program contact" 16th Week Impressions

Source: Internet
Author: User

This week learned to deploy applications, mainly Java program Packaging: After the program is compiled, the programmer will compress the. class file into a. jar file, the GUI interface program can directly double-click the icon to run.
When the project does not reference an external jar package, it is exported directly.
Sealing the Java Package (Seal) ensures that no other classes are added to it. If you use the classes, methods, and fields that the package is visible in your code, you may want to seal the package. If not sealed, other classes are likely to be placed in the package, which in turn accesses the features visible to the package.
Application users typically expect to be able to configure the application themselves and be able to save it so that they can be read when the application is run again later.
A property map is a data structure that stores key/value pairs.
Attribute mappings are often used to store configuration information, which has three features:
Both the key and the value are strings;
Key/value pairs can be easily written to or read from a file;
Use a Level two table to store the default values.
The ClassLoader knows how to search for a class file until it is found on the classpath, archive file, or Web server. The same can be done with resource mechanisms for non-class files.

201671010109 "Java program contact" 16th Week Impressions

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.