CS6320:  SW Engineering of Web Based Systems

 

Container Specific XML descriptor files

 

  • Most containers have their own XML descriptor files that are necessary to deploy a Web App

 

  • Since Java EE 6 and Servlet 3.0 you are not required to have a web.xml file but, can instead use annotations to
    signify information you would have found in the web.xml deployment description

Resources

  • You must read your Java EE Server Containers Documentation

 

CASE/EXAMPLE: GlassFish (sun-web.xml file) ------ using Eclipse with GlashFish Pluggin

 

NOTE: The sun-web.xml file in the directory

sun-web.xml file

     

© Lynne Grewe