BEA WebLogic Platform 7

Jatinder Prem / Bernard Ciconte / Manish Devgan / Scott Dunbar / Peter Go  
Sams Publishing
Total pages
August 2003

Product detail

Product Price CHF Available  
BEA WebLogic Platform 7
78.40 approx. 7-9 days


Covers the BEA WebLogic Platform 7.0, which includes the application server in addition to an integration server and portal. Addresses the industry standard qualifications, preparing the reader to take the BEA WebLogic Server 7 Developer Certification Test. The marriage of best practice EJB development and deployment in the BEA WebLogic Server 7 will provide a roadmap to the developing audience.

Table of Contents



1. Understanding the Java 2 Platform, Enterprise Edition.

Overview. Java Technology Today. The Challenges of Today's eSystems. The Java 2 Platform, Enterprise Edition.

The J2EE Platform-Technology Component and Service APIs. J2EE Application Programming Model. J2EE Compatibility Test Suite. J2EE Reference Implementation (RI).

J2EE Application Development Roles. J2EE Application Deployment Roles.

2. J2EE Software Development Methodologies.

(Not) Gaining a Competitive Edge in Internet Time. Why J2EE Projects Fail.

Recognizing Mission Impossible Projects. The Warning Signs of a Failing J2EE Project.

The Top Ten Checklist for Initiating J2EE Projects. Organizational Frameworks for Supporting Enterprise J2EE Projects.

Communities of Practice. Technical Centers of Excellence-The J2EE Architecture Group.

Software Development Methodologies.

What Is an Object-Oriented (OO) Methodology? Major Motivations for Using OO Methodologies in J2EE System Developments. The Challenges of Using OO Methodologies-"Object Blindness". The Traditional Waterfall Methodology.

J2EE Software Development Methodologies Unveiled.

BEA Systems Accelerated Process (Project Initiation Phase). BEA Systems SteelThread (Architectural Prototyping). eXtreme Programming. The Rational Unified Process.

3. A Developer's Guide to the Unified Modeling Language (UML).

The Challenge of Object-Oriented Analysis and Design. What Is the Unified Modeling Language? The Relationship Between UML and Software Development Methodologies. UML Modeling Tools. The Elements of the Unified Modeling Language.

The Structural Elements of UML. The Behavioral Elements of UML. The Grouping Elements of UML. The Annotational Elements of UML.

Developing Use Case Diagrams (Analysis Phase).

The Features of a Use Case Diagram. Linking UML Diagrams.

Developing Class Diagrams (Analysis).

The Features of a Conceptual Model.

Developing Class Diagrams (Design).

The Features of a Class Diagram.

Developing Interaction Diagrams (Design).

The Features of a Sequence Diagram.

Developing Statechart Diagrams (Design).

The Features of a Statechart diagram.

Developing Activity Diagrams (Analysis and Design).

The Features of an Activity Diagram.

Developing Component and Deployment Diagrams (Design).

Component Diagrams. Deployment Diagrams.

UML By Example-The Book Store.

Deriving the Book Store Use Case Diagram. Deriving the Book Store Activity Diagram. Deriving the Book Store Class Diagram. Deriving the Book Store Interaction Diagrams.

4. Best Practices for Java Development.

Project Standards.

Delivery Expectations. Java-Oriented Software Products. Source Code Control and Software Build Systems. Directory Structures and Environment Variables. The Runtime Environment for Java Software Development. Java Namespaces and Directory Structure.

Java Style Guidelines.

Naming rules. Formatting. Comments and Documentation. Using Javadoc Comments. Java Source File Layout.

Java Programming Guidelines.

General Coding Practices. Performance and Optimization Guidelines. Collections. Methods. Objects. Arrays. Loops. Strings. Synchronization. Serialization. Garbage Collection. Java Compiler and JVM Optimizations.

The Java Development Process.

Introduction to Incremental Development. Preparing for Java Development. Creating the Common Components. What the Developer Should Do First. Application Development.

5. The J2EE Architecture and APIs.

Understanding the Java 2 Platform, Enterprise Edition. The Logical Tiers of the J2EE Architecture. The J2EE Application Programming Model.

The J2EE Application Server Layer. The Operating System Layer. Java Virtual Machine (JVM) Layer. The J2EE Application Server Execution Environment. The J2EE Services Layer. The EJB Container.

Enterprise Java Beans (EJB).

Session Beans. Entity Beans. Message-Driven Beans (MDB).

