Databases Reference
In-Depth Information
Filters : Filters are used to bypass some operaions when the applicaion is iniialized.
Some custom ilters are added to make the applicaion behave in a way the user
wants. <filter-name> and <filter-class> are used to define the filters. The
<filter-mapping> elements are used to map the filter name with the servlet and
the paterns required to ilter the URL are added. The <dispatcher> element will
make sure that the URL is forwarded to a proper low in the applicaion.
Listeners : Listeners are added to an applicaion to listen and execute based on some
acion performed in the applicaion life cycle.
Servlets : These are the controller elements for the web applicaion that will forward
and request the page for the user. The <servlet-name > and <servlet-class>
elements are enclosed in the <servlet> element to deine the servlet informaion.
The <servlet-mapping> element will deine the URL patern that has to be
applied to process the page using the specific servlet class.
weblogic.xml
web.xml is more of a ile that holds coniguraion and deployment informaion related to the
web applicaion. weblogic.xml is a descriptor ile that describes how the web applicaion
files have to be configured and compiled inside the WebLogic server. The Overview tab has
separate tabs deined for each of the secions to be conigured. A common coniguraion
includes Context Root , Authenicaion Filter , Logging , Request Handling , Directory Mapping ,
JSP compilaion , Library deiniions , Security , Servlets , Session , and so on.
The Logging secion will allow you to conigure logging for the web applicaion. The JSP
secion will allow you to precompile the JSP ile. Request Handling in the Container secion
will allow you to redirect with absolute URL and filter dispatched requests.
weblogic-application.xml
weblogic-application.xml is the file that is responsible for the deployment details
of an enterprise applicaion in the WebLogic server. Some of the coniguraions include
Applicaion Parameters , Class Loading preferences , Shared Libraries , Listeners , Security ,
Session coniguraions , and so on.
In the Session secion you would ind opions such as Enable session tracking , Enable
session sharing , and Enable cookies . It also allows configuring the persistent store by
selecing the store type as a memory, ile, JDBC, and so on. The adf.oracle.domain
library will be added by default in the Library secion.
 
Search WWH ::




Custom Search