• Post Reply Bookmark Topic Watch Topic
  • New Topic

web.xml, EAR, WAR ?

 
Abhishek Mantri
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1.Do we get web.xml file (deployment descriptor) during deploying or do we have to type it entirely?
2.What are EAR and WAR files?When and how they are created?
 
Rob Spoor
Sheriff
Posts: 20820
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Abhishek Mantri:
1.Do we get web.xml file (deployment descriptor) during deploying or do we have to type it entirely?

You have to create it yourself.
Now that does not automatically mean typing it yourself; perhaps your IDE (like Eclipse) can help you out quite a bit. If not (and you can't find a good editor somewhere) than there is no other choice but to start typing.

[QB}2.What are EAR and WAR files?When and how they are created?[/QB]

EAR and WAR stand for Enterprise ARchive and Web ARchive respectively. They are basically just JAR files but with different names. You can create them as such as well - using the JAR tool. Type in "jar --help" in a command window to see its options.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!