The Web Container. Servlets.

Servlet Session Management. Servlet Context Information. Servlet Lifecycle. Servlet Request Filtering. Servlet Dispatch Control. Servlet Security. Servlets and Persistent Client Information (Cookies). Invoking Servlets Through URL Query Strings. Declaring and Configuring Servlets.

JavaServer Pages (JSP).

JavaServer Page Request Processing. The JSP Language Syntax.

6. Transitioning from Software Design to J2EE Technology Components and Services.

Specifying and Visualizing J2EE Components with UML.

The Need for J2EE Software Design. Analyzing Requirements for a J2EE Solution with UML.

Identifying and Applying Design Patterns.

The Model-View-Controller Architecture (MVC). The Gang of Four Design Patterns.

Designing for Enterprise Java Beans.

Stateful and Stateless Session Beans. Container Managed Persistence (CMP) and Bean Managed Persistence (BMP) Entity Beans. J2EE Deployment to WebLogic Server 7.0.

From Design to J2EE By Example: A Truck Rental Business.

Truck Rental Business Requirements. Truck Rental Use Cases. Truck Rental Activity Diagrams. Truck Rental Class Diagrams. Truck Rental Sequence Diagrams.

Truck Rental Java Implementation. Summary.

7. An Introduction to Web Services.

The Message and Medium Paradigm. What Is a Web Service? The Characteristics of Web Services.

Web Services Standard Protocols. A Service-Oriented Architecture of Web Services.

The Value Proposition of Web Services.


8. Deriving Application Infrastructure.

Introducing Application Infrastructure. Understanding the Need for Application Infrastructure. Examining an Organization's Application Infrastructure Reality. Deriving an Application Infrastructure Strategy.

Recognizing Infrastructure Patterns. Developing a Technology Taxonomy. Identifying Enterprise Application Integration (EAI) Types.

Implementing the Software Platform Solution to Application Infrastructure. Employing BEA's Unified, Simplified, and Extensible Formula for Application Infrastructure: WebLogic Platform 7.0. Summary.

9. Introducing BEA WebLogic Platform 7.

What Is Technical Agility? The WebLogic Platform-A Single, Unified, and Extensible Application Infrastructure.

The Featured Benefits of WebLogic Platform.

Introducing BEA WebLogic Server 7. WebLogic Server's Competitive Edge. The Technical Architecture of WebLogic Server.

The Presentation Layer. The Business Layer. The Integration Layer.

Introducing WebLogic Workshop.

The Primary WebLogic Workshop Components. A High-Level Architecture of WebLogic Workshop.

Introducing BEA WebLogic Portal.

A High-Level Architecture of WebLogic Portal.

Introducing WebLogic Integration.

WLI Functional Areas.


10. Installing and Configuring WebLogic Server 7.

WebLogic Server 7 Editions.

The WebLogic Express. The WebLogic Server Advantage Edition. The WebLogic Server Premium Edition.

Preliminary WebLogic Server Installation Considerations.

System and Software Requirements for Installing WebLogic Server. The New WebLogic Server Development Licensing Model.

Installing WebLogic Server.

Step 1: Download and Execute the Net Installer Program. Step 2: Select the BEA Home Directory. Step 3: Select the Installation Type. Step 4: Select the WebLogic Platform Products and Components. Step 5: Select the Download Option. Step 6: The Auto Installation Option. Step 7: Select the WebLogic Server Product Directory. Step 8: The Domain Configuration Wizard. Step 9: Create Your WebLogic Domain. Step 10: Select the WebLogic Server Type. Step 11: Select Your Domain Container Directory. Step 12: Configure Your Single Server. Step 13: Create Your System User Name and Password. Step 14: Create the WebLogic Server As a Windows Service. Step 14: Create a Start Menu Entry for Your WebLogic Server. Step 15: Review and Create Your Specified WebLogic Server Configuration. Validate Your CLASSPATH and PATH Environmental Variables.

Navigating the WebLogic Platform Directory Structure.

The BEA Home Directory. The Domain Container Directory. The WebLogic Home Directory.

Startup Methods for WebLogic Server in Windows 2000.

The startWebLogic Script File. Important startWebLogic Script Options.

Starting the Default WebLogic Server.

Bypassing the Username and Password Prompt Using the Boot Identity File. Starting the Pet Store Sample Application.

Shutdown Methods for WebLogic Server in Windows 2000.

