Use a element in a web.xml deployment descriptor
Example 1.2, “web.xml descriptor fragment� shows the use of in a web.xml file. Note This fragment is an example only. In deployments, the elements in this section must contain role names and links relevant to the EJB deployment. Example 1.2. web.xml descriptor fragment AServlet ... TheServletRole TheApplicationRole ...