Developing Applications for Oracle WebLogic Server
Table of Contents
Show All | Collapse- Title and Copyright Information
- Preface
- 1 Overview of WebLogic Server Application Development
- Document Scope and Audience
- WebLogic Server and the Java EE Platform
- Overview of Java EE Applications and Modules
- Web Application Modules
- Enterprise JavaBean 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
- New and Changed Features in this Release
- 2 Using Ant Tasks to Configure and Use a WebLogic Server Domain
- 3 Using the WebLogic Development 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 Java 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 Java EE Annotations and Dependency Injection
- 9 Using Contexts and Dependency Injection for the Java EE Platform
- About CDI for the Java 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
- Supporting Third-Party Portable Extensions
- 10 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 Java EE Libraries
- Adding JARs to the Domain /lib Directory
- 11 Creating Shared Java EE Libraries and Optional Packages
- Overview of Shared Java EE Libraries and Optional Packages
- Creating Shared Java EE Libraries
- Referencing Shared Java EE Libraries in an Enterprise Application
- Referencing Optional Packages from a Java EE Application or Module
- Using weblogic.appmerge to Merge Libraries
- Integrating Shared Java EE Libraries with the Split Development Directory Environment
- Deploying Shared Java EE Libraries and Dependent Applications
- Web Application Shared Java EE Library Information
- Using WebApp Libraries With Web Applications
- Accessing Registered Shared Java EE Library Information with LibraryRuntimeMBean
- Order of Precedence of Modules When Referencing Shared Java EE Libraries
- Best Practices for Using Shared Java EE Libraries
- 12 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 Re-deployment
- Programming Application Version Life Cycle Events
- 13 Programming Context Propagation
- 14 Programming JavaMail with WebLogic Server
- 15 Threading and Clustering Topics
- 16 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
- 17 Using WebSockets in WebLogic Server
- Understanding WebSockets
- Using WebSockets in WebLogic Server
- Understanding the WebLogic Server WebSockets Implementation
- Building Applications Using the WebLogic WebSocket API
- Deploying WebSocket Applications
- Using WebSockets with Proxy Servers
- Client Programming
- Broadcasting Messages to WebSocket Clients
- Securing WebSocket Applications
- Example of Using WebSockets with WebLogic Server
- A Enterprise Application Deployment Descriptor Elements
- B wldeploy Ant Task Reference