The JAR file format offers many advantages and functionality

Source: Internet
Author: User

The JAR file format offers many advantages and functionality, many of which are traditional compression formats such as ZIP or RAR that are not provided. They include:

Security can digitally sign the contents of a JAR file. This way, a signature-aware tool can selectively grant you software security privileges, which cannot be done by other files, and it can also detect if the code has been tampered with.

Reduce download time If an applet is bundled into a JAR file, the browser can download the applet's class file and related resources in an HTTP transaction instead of opening a new connection for each file.

The compact JAR format allows you to compress files to improve storage efficiency.

The transport Platform Extensions Java Extension Framework (Java Extensions Framework) provides a way to add functionality to the Java core platform, which is packaged with JAR files (Java and JavaMail are examples of extensions developed by Sun).

1  Packagecom.table;2 3  Public classonetable {4     /**5 * Results of programming Expressions6      */7          Public Static voidMain (string[] args) {8System.out.println ("& =" + (12&19));9System.out.println ("56 | 32 = "+ (56|32));TenSystem.out.println ("27 ^ 13 =" + (27^13)); OneSystem.out.println ("33 + 55 =" + (33+55)); ASYSTEM.OUT.PRINTLN ("33 * 55 =" + (33*55)); -System.out.println ("33/55 =" + (33/55)); -System.out.println ("33-55 =" + (33-55)); the         } -}

The JAR file format offers many advantages and functionality

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.