Shutting Down WebLogic Server Using the Administration Console. Shutting Down the WebLogic Server Using the weblogic.Admin Utility.

Understanding the New WebLogic Server Lifecycle States. Using WebLogic Server with the WebLogic JRockit JVM.

The Benefits of Using the JRockit JVM. Installing and Using JRockit with WebLogic Server. Using the JRockit Management Console.


11. Working with the WebLogic Server Tools.

The WebLogic Server System Administration Tools.

The WebLogic Administration Console. The weblogic.Admin Command-Line Utility.

The WebLogic Server Deployment Tools.

The WebLogic Builder. The EJBGen Utility. The weblogic.Deployer Utility. The WebLogic Server Administration Console.

Deploying Your First Web Application Using WebLogic Builder.

Step 1: Creating the Web Application Directory Structure. Step 2: Creating Your Welcome Page. Step 3: Creating and Compiling Your Hello World Servlet. Step 4: Starting the WebLogic Builder. Step 5: Assembling the HelloWorldApp Web Application. Step 6: Deploying Your Web Application. Step 7: Testing Your Web Application.



12. Distributed Processing Using RMI.

Understanding Distributed Processing.

The RMI Design Model. RMI Package Names. Creating an RMI Application.

RMI Registry Naming Service.

RMI Registry API. Java 2 Standard Edition RMI Registry. WebLogic RMI Registry.

The Remote Interface.

Java 2 Standard Edition Remote Interface. WebLogic Remote Interface.

Remote Object.

Java 2 Standard Edition Remote Object. WebLogic Remote Object.

RMI Client Application. Generating Stubs and Skeletons Using rmic.

Java 2 Standard Edition rmic. WebLogic rmic.

Sample RMI Application. WebLogic Optimizations for RMI. WebLogic RMI over IIOP. Summary.

13. Accessing Data Repositories Using JDBC.

The Java Database Connectivity API. The Basics of Database Programming in Java.

Understanding Relational Databases. Understanding SQL.

Understanding JDBC.

Using the DriverManager. The Connection Object. The Statement Object. The PreparedStatement Object. The ResultSet Object. The Bookstore JDBC Example.

JDBC and BEA WebLogic Server.

Configuring and Using Connection Pools. Configuring and Using MultiPools. Configuring and Using Data Sources. Configuring and Using TxDataSources. Configuring and Using JDBC DataSource Factories.

Using JDBC in a BMP Entity Bean. Advanced JDBC Topics.

Stored Procedures. Batch Processing. Meta-Data.


14. Locating Named Services through JNDI.

An Introduction to the Java Naming and Directory Interface. The JNDI Architectural Framework. Understanding Naming and Directory Services.

LDAP Server. RMI Registry. COS Name Server. The WebLogic Naming Service.

The JNDI Service Provider Interface.

Using the LDAP SPI. Using the RMI SPI. Using the COS SPI. Using the WebLogic SPI.

The JNDI Application Programming Interface.

Looking Up an Object Using the JNDI Context. Closing the JNDI Context. Binding an Object Using the JNDI Context.

Examples of Using JNDI in J2EE Applications.

Looking Up the EJB Home Interface. Looking Up JMS Connection Factories and Distributed Destinations. Looking Up JDBC DataSources. Looking Up JTA UserTransactions.


15. The Java Messaging Service (JMS).

What Is the Java Message Service API?

JMS Messaging Versus Tightly Coupled Communication APIs.

An Overview of the JMS Architecture and Messaging.

Messaging Domains.

The Structure of a JMS Message.

Message Header Fields. Message Property Fields (Optional). Message Body.

The JMS API Programming Model.

ConnectionFactory. Connections. Sessions. Destinations. MessageProducer. MessageConsumer.

The WebLogic JMS Server. The Basic Configuration of WebLogic JMS.

Configuring Persistent Messaging. Configuring a JMS Server. Creating a JMS Destination-Queue or a Topic. Configuring Connection Factories. Monitoring Your JMS Server.

Developing a WebLogic JMS Application.

Point-to-Point Client. A Point-to-Point Producer. A Point-to-Point Consumer. A Point-to-Point Client with an Asynchronous Listener. A Publish/Subscribe Producer. A Publish/Subscribe Consumer. Message Selectors.


16. Managing Java Transactions Using JTA.

The Java Transaction API. Using Transactions to Ensure Data Integrity. Understanding Distributed Transactions. ACID-Compliant Databases. The JDBC Optional Package and JTA.

