Programming WebLogic RMI
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
Understanding WebLogic RMI
What is WebLogic RMI?
Features of WebLogic RMI
WebLogic RMI Features
WebLogic RMI Overview
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
Creating Pinned Services
Dynamic Proxies in RMI
Using the RMI Timeout
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
Using WebLogic RMI with T3 Protocol
RMI Communication in WebLogic Server
Determining Connection Availability
How to Implement WebLogic RMI
Procedures for Implementing WebLogic RMI
Creating Classes That Can Be Invoked Remotely
Step 1. Write a Remote Interface
Step 2. Implement the Remote Interface
Step 3. Compile the Java Class
Step 4. Compile the Implementation Class with RMI Compiler
Step 5: Write Code That Invokes Remote Methods
Hello Code Sample
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
Protocol Compatibility
Server-to-Server Interoperability
Client-to-Server Interoperability
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
Best Practices for Application Design
Use java.rmi
Use PortableRemoteObject
Use WebLogic Work Areas
How to Handle Changes in Security Context
Guidelines on Using the RMI Timeout
CORBA Support for WebLogic Server
Specification References
Supported Specification Details
Tools