Converting and Porting Your Existing Applications into Web Applications

When you convert your weblogic.properties file, the appropriate web.xml and weblogic.xml files are created for you under the directory domain\applications\DefaultWebApp_myserver\WEB-INF. Follow the preceding directory structure and place the XML files in the domain\applications\webAppName\WEB-INF directory that you create. For information on deploying web applications, see Developing WebLogic Server Applications.

XML Deployment Descriptors

The Web Application Deployment Descriptor (web.xml) file is a standard J2EE descriptor used to register your servlets, define servlet initialization parameters, register JSP tag libraries, define security constraints, and define other Web Application parameters. For detailed instructions on creating the deployment descriptor, see Writing the web.xml Deployment Descriptor in Assembling and Configuring Web Applications.

There is also a WebLogic-specific Deployment Descriptor (weblogic.xml). In this file you define JSP properties, JNDI mappings, security role mappings, and HTTP session parameters. The WebLogic-specific deployment descriptor also defines how named resources in the web.xml file are mapped to resources residing elsewhere in WebLogic Server. For detailed instructions on creating the WebLogic-specific deployment descriptor, see Writing the WebLogic-Specific Deployment Descriptor. This file may not be required if you do not need the preceding properties, mappings, or parameters.

Use the web.xml and weblogic.xml files, in conjunction with the Administration console, to configure your applications. The XML files can be viewed through any text editor. To edit them, simply make your changes and save the file as web.xml or weblogic.xml with the appropriate path as specified by the prescribed directory structure under “Web Applications Directory Structure” on page 2-10. See Assembling and Configuring Web Applications for more information. If you do not want to deploy your applications together as a single Web Application, you need to split up the XML files that have been created for you, creating the appropriate XML files specific to each Web Application. Each Web Application needs a weblogic.xml file and a web.xml file as well as whichever files you choose to put in it.

BEA WebLogic Server 7.0 Upgrade Guide

2-11

Page 59
Image 59
BEA 7 manual XML Deployment Descriptors

7 specifications

BEA 7, a significant product from BEA Systems, represents a cornerstone in enterprise application integration and service-oriented architecture. As a comprehensive solution for developing, deploying, and maintaining enterprise-level applications, it brings a host of features that cater to the needs of businesses seeking agility and reliability in their IT infrastructure.

One of the standout characteristics of BEA 7 is its robust support for service-oriented architecture (SOA). This enables businesses to create applications as loosely coupled services, facilitating easier integration and scalability. The platform's emphasis on middleware technologies allows organizations to streamline their IT operations, enhance interoperability, and reduce time to market for new applications.

BEA 7 includes a powerful application server that provides a reliable runtime environment for managing applications. Offering high availability and scalability, it can successfully handle the demands of high-volume transactions while ensuring optimal performance. The built-in clustering capability ensures that applications can remain operational even in the event of server failures, which is critical for mission-critical applications.

Another notable feature of BEA 7 is its capabilities for web services. With support for industry standards such as XML, SOAP, and WSDL, users can easily expose and consume services across diverse platforms. This allows businesses to take full advantage of an interconnected ecosystem and simplifies the process of integrating various applications and data sources.

Security is a paramount consideration in BEA 7, which includes strong authentication, authorization, and encryption mechanisms to protect sensitive data. The platform's comprehensive security features ensure compliance with regulatory requirements and protect against potential threats, which is particularly important for sectors handling sensitive information, such as finance and healthcare.

BEA 7 also embraces innovative technologies such as the Java EE platform, facilitating the development of cross-platform applications. The integrated development environment (IDE) offers numerous tools for developers, making it easier to design, debug, and deploy applications. Developers benefit from built-in support for commonly used frameworks and libraries, improving productivity and enabling rapid application development.

In summary, BEA 7 stands out as a powerful enterprise solution, distinguished by its support for SOA, robust application server capabilities, web services integration, strong security features, and a developer-friendly environment. These attributes make BEA 7 an essential tool for organizations aiming to enhance their operational efficiency and adapt to the increasingly dynamic business landscape.