Go to main content
1/15
Contents
Title and Copyright Information
Preface
Documentation Accessibility
Conventions
1
Introduction and Roadmap
Document Scope and Audience
Guide to this Document
Related Documentation
Samples and Tutorials
Avitek Medical Records Application (MedRec) and Tutorials
Examples in the WebLogic Server Distribution
New and Changed Features in This Release
2
Understanding WebLogic RMI
What is WebLogic RMI?
Features of WebLogic RMI
3
WebLogic RMI Features
WebLogic RMI Clients
WebLogic RMI Security Support
WebLogic RMI Transaction Support
Failover and Load Balancing RMI Objects
Clustered RMI Applications
Load Balancing RMI Objects
Parameter-Based Routing for Clustered Objects
Custom Call Routing and Collocation Optimization
Request Timeouts
Using a Connect Timeout
Using a Read Timeout
Example rtd.xml file with a Timeout
Example weblogic-ejb-jar.xml file with a Timeout
Creating Pinned Services
Dynamic Proxies in RMI
4
Using WebLogic RMI Annotations
Introduction to WebLogic RMI Annotations
Annotations for WebLogic RMI
Rmi
Description
Attributes
RmiMethod
Description
Attributes
Exception Handling
Application Exceptions
System Exceptions
Cluster Failover
RMI Callback Objects
Annotation and WebLogic RMI Descriptor Merging
5
Using the WebLogic RMI Compiler
Overview of the WebLogic RMI Compiler
WebLogic RMI Compiler Features
Hot Code Generation
Proxy Generation
Additional WebLogic RMI Compiler Features
WebLogic RMI Compiler Options
Non-Replicated Stub Generation
Using Persistent Compiler Options
Java SE Enhancements
6
Using WebLogic RMI with T3 Protocol
RMI Communication in WebLogic Server
Determining Connection Availability
Using a WebLogic T3/T3s Client Proxy
7
How to Implement WebLogic RMI
Creating Classes That Can Be Invoked Remotely
Step 1. Write a Remote Interface
Step 2. Implement the Remote Interface
Step 3: Create a Client that Invokes Remote Methods
Setting Client Timeouts
Example HelloClient.java Client
Step 4. Compile the Java Classes
Run the RMI Hello Code Sample
Prerequisites
Setup the RMI Hello Example
Configure a Startup Class
Restart the examplesServer
Run the Example
8
WebLogic RMI Integration with Load Balancers
How WebLogic Server Supports Load Balancers
HTTP Tunneled T3 Load Balancing
How to Configure the External Listen Address
Example Custom Channel Configuration for a Load Balancer
Session Failover
Cookie Persistence
Pinned Objects
Stateful Session EJBs
Native T3 Load Balancing
Failover Support
9
Using RMI over IIOP
What is RMI over IIOP?
Overview of WebLogic RMI-IIOP
Support for RMI-IIOP with RMI (Java) Clients
Support for RMI-IIOP with Tuxedo Client
Support for RMI-IIOP with CORBA/IDL Clients
10
Configuring WebLogic Server for RMI-IIOP
Set the Listening Address
Setting Network Channel Addresses
Considerations for Proxys and Firewalls
Considerations for Clients with Multiple Connections
Using a IIOPS Thin Client Proxy
Using RMI-IIOP with SSL and a Java Client
Accessing WebLogic Server Objects from a CORBA Client through Delegation
Overview of Delegation
Example of Delegation
Configuring CSIv2 authentication
Using RMI over IIOP with a Hardware Load Balancer
Limitations of WebLogic RMI-IIOP
Limitations Using RMI-IIOP on the Client
Limitations Developing Java IDL Clients
Limitations of Passing Objects by Value
Propagating Client Identity
11
Best Practices for Application Design
Use java.rmi
Use PortableRemoteObject
Use WebLogic Work Areas
How to Handle Changes in Security Context
A
CORBA Support for WebLogic Server
Specification References
Supported Specification Details
Tools
Scripting on this page enhances content navigation, but does not change the content in any way.