lkpprinting.blogg.se

Intellij jar module
Intellij jar module











intellij jar module

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.

intellij jar module

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.

  • jar, Generally, the class library can be 、 Executable program 、 The site is packaged as jar.
  • java Project packaging can be divided into jar、war、ear
  • Multiple modules Maven Key points of project packagingĪfter the completion of the project development, it is the packaging and deployment phase.
  • Single module Maven Project creation and packaging.
  • stay IntelliJ IDEA Middle configuration Maven.
  • be based on Maven Of SpringBoot Project packaging process.
  • Basics java Project printing jar Package process.
  • IntelliJ IDEA Based on Maven Multi module SpringBoot Project packaging easy tutorial













    Intellij jar module