Notes
4.1 Development in Web - created from Mind Map
Content of the notes (1)
Page 1
4.1.1 Steps to Deploy a Web Application
1. Arrange the resources (servlets, JSPs, static files, and deployment descriptors) in the prescribed directory format.
2. Write the Web Application deployment descriptor (web.xml). In this step you register servlets, define servlet initialization parameters, register JSP tag libraries, define security constraints, and define other Web Application parameters.
3. Create the WebLogic-Specific Deployment Descriptor (weblogic.xml). In this step you define JSP properties, JNDI mappings, security role mappings, and HTTP session parameters. If you do not need to define any of the attributes defined in this file, you do not need to create the file.
4. Archive the files in the above directory structure into a .war file. Only use archiving when the Web Application is ready for deployment in a production environment. (During development you may find it more convenient to update individual components of your Web Application by developing your application in exploded directory format.) To create a .war archive, use this command line from the root directory containing your Web Application: jar cv0f myWebApp.war
5. Deploy the Web Application on Weblogic Server in one of two ways: using the Administration Console or by copying the Web Application into the applications directory of your domain. To deploy a Web Application in archived war format using the Administration Console (you cannot deploy a Web Application in exploded directory format using this procedure)
6. Assign deployment attributes for your Web Application: Open the Administration Console Select the Web Applications node. Select your Web Application. Assign your Web Application to a WebLogic Server, cluster, or Virtual Host. Select the File tab and define the appropriate attributes.
Information
- Description
- Information Technology Note on 4.1 Development in Web - created from Mind Map, created by faiz alias on 25/02/2019.
- Created by
- faiz alias
- Views
- 1
- History
-
- Created by faiz alias · Feb 25, 2019
- Copied to Note by faiz alias · Feb 25, 2019
- Rating