Porting and Converting Enterprise JavaBeans Applications

EJB Porting Considerations

Consider the following when porting Enterprise JavaBeans to WebLogic Server 7.0.

„WebLogic Server Version 7.0 supports the Enterprise JavaBeans 1.1 and 2.0 specifications.

„The XML parser is stricter with XML deployment descriptors in WebLogic 7.0 than it was in WebLogic 5.1. Some errors allowed in earlier versions are no longer permitted. This is described in Introducing WebLogic Server Enterprise Java Beans.

„EJB 1.1 beans are deployable in WebLogic Server 7.0. However, if you are developing new beans, it is recommended that you use EJB 2.0. EJB 1.1 beans can be converted to 2.0 using the DDConverter utility. For more information, see the DDConverter documentation in Programming WebLogic Enterprise JavaBeans.

„You can upgrade EJB 1.0 deployment descriptors to EJB 2.0 using the DDConverter utility, but first those descriptors must be upgraded to 1.1. WebLogic Server 5.1 deployment descriptors can be upgraded to 7.0 to take advantage of new features in WebLogic Server 7.0. Details on the DDConverter utility are provided in the WebLogic Server EJB Utilities section of Programming WebLogic Enterprise JavaBeans.

„The finder expressions feature of EJB 1.1 is no longer supported. This is the only non-supported feature of EJB 1.1.

„Deploying beans is described in the Packaging EJBs for the WebLogic Server Container section of Programming WebLogic Enterprise JavaBeans.

„If ejbc has not been run on an EJB, WebLogic Server 7.0 will run ejbc automatically when the bean is deployed. You do not need to compile beans with ejbc before deploying. If you wish to run ejbc during startup, you may do so. See details in Packaging EJBs for the WebLogic Server Container in Programming WebLogic Enterprise JavaBeans.

„An EJB deployment includes a standard deployment descriptor in the ejb-jar.xmlfile. The ejb-jar.xmlmust conform to either the EJB 1.1 DTD (document type definition) or the EJB 2.0 DTD.

„An EJB deployment needs the weblogic-ejb-jar.xmlfile, a WebLogic Server-specific deployment descriptor that includes configuration information

BEA WebLogic Server 7.0 Upgrade Guide

2-17

Page 65
Image 65
BEA 7 manual EJB Porting Considerations

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.