• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

web.xml and application.xml

Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the difference between web.xml and application.xml file. What is the purpose of these files.
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
application.xml specifies war files and other application level contexts. An application is nothing but a bunch of war files. For example an enterprise application project would specify the ejb war and the web project war file.
the web.xml holds a lot more detailed information for the war file. It includes the web app name, servlet mapping, security roles, application context values, and lots of other information.
I hope this helps...
Posts: 3892
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually a "WAR file" stands for a "Web Archive" file and is specialized form of JAR file that contains a web.xml file. Likewise an EJB JAR file is a specialized form of EJB file that contains an EJB-JAR.xml file. There are also RAR files that contain JCA connectors as well. Finally, Application Client JAR files contain an "application-client.xml" file. All of these different component file types may be put together into an EAR file.
Without deviation from the norm, progress is not possible - Zappa. Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic