Home > Store

BEA WebLogic Platform 7

Register your product to gain access to bonus material or receive a coupon.

BEA WebLogic Platform 7

Book

  • Sorry, this book is no longer in print.
Not for Sale

Description

  • Copyright 2004
  • Dimensions: 7-3/8" x 9-1/8"
  • Pages: 1464
  • Edition: 1st
  • Book
  • ISBN-10: 0-7897-2712-9
  • ISBN-13: 978-0-7897-2712-1

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.

Downloads

Downloads

The source code developed for the book in one convenient download - 106 kb - code.zip

The demoDomain archive - 20,742 kb - demoDomain.zip

Sample Content

Online Sample Chapters

Implementing Highly Available and Scalable Solutions Using the WebLogic Cluster

Implementing Highly Available and Scalable Solutions Using the WebLogic Cluster

J2EE Software Development Methodologies

J2EE Software Development Methodologies

Table of Contents



Introduction.

I. J2EE APPLICATION DEVELOPMENT ESSENTIALS.

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.

II. INTRODUCING BEA WEBLOGIC PLATFORM 7.

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.

Summary.

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.

Summary.

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.

Summary.

III. WEBLOGIC AND J2EE SERVICES SUPPORT.

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.

Summary.

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.

Summary.

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.

Summary.

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.

Summary.

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.

Summary.

V. DEVELOPING BUSINESS LOGIC-ENTERPRISE JAVABEANS.

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.

Summary.

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.

Summary.

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.

Summary.

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.

Summary.

VI. BEA WEBLOGIC SERVER ADMINISTRATION.

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.

Summary.

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.

Summary.

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.

Summary.

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.

VII. WEB SERVICES.

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.

Summary.

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.

Summary.

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.

Summary.

VIII. INTEGRATION SERVICES PROVIDED BY WEBLOGIC SERVER 7.

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.

Summary.

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.

Summary.

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.

Summary.

APPENDIXES.

Appendix A. Platform End-to-End Example.

Introduction.

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.

Summary.

Index.

Updates

Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020