Using the DataSource Interface. Using Connection Pools. Using a DataSource for Distributed Transactions. Using the RowSet Interface. Using the UserTransaction Interface.

Configuring WebLogic JDBC Connection Pools. Configuring WebLogic JDBC Tx DataSources. Performing Distributed Transactions with a Transaction Manager.

XA-Compliant Resources. Two-Phase Commit (2PC). Transaction Isolation Levels.

Using the WebLogic JTA Driver. The BookStore Servlet Example. Summary.

Part IV - Developing Presentation Logic-JSPs and Servlets.

17. Introduction to Servlets.

CGI-The First Generation of Dynamic Content Generation Tools. A Better Way-Servlets.

What Is a Servlet? Handling HTTP Clients-The HttpServlet Class.

Servlet Technologies.

The Servlet API-Commonly Used Methods. The Servlet Container. The Servlet Lifecycle. Servlets and Threads.

Creating Your First Servlet.

A doGet() Servlet Example. Adding doPost() to the Servlet.

J2EE Packaging for Servlets-Web Applications.

Web Application Hierarchy.

Running Your First Servlet in WebLogic 7.0. Servlet Advanced Features.

Initialization Parameters for Servlets. Database Access Using WebLogic Server 7.0 Services.

Servlet Implementation Limitations. Summary.

18. JavaServer Pages and Tag Libraries.

Understanding JavaServer Pages (JSPs). JSP Elements.

Predefined Variables. Expressions. Declarations. Scriptlets. Other Scripting Elements.

Using JavaBeans.

Instantiating JavaBeans in JSP. Manipulating JavaBean Properties in a JSP. Setting Bean Properties from the Request. Creating the JavaBean Class. JavaBean Example.

Tag Libraries.

Parts of a Tag Library. Implementing a Custom Tag Library. Using the Custom Tag in a JSP. Putting It All Together: Using the Tag Library in WebLogic.


19. Servlets and JavaServer Pages-Best Practices.

What Is the MVC Pattern? The MVC Model with Servlets and JSPs. A Simple MVC Example: Login Management.

JSP Login Handler. Servlet Login Handler. Servlet Login Handler with a JSP Front End. Managing Page-to-Page Relationships and Transitions.



20. Developing Business Logic-Session Beans.

Introducing Session Beans.

The Value Proposition of Session Beans.

Session Bean Types.

Stateless Session Beans. Stateful Session Beans. Differences Between Stateless and Stateful Session Beans.

A Practitioner's Approach to Understanding Session Beans.

The Development Elements of a Session Bean. Developing a Test Java Client for Your Session Bean. Developing Deployment Descriptors. Building a Session Bean Deployment Unit. Deploying Your Session Bean.

The Life Cycle of Stateless Session Beans.

The Does Not Exist State. The Method Ready Pool State. The Busy or Active State.

The Life Cycle of Stateful Session Beans.

The Does Not Exist State. The Method Ready State. The Passivated State.

Testing the Life Cycle of Stateful Session Beans. Programming Transactions in Session Beans.

Container-Managed Transactions. Bean-Managed Transactions.


21. Managing Persistence-Entity Beans.

Persistence: The Final Tier. What Are Entity Beans? Using the EJB Container.

Container-Managed Persistence Versus Bean-Managed Persistence. Container-Managed Relationships. Container-Managed Transactions.

The Lifecycle of Entity Beans. Developing the Components of Entity EJBs.

EJB Remote Interface. EJB Local Interface. Using the EJB Value Object. EJB Remote Home Interface. EJB Local Home Interface.

Writing the Entity EJB Class. Writing the Primary Key Class.

Creating the BookEntityPK Primary Key Class.

Deployment Descriptors.

EJB Name Tag. Additional XML Tags in the Deployment Descriptor.

Writing Finder Methods.

Enterprise JavaBean Query Language.

Bean-Managed Persistence Example.

Creating a Connection with a Data Source. Creating the BookEntityBMPBean. Creating the BMP Style Deployment Descriptor.

Container-Managed Persistence Example.

Creating the BookEntityCMPBean.

Container-Managed Relationship Example.

Creating the ShoppingCart Remote Interface. Creating the ShoppingCart Home Interface. Creating the ShoppingCart CMP Entity Bean. The ShoppingCart Primary Key. Testing the Book Store. Creating the Deployment Descriptor.

Deployment on WebLogic Server.

