| |||||||||||
| |||||||||||
tar, jar, war, ear, sar files
Have you ever wondered why that are so many file extensions ending in "a r"? It's because the "ar" stands for archive, and it's such a reasonable way of naming file that the original tar which stands for tape archive was picked up by Sun and the Java community and transmuted into other file formats.
tar - tape archive jar - java archive war - web application archive ear - enterprise archive sar - service archive The original tar or tape archive files are / were used for software distribution and backups. The format they use is that the file is written as a series of units: • file name • file length • file data which means that the whole archive file has potentially to be scanned when an element is to be extracted. Furthermore, a tar file in its native form is NOT compressed in any way. This means that a tar file can be both big and inconvenient. Jar or Java Archive files may also be used for software distribution and backups, and although the jat utility that's used to create and (usually) to unpack them is written in Java and most people use them to contain Java - related information, they can actually contain any file and directory structure. There IS a header (an index or MANIFEST) at the top of a jar file saying what's in the file and where it is, so things can be accessed quickly on a random access systems such as a disc drive, and the data is usually stored compressed (turn compression off with the 0 option when you create a jar). This means that a .jar file is an appropriate medium for extracting information on the fly within a live application, even one that's quite heavily used. Other file types that I mentioned at the start, such as war and ear are also jar files, created with the jar utility. In fact, they're a subtype of jar files with the data they contain being in a specific file and directory stucture. In other words, the arrangment of files within a war is such that the file and its contents are suitable for deployment as a webapp under a container such as Apache Tomcat, and the arrangement of files within a ear is such that it's an Enterprise Archive such as you would use under JBoss, etc. (written 2006-06-10 07:05:15) Associated topics are indexed under J708 - Java - PackagesJ951 - Java - Tomcat - Configuring Web Applications A653 - Web Application Deployment - Tomcat - Configuring Web Applications A502 - Web Application Deployment - Java - Basic Tools A162 - Web Application Deployment - Backups and File System Management A802 - Web Application Deployment - The JBoss application server
Some other Articles
Very good for woodliceHorse and Python training Seeing the bricks for the trees Using different URLs to navigate around a single script tar, jar, war, ear, sar files Python 3000 - the next generation Over zealous police activity? Want to be a technical trainer in the UK? Almost everyone loses Cottage industry or production line data handling methods 1638 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33 at 50 posts per pageThis is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price. Link to Ezine home page (for reading). Link to Blogging home page (to add comments). |
| ||||||||||
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho | |||||||||||