Home > Back-end >  Ask, if written in the idea of a SSM project, the project structure configuration artifacts inside
Ask, if written in the idea of a SSM project, the project structure configuration artifacts inside

Time:09-18

I don't have a commercial project, write their own programs, used the eclipse, then with the idea that finished is the config, they can run, too understand that artifacts are not now do, can write to me about the idea of a SSM project there specific how to match? And why a configuration webapp and web. The XML files, artifacts is automatically with two contents, one is the name of the project: the war, is a project name: war exploded

CodePudding user response:

Have a graphic of the best

CodePudding user response:

Checked on the net, say again what war play packages to configuration inside what Web Application Archive of what, served, I thought is to write directly in POM & lt; Packaging> War Before, when you use the eclipse when creating the project have the jar and war options, don't understand this, get me dizzy

CodePudding user response:

Artifacts can be understood as the configuration package form,
Project name: the war - & gt; Is packaged in the form of war,
Project name: war exploded - & gt; Unzip version is packaged into war, also is in the form of a folder, the configuration for this when you compile your project in the project directory will appear a target directory, there is a war documents after decompression and war package,

CodePudding user response:

A run in the form of the folder, run is a form of war, can run hot deployment folder form

CodePudding user response:

Oh, see, still have even if the interviewer ask me a jar package and what is the difference between the war? Overall how do you say

CodePudding user response:

War file: is to do a good job in a web application, usually website, bundled with deployment into the container,
Development of a jar package: usually refer to general class, bundled with convenience of storage management,

CodePudding user response:

War is the product of war exploded for development and debugging