Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the meaning of "Web exploded" mean in IntelliJ IDEA?

I am a new java learner and choose idea as my ide. Now I am confused of the meaning of "Web exploded" as the image shows.

exploded

like image 761
jiangdongzi Avatar asked Jul 23 '17 09:07

jiangdongzi


People also ask

What is exploded deployment?

An exploded deployment is an application which is not packaged in a . war, . ear or . jar file but it's contained in a directory using these extensions (. ear, .

What is the difference between WAR and WAR exploded?

There is no difference really. An exploded archive is a tree of folder and files that respects a given structure which your application server can exploit to deploy the application. For a web application for instance, you create a war directory structure.

How do I use IntelliJ web app?

IntelliJ IDEA needs a run configuration to build the artifact and deploy it to your application server. From the main menu, select Run | Edit Configurations. , expand the Glassfish Server node, and select Local. Fix any warnings that appear at the bottom of the run configuration settings dialog.

How do I add WAR artifacts in IntelliJ?

File | Project Structure and click Artifacts. Click Add + and 'Web Application:war exploded' then it will pop-up your project and select it and hit OK and then go and do Build > Build Artifact.


1 Answers

Exploded = unpacked. Normally web apps are deployed in war/ear archives (essentially zip). Using exploded deployment allows updating application without redeploying or restarting the server. The server doesn't need to unpack the web application when it's deployed, it just uses the files that are present in the directory.

This way you can test your changes much faster when developing and debugging, then you can build war/ear artifact and deploy it on the production server.

like image 75
CrazyCoder Avatar answered Sep 28 '22 06:09

CrazyCoder