Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between a packaged archive and an exploded archive

I can't seem to find on the internet the difference between a packaged archive and an exploded archive.

Does someone please name some references?

like image 340
Oh Chin Boon Avatar asked Aug 08 '11 09:08

Oh Chin Boon


2 Answers

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. The application server expects a WEB-INF directory containing the web.xml files which acts a a deployment descriptor.

A packaged archive is a zip file containing the above mentioned structure. The extension of a packaged archive can vary (war, jar, car, ear) but they are all zip files that contains a given structure.

like image 128
fred Avatar answered Oct 10 '22 23:10

fred


I don't have a reference but at exploded archives you can use hot deploy. Because you can change class files per file basis if it is exploded . If itts packed then you need to change the whole zip file to change classes.

like image 8
user865871 Avatar answered Oct 10 '22 23:10

user865871