The weblogic-ejb-jar.xml Deployment Descriptor. The weblogic-cmp-rdbms-jar.xml Persistence Descriptor. Deploying Entity Beans to the WebLogic Server. Testing the Deployment of the ShoppingCart Module.


22. Asynchronous Message Processing-Message-Driven Beans.

What Is a Message-Driven Bean?

The Characteristics of Message-Driven Beans. The Value Proposition of Message-Driven Beans. Differences Between MDBs and Other Bean Types.

The Message-Driven Bean Class.

The ejbCreate() Method. The setMessageDrivenContext() Method. The onMessage() Method. The ejbRemove() Method. Handling Exceptions.

The Life Cycle of a Message-Driven Bean. Developing a Simple Message-Driven Bean Example.

Step 1: Writing the Message-Driven Bean Code. Step 2: Writing the Associated Deployment Descriptors. Step 3: Building Your MDB Example. Step 4: Configuring the JMS Destination for the MDB Example. Step 5: Deploying the MDB Example to Your WebLogic Server. Step 6: Testing Your Message-Driven Bean.

An Overview of Message-Driven Bean Transactions.

Specifying an MDB's Transaction Demarcation Type. Container-Managed Transactions. Bean-Managed Transactions.


23. EJB Best Practices.

Best Practices for Session Beans.

Optimizing JNDI Lookups. When Not to Use Stateful Session Beans. Scalability Issues with Stateful Session Beans. The SessionSynchronization Interface. Session Beans As a Facade to Entity Beans.

Best Practices for Entity Beans.

Consider Writing CMP Entity Beans Instead of BMP Entity Beans. Debug Flags to Instrument BMP Code. Writing an Efficient Primary Key Class. Choose the Right Concurrency Strategy. Optimize Database Access Calls. Loading Related CMP Fields. Optimizing Finders. Optimizing CMP Entity Beans. Optimizing BMP Entity Beans. Optimizing Database Writes for BMP Entity Beans. Consider Using Tuned Updates for CMP 1.1 Beans. Consider Using Read-Only/Read-Mostly Entity Beans.

Handling Transactions in EJBs.

Use Container Managed Transactions Instead of Bean Managed Transactions. Do Not Use the Supports Transaction Attribute. Consider Using the Mandatory Transaction Attribute. Consider Using Transactional DataSources for Entity Beans. Always Demarcate Transactions at the WLS or Database Level.

Best Practices for EJB Security. Best Practices for Coding Standard Interfaces. MDB Best Practices.

Exception Handling in MDBs. Consider Using a Separate JMS Destination to Handle Poison Messages. Consider Using DUPS_OK_ACKNOWLEDGE Mode.



24. Administering and Monitoring Your WebLogic Domain.

Understanding WebLogic Domains.

The Relationship Between Administration and Managed Servers. Administering a WebLogic Domain from an Infrastructure Perspective.

Creating and Extending WebLogic Domains.

Creating a WebLogic Domain and Standalone WebLogic Server. Using the Configuration Wizard. Extending a WebLogic Domain with a Remote Managed Server Using the Configuration Wizard.

Configuring the Network Resources for a WebLogic Domain.

An Introduction to Network Channels. Understanding Network Access Points.

Managing Your WebLogic Servers Using the Node Manager.

Configuring the Node Manager on a Machine Node. Starting the Node Manager Process. Remotely Starting the Managed Servers. Reviewing the Node Manager-Associated Log Files. Monitoring the Health of Your WebLogic Domain Using the Node Manager.

Understanding the WebLogic Server Logs.

Modifying the Logging Behavior of the Local Log File. Modifying the Logging Behavior of the Domainwide Log File.


25. Implementing Highly Available and Scalable Solutions Using the WebLogic Cluster.

The Motivations for Clustered Infrastructure Solutions: Scalability and High Availability.

Scalability. High Availability. Load Balancing.

Understanding WebLogic Clusters.

Understanding Which Objects Can Be Clustered. Examining Deployment Restrictions to the WebLogic Cluster.

Understanding How WebLogic Servers Communicate within a Cluster.

IP Multicast Communication. IP Socket Communication (Peer-to-Peer).

Designing the Architecture of a WebLogic Cluster.

Understanding a Typical Clustering Environment. Recommended WebLogic Clustering Architectures.

Creating and Configuring a WebLogic Cluster.

The Tools for Creating and Configuring a WebLogic Cluster. Guidelines for Configuring Your WebLogic Cluster. Configuring a Cluster Using the Administration Console. Starting Your WebLogic Cluster. Monitoring Server Participation in Your WebLogic Cluster.

