Table of Contents
- Title and Copyright Information
- Preface
-
1
Overview of WebLogic Server Application Development
- WebLogic Server and the Jakarta EE Platform
- Overview of Jakarta EE Applications and Modules
- Web Application Modules
- Jakarta Enterprise Beans Modules
- Connector Modules
- Enterprise Applications
- WebLogic Web Services
- JMS and JDBC Modules
- WebLogic Diagnostic Framework Modules
- Coherence Grid Archive (GAR) Modules
- Bean Validation
- XML Deployment Descriptors
- Deployment Plans
- Development Tools
- 2 Using Ant Tasks to Configure and Use a WebLogic Server Domain
- 3 Using the WebLogic Maven Plug-In
-
4
Creating a Split Development Directory Environment
- Overview of the Split Development Directory Environment
- Using the Split Development Directory Structure: Main Steps
- Organizing Jakarta EE Components in a Split Development Directory
- Organizing Shared Classes in a Split Development Directory
- Generating a Basic build.xml File Using weblogic.BuildXMLGen
- Developing Multiple-EAR Projects Using the Split Development Directory
- Best Practices for Developing WebLogic Server Applications
- 5 Building Applications in a Split Development Directory
- 6 Deploying and Packaging from a Split Development Directory
- 7 Developing Applications for Production Redeployment
- 8 Using Jakarta EE Annotations and Dependency Injection
-
9
Using Contexts and Dependency Injection for the Jakarta EE Platform
- About CDI for the Jakarta EE Platform
- Defining a Managed Bean
- Injecting a Bean
- Defining the Scope of a Bean
- Overriding the Scope of a Bean at the Point of Injection
- Using Qualifiers
- Providing Alternative Implementations of a Bean Type
- Applying a Scope and Qualifiers to a Session Bean
- Using Producer Methods, Disposer Methods, and Producer Fields
- Initializing and Preparing for the Destruction of a Managed Bean
- Intercepting Method Invocations and Life Cycle Events of Bean Classes
- Decorating a Managed Bean Class
- Assigning an EL Name to a CDI Bean Class
- Defining and Applying Stereotypes
- Using Events for Communications Between Beans
- Injecting a Predefined Bean
- Injecting and Qualifying Resources
- Using CDI With JCA Technology
- Configuring a CDI Application
- Enabling and Disabling CDI
- Implicit Bean Discovery
- Supporting Third-Party Portable Extensions
- Using the Built-in Annotation Literals
- Using the Configurator Interfaces
- Bootstrapping a CDI Container
- 10 Jakarta JSON Processing
- 11 Jakarta JSON Binding
-
12
Understanding WebLogic Server Application Classloading
- Java Classloading
-
WebLogic Server Application Classloading
- Overview of WebLogic Server Application Classloading
- Application Classloader Hierarchy
- Custom Module Classloader Hierarchies
- Declaring the Classloader Hierarchy
- User-Defined Classloader Restrictions
- Individual EJB Classloader for Implementation Classes
- Application Classloading and Pass-by-Value or Reference
- Using a Filtering Classloader
- What is a Filtering Classloader
- Configuring a Filtering Classloader
- Resource Loading Order
- Resolving Class References Between Modules and Applications
- Using the Classloader Analysis Tool (CAT)
- Sharing Applications and Modules By Using Jakarta EE Libraries
- Adding JARs to the Domain /lib Directory
-
13
Creating Shared Jakarta EE Libraries and Optional Packages
- Overview of Shared Jakarta EE Libraries and Optional Packages
- Creating Shared Jakarta EE Libraries
- Referencing Shared Jakarta EE Libraries in an Enterprise Application
- Referencing Optional Packages from a Jakarta EE Application or Module
- Using weblogic.appmerge to Merge Libraries
- Integrating Shared Jakarta EE Libraries with the Split Development Directory Environment
- Deploying Shared Jakarta EE Libraries and Dependent Applications
- Web Application Shared Jakarta EE Library Information
- Using WebApp Libraries With Web Applications
- Accessing Registered Shared Jakarta EE Library Information with LibraryRuntimeMBean
- Order of Precedence of Modules When Referencing Shared Jakarta EE Libraries
- Best Practices for Using Shared Jakarta EE Libraries
-
14
Programming Application Life Cycle Events
- Understanding Application Life Cycle Events
- Registering Events in weblogic-application.xml
- Programming Basic Life Cycle Listener Functionality
- Examples of Configuring Life Cycle Events with and without the URI Parameter
- Understanding Application Life Cycle Event Behavior During Redeployment
- Programming Application Version Life Cycle Events
- 15 Programming Context Propagation
- 16 Programming Jakarta Mail with WebLogic Server
- 17 Threading and Clustering Topics
-
18
Developing OSGi Bundles for WebLogic Server Applications
- Understanding OSGi
- Features Provided in WebLogic Server OSGi Implementation
- Configuring the OSGi Framework
- Creating OSGi Bundles
- Deploying OSGi Bundles
- Accessing Deployed Bundle Objects From JNDI
- Using OSGi Logging Via WebLogic Server
- Configuring a Filtering ClassLoader for OSGi Bundles
- OSGI Example
-
19
Using the WebSocket Protocol in WebLogic Server
- Understanding the WebSocket Protocol
- Understanding the WebLogic Server WebSocket Implementation
- Overview of Creating a WebSocket Application
- Creating an Endpoint
- Handling Life Cycle Events for a WebSocket Connection
- Defining, Injecting, and Accessing a Resource for a WebSocket Endpoint
- Sending a Message
- Encoding and Decoding a WebSocket Message
- Specifying a Part of an Endpoint Deployment URI as an Application Parameter
- Maintaining Client State
- Configuring a Server Endpoint Programmatically
- Building Applications that Use the Jakarta API for WebSocket
- Deploying a WebSocket Application
- Monitoring WebSocket Applications
- Using WebSockets with Proxy Servers
- Writing a WebSocket Client
- Securing a WebSocket Application
- Enabling Protocol Fallback for WebSocket Messaging
- Migrating an Application to the JSR 356 Java API for WebSocket from the Deprecated API
- Example of Using the Java API for WebSocket with WebLogic Server
-
A
Enterprise Application Deployment Descriptor Elements
- weblogic-application.xml Deployment Descriptor Elements
- weblogic-application.xml Schema
- application.xml Schema
- B wldeploy Ant Task Reference