- Kiran Kumar Ravula Web applications are configured using the web.xml and weblogic.xml deployment descriptors, which:
Define the run-time environment
Map URLs to servlets and JSPs
Define application defaults such as welcome and error pages
Specify J2EE security constraints
Define work managers for applications
Set the context root for the application
- Kiran Kumar Ravula What information will be available in “web.xml” file?
The web.xml file is a deployment descriptor that is used to configure the following:
Servlets and JSP registration
Servlet initialization parameters
JSP tag libraries
MIME type mappings
Welcome file list
Security constraints and roles
- Kiran Kumar Ravula What information will be available in “weblogic.xml” file?
Using weblogic.xml, you can configure the following:
The application’s root context path
Security role mappings
Advanced session settings
References to shared libraries
References to server resources (data sources, EJBs, and so on)
Work managers and threading
JSP compiler options
- Vivek Ranjan In simple word...
Application.xml:- it specifies war files and other application level context . An application is nothing but a bunch of war file.
Web.xml:- the web.xml hold lot more detail information for the war file . It includes the web app name , servlet mapping,Security roles etc.
Weblogic.xml:- weblogic specified deployment descriptor file named weblogic.xml ,which define how named resourses in the web.xml file are mapped to weblogic server resourse .