I dont know that much abt WAR files...I think this is more usefull for Websphere.
>That is correct. These are instructions for websphere since this is websphere forum....what are you using ?
I have doubt..this is for only websphere. or I saw in sun one server also. whats the main use abt this files..
>war files are used to hold jsp,servlets and other files like javabeans, etc used by your application... Earlier we just used servlets and jsp and used web servers but now since the past two years the concept of application servers has suddenly come out... Application servers are mostly used with
Java and J2EE applications and Webservers are used by ASP etc.. Microsoft doesnt talk about Application Servers...
In a Application server there can be many application and not just one... So you have to create a ear file from a war file.. which is enterprise application archive file... like war is web archive file... EAR files can hold more than one war file... and you can add extra classes in your EAR file etc if you want them to be shared by the WAR files..
It is a little confusing in the beginning especially with websphere.. So you should read some tutorials to really understand this from the java.sun.com website on j2ee.. they have the deatiled description of war and ear files...
at the same time which version is usefull for J2ee. I Think version5.0 is userfriendly.. what abt below 4.0 versions..
>> I dont know which version of what ? Websphere 5.0 is the latest version but we have not bought it yet so I am still using 4.0... 4.0 supports older api and 5.0 the newerones...
I hope I answered your questions.