In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "what is the difference between Web Application:Exploded and Web Application:Archive in IDEA configuration artifacts". The explanation in this article is simple and clear and easy to learn and understand. Please follow the editor's train of thought to study and learn "what is the difference between Web Application:Exploded and Web Application:Archive in IDEA configuration artifacts".
Concept introduction
First of all, artifacts is a concept in maven, indicating how the project / modules is packaged, such as jar,war,war exploded,ear. A project or module can be deployed to the web application server with artifacts. (note that artifact is based on the premise that module has been configured. If the project is not even a project, how to configure artifacts to define the form of the release project)
What is artifacts?
Artifact is a solution for loading project assets for testing, deployment, or distributed software. For example, centralized compilation of class, archiving of java application packages, web programs as directory structures, or web program archives, etc.
The official website defines An artifact is an assembly of your project assets that you put together to test, deploy or distribute your software solution or its part. Examples are a collection of compiled Java classes or a Java application packaged in a Java archive, a Web application as a directory structure or a Web application archive, etc. Category and definition JarJava ARchive, usually used to aggregate a large number of Java class files, related metadata and resource (text, pictures, etc.) files into one file for distribution of Java platform applications or libraries; warWeb application ARchive, a JAR file that contains JSP, Java Servlet, Java classes, XML files, tag libraries, static web pages (HTML and related files) for distribution, and other resources that make up Web applications Exploded here you can understand the meaning of unfolding, not compressing. That is, the directory structure before war, jar and other products are not compressed. It is recommended to use this mode during development, so that the effect of modifying the file will be immediately apparent. Configure artifacts
File-Project Structure-Artifacts, click the "+" sign:
Among the options are web application exploded, which publishes the project in the form of a War Exploded. Select this, and when you publish the project, the folder is automatically generated in the specified output directory. If you choose web application archive, it is in the form of a war package, which will be repackaged every time, and the project will be repackaged into a war package in the specified location. Thank you for reading, the above is the content of "what is the difference between Web Application:Exploded and Web Application:Archive in IDEA configuration artifacts". After the study of this article, I believe you have a deeper understanding of what is the difference between Web Application:Exploded and Web Application:Archive in IDEA configuration artifacts. Specific use also needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.