Implementing a Load-Balancing Mechanism for Your Clustered Servlets and JSPs.

Using a WebLogic Proxy Plug-in Load-Balancing Solution. Using a Hardware Appliance Load-Balancing Solution.

Implementing a Failover Mechanism for Your Clustered Servlets and JSPs.

In-Memory Replication. File-Based Persistent Storage. JDBC-Based Persistent Storage.

Clustering Enterprise JavaBeans.

The Replica-Aware Home and Remote Stubs. The Load-Balancing and Failover Algorithms Employed by the Replica-Aware Stubs. The Load-Balancing and Failover Mechanisms of Stateless Session Beans. The Load-Balancing and Failover Mechanisms of Stateful Session Beans. The Load-Balancing and Failover Mechanisms of Entity Beans.


26. Managing the WebLogic Security Service.

The Challenges of Web Application Security.

The Formation of Social Infrastructures to Support a Security Ecosystem. The Functional Abstraction of Security from Application Code.

An Introduction to the WebLogic Server Security Service.

A Basic Security Setup Using the WebLogic Server Security Service.

The Architecture of the WebLogic Security Service.

The WebLogic Security Framework. The Security Service Provider Interfaces. The Security Provider Database.

Security Providers.

Authentication Providers. The Authentication Process. Role Mapping Providers. Authorization Providers. Auditing Provider. Credential Mapping Provider. Keystore Providers. Realm Adapter Providers.

Understanding Your WebLogic Security Realm.

Managing Your Security Realm. Configuring New User Accounts. Configuring New Groups. Configuring Roles. Configuring Security Policies.

Securing Your WebLogic Applications.

Securing a Web Application Through the Administration Console.


27. Packaging, Assembling, and Deploying J2EE Applications.

Introducing the WebLogic Server ClassLoaders.

What Are Java ClassLoaders? J2EE Application Classloading in WebLogic Server. Understanding the WebLogic Server ClassLoader Hierarchy. Making Use of the PreferWebInfClasses Element. Application Classloading Optimization in WebLogic Server. Best Practices for Packaging Shared Utility Classes. Making Use of the Manifest Class-Path.

Packaging Applications Targeted for WebLogic Server.

Web Applications. Enterprise JavaBean Applications. Enterprise Applications.

Deploying Applications to WebLogic Server.

Two-Phase Deployment. Application Staging. The Deployment Order for Services and Applications in WebLogic Server.

The WebLogic Server Deployment Tools.

Using the Administration Console to Deploy Applications. Using the weblogic.Deployer Utility to Deploy Applications. Using WebLogic Builder to Build and Deploy J2EE Applications. Using Auto-Deployment. Undeploying Applications in Auto-Deployment Mode. Redeploying Archived Applications in Auto-Deployment Mode. Redeploying Exploded Applications in Auto-Deployment Mode.

Using Ant for Building J2EE Applications.

Ant Basic Concepts. Understanding the Ant Build File. Built-in Ant Tasks. The File and Directory Manipulation Ant Tasks.

Deployment Best Practices.

28. Performance Tuning WebLogic Server.

Performance Tuning Goals for WebLogic Server. A WebLogic Server Performance Tuning Roadmap.

Step 1: Understand Your WebLogic Server Environment. Step 2: Document Your WebLogic Server Environment. Step 3: Develop Test Scenarios for Your WebLogic Server Environment. Step 4: Benchmark Your Test Scenarios. Step 5: Identify the Potential Bottlenecks Affecting the Performance of Your Test Scenarios. Step 6: Resolve the Performance Bottlenecks in Your Test Scenarios.

Tuning the Core Server Performance: The Thread Pool.

The Socket Reader Implementation in WebLogic Server. WebLogic Server Execute Queues. Configuring Custom Execute Queues. Monitoring Execute Queues and Execute Threads. Tuning the Connection Backlog.

Tuning JDBC Connection Pools in WebLogic Server.

Caching Prepared SQL Statements.

Tuning EJB Applications.

Stateless Session Beans. Stateful Session Beans. Entity Beans.

Optimizing HTTP Sessions. Tuning the Java Virtual Machine (JVM).

Tuning the JVM Heap Size. Monitoring the WebLogic Server Heap and Forcing Garbage Collection. Detecting Low Memory Conditions in WebLogic Server. Summary.


29. Web Services and the WebLogic Platform.

