

ear,ear Corresponding to the enterprise level java Bean, The product of the traditional large-scale distributed system architecture.war,war It corresponds to an independent java web project, It won't embed tomcat.Sites can also be packaged as jar, It's usually embedded in tomcat, Also present springboot The most common way of packing. Executable programs usually include program entry methods in a main class, Namely main Method, Previous ones with interfaces java swing The project was finally packaged and released jar All have executable lines, General double click jar The file will run the program.

The class library does not have executable lines, Generally used as a dependency package for other projects, For example, the general tool class can be typed separately jar package.
