jump to navigation

JAR ,WAR ANd EAR October 21, 2007

Posted by essamabdelaziz in JAVA.
trackback


JAR is Java Archive
WAR is an Web Aapplication archive
EAR is an Enterprise Aapplication archive

all 3 formats are zip files.. rename thm to .zip and you will be able to open them.

 in the J2ee world they are used accordingly.:
.jar files usually will java class files and maybe some config files.. acts like a include library.. files referenceable by your app if the file is in the classpath..
.war files usually contains a web application ..i.e a servlet with jsp files, classes and stuff..
.ear files usually includes enterprise stuff, beans etc.


Comments»

1. amusing - December 5, 2007

Stumbled upon your blog a week ago and decided to come back. Not for the articles you write, but for how you write them, really amazing stuff you’re doing here, i like how you put information into the articles which makes it much more easier to read and much more interesting of course. Keep up the good work!