Introduction. The Architectural Framework of Web Services.

Supported Standards. Why WebLogic Web Services?

Roadmap to WebLogic Web Services.

Creating Local Web Services. Web Service Runtime Environments. Local Web Service Advertised with UDDI. The Portlet Wizard. Web Services Included with WebLogic Commerce. Web Service Examples in WebLogic.

Web Service Design Questions.

Web Service Types. Back-End Provider Components. Security.

Anatomy of a WebLogic Web Service.

The JAX-RPC Model. Serializers and Deserializers. Supported or Built-in Types. SOAP Handlers. Inside a Synchronous (RPC) Web Service. Inside an Asynchronous Web Service.

WebLogic Web Service Clients.

Web Service Client Models.


30. Developing Web Services for the WebLogic Server.

Introduction to Web Service Development. Understanding Design Considerations. Introducing the WebLogic Build Tools.

The Web Service Home Page. Anatomy of an Assembled Web Service. The Client JAR File.

Developing Your Own Web Service.

WebLogic Ant Tasks. Command-Line Utilities.

Understanding Web Service Packaging Considerations. Building WebLogic Web Services Manually.

The Web Service Deployment Descriptor.

Using User-Defined Data Types.

Specifying XML Schema for UDTs. Defining Types in web-services.xml. Writing Serializers and Deserializers. Defining Type Mappings in web-services.xml.

Writing Back-End Components.

Stateless Session EJBs. Java Classes.

Using Output Parameters.

The Holder Interface. InOut Back-End Component. InOut in WSDL and web-services.xml. Running the InOut Sample. InOut User-Defined Types.

Writing Message Handlers.

Handlers. Handler Chains. Configuring Handlers into web-services.xml.

Understanding Exception Handling. Writing Asynchronous Web Services.

JMS and Message-Driven Beans Example. The ProcessorMDB Bean. Setting Up JMS Factory and Destinations. Running the Asynchronous Web Service Sample. Examining How the Asynchronous Sample Is Built. Using the Asynchronous Web Service with Multiple Operations.

Securing Your Web Services.

Using SSL. Restricting Your Web Service to Use HTTPS. Securing Your Web Service URL. Securing Your EJB Back-End Component.

Debugging Your WebLogic Web Services.

Checking Out the Web Service Home Page. Examining the Web Service Through the WebLogic Administration Console. Looking at the Generated web-services.xml File. Runtime Diagnostics. WebLogic Log Files.

Best Practices.

Employing Coarse-Grained Interactions. Promoting Loose Coupling. Deciding What Service Mode Is Important. Avoiding Method Overloading. Knowing That Web Services Are Not Always the Answer.

New Features in WLS 7.0 Service Packs. Summary.

31. Discovering Web Services.

Introduction. What Is UDDI? How Does UDDI Work? The UDDI API at a Glance.

UDDI Usage Patterns. A Sample Use Case. The Inquiry API. The Publish API. What a UDDI SOAP Call Looks Like.

UDDI Features in WebLogic Server. The WebLogic UDDI Client Proxy.

UDDI Data Structures Implementation: weblogic.uddi.client.structures.datatypes. API Request Data Objects: weblogic.uddi.client.structures.request. API Response Data Objects: weblogic.uddi.client.structures.response. The Inquiry Class: weblogic.uddi.client.service.Inquiry. The Publish Class: weblogic.uddi.client.service.Publish. Sample Client Code (Tasks).

The WebLogic UDDI Directory Explorer.

Running UDDI Explorer. Creating Entries in a Private Registry.


32. Web Services Made Easy-WebLogic Workshop.

Overview. The Need for WebLogic Workshop.

Simplify J2EE for the Application Developer. Solve Integration Problems with Enterprise-Class Web Services. What Is a Framework?

Why WebLogic Workshop? WebLogic Workshop Architecture.

JWS Files. Asynchrony: Conversations, Callbacks, and Buffering. JWS Controls. XML Maps. Controls-A Closer Look. Web Service Deployment.

The Visual Development Environment.

Project Tree. Main Work Area-The Canvas. The Test Harness.

A Short Tutorial.

Preliminaries. Create the creditCheck Web Service. Create the Bankruptcies Database Control. Create the Validate Credit EJB Control. Make Investigate.jws Call These Controls. Test the Service.



33. Introducing WebLogic Integration (WLI).

Introducing Integration. Challenges in Application Integration. Standards in Application Integration. BEA WebLogic Integration: A Platform for Application Integration. BEA WebLogic Integration Functional Areas.

Business Process Management. Application Integration. B2B and Data Integration.

34. Business and Workflow Process Management Using WLI.

Introduction. Business Process Management (BPM).

Process Types.

Stages in Business Process Management.

Process Design. Process Execution. Process Monitoring. HelloWorld Workflow: A Workflow Which Triggers on an XML Event.

Designing Business Processes. BPM Tools.

Studio. Worklist.

Programming Using BPM APIs.

An Example of Using BPM APIs.

BPM Plug-in Framework. Workflow Patterns.

Parallel Execution. Choice of Events. Event with Timeout. Cancellation via Event. Execution Timeout.


35. Understanding J2CA Through the WLI Application Integration Framework.

Introduction to Application Integration. What Is J2EE Connector Architecture (J2CA)?

Resource Adapter. Common Client Interface (CCI).

Components of Application Integration.

Integration Framework. Adapter Development.

Application Views.

Defining an Application View. Using Application Views in Workflows. Using Application Views Programmatically. Deploying Application Views.

Adapter Development Kit (ADK).

Service Adapters. Event Adapters. ADK Frameworks.


36. Data Integration and B2Bi.

Introduction to Integration. Data Integration.

Translation. Transformation. Data Integration Support in WebLogic Integration. Data Integration Tools. Contivo Analyst. Data Integration and BPM. Advanced Data Integration Using the Data Integration Plug-in.

Business-to-Business Integration (B2Bi).

B2B Integration Support in WLI. B2Bi Configurations. Business Protocols. Conversation. Collaboration Agreement. The B2Bi Plug-in for BPM. Administration Using the B2Bi Console. Business Connect.



Appendix A. Platform End-to-End Example.


Installation. Restrictions. Starting the Server.

Use Case One: WebLogic Portal Features.

Capturing the Sale. Adding a Web Service-Based Portlet.

Use Case Two: WebLogic Workshop Features.

Under the Covers of the Order-Tracking Web Service. Using the New Web Service.

Use Case Three: WebLogic Integration Features.

Under the Covers of the Third Use Case.



Back Cover

BEA® WebLogic Platform 7 is a fast-paced introduction to the new WebLogic Platform. The focus of this book is to provide you with an in-depth knowledge of the WebLogic Platform 7.0 product and how you can leverage its capabilities and new features to create, configure, manage, and monitor an optimal operational environment for your J2EE applications. Hence, the primary technical topics discussed in this book fall under the realm of WebLogic Server Administration. This book covers in J2EE concepts and how to develop J2EE applications targeted for the WebLogic Platform.

  • Become versed on the capabilities, new features and technical architecture of the WebLogic Server 7.0.
  • Master how to install and efficiently configure a WebLogic Server.
  • Configure the WebLogic Server to use BEA¿s performance-based JRockit JVM.
  • Leverage the WebLogic Server¿s administration and deployment tools.
  • Extend a WebLogic Server domain through the introduction of remote managed servers.
  • Configure network resources for your WebLogic Servers.
  • Implement an administration and monitoring framework using Node Manager in conjunction with the WebLogic Server¿s new Self-Health Monitoring System.
  • Activate and configure your WebLogic Server¿s logging capabilities.
  • Architect and implement highly available and scalable application deployment solutions using the WebLogic Server cluster.
  • Optimally package J2EE Web and Enterprise applications and deploy them to your WebLogic Server.
  • Performance tune the WebLogic Server¿s internal subsystems.
  • Optimize the WebLogic Server¿s default HotSpot JVM.


Author Bio: BEA WebLogic Platform 7BEA WebLogic Platform 7 Author Bio Jatinder Prem is the founder and the chief technology officer of ObjectMind Inc. (, a startup company focused on providing creative socio-technical solutions to organizations that need assistance in building J2EE enterprise solutions on the BEA WebLogic Platform. Educated at one of London's leading technology-focused universities, The City of London University, and maintaining professional certifications in Java Programming, Oracle, and Sybase Database Administration, Prem has more than 10 years of end-to-end software development experience, using a variety of methodologies and technologies with organizations such as Morgan Stanley, KPMG, Motability Finance, SMART Technologies, the Workers Compensation Board, and DuPont. Prem's other authoring successes include co-authoring the Oracle8 Bible and the custom Dev2Dev WebLogic Platform book provided to attendees at BEA eWorld 2003. Prem can be reached via email through