This chapter includes the following sections:
This document is written for application developers who want to build e-commerce applications using Remote Method Invocation (RMI) and Internet Interop-Orb-Protocol (IIOP) features. It is assumed that readers know Web technologies, object-oriented programming techniques, and the Java programming language. This document emphasizes the value-added features provided by WebLogic Server and key information about how to use WebLogic Server features when developing applications with RMI.
This document describes the Oracle RMI implementation of the Remote Method Invocation (RMI) specification. The Oracle implementation is known as WebLogic RMI.
This chapter, Introduction and Roadmap, introduces the organization of this guide.
Understanding WebLogic RMI, is an overview of WebLogic RMI features and its architecture.
WebLogic RMI Features, describes the features that you use to program RMI for WebLogic Server.
Using WebLogic RMI Annotations, describes how to use WebLogic RMI annotations to provide remote access to plain java objects.
Using the WebLogic RMI Compiler, provides information on the WebLogic RMI compiler.
Using WebLogic RMI with T3 Protocol, provides information on using RMI and the T3 protocol.
How to Implement WebLogic RMI, provides a simple step by step example of how to implement WebLogic RMI.
Using RMI over IIOP, defines RMI over IIOP and provides general information about the WebLogic Server RMI-IIOP implementation.
Configuring WebLogic Server for RMI-IIOP, describes concepts, issues, and procedures related to using WebLogic Server to support RMI-IIOP applications.
Best Practices for Application Design,describes recommended design patterns when developing RMI and RMI over IIOP applications.
CORBA Support for WebLogic Server, provides information on CORBA support for WebLogic Server.
For information on topics related to WebLogic RMI, see the following documents:
Java RemoteMethod Invocation (RMI) at
http://docs.oracle.com/javase/6/docs/technotes/guides/rmi/ is a link to basic tutorials on Remote Method Invocation.
Developing Applications for Oracle WebLogic Server is a guide to developing WebLogic Server applications.
Developing JNDI Applications for Oracle WebLogic Server is a guide using the WebLogic Java Naming and Directory Interface.
Developing Stand-alone Clients for Oracle WebLogic Server is a guide to developing common stand alone clients that interoperate with WebLogic Server.
Tuning Performance of Oracle WebLogic Server contains information on monitoring and improving the performance of WebLogic Server applications.
http://www.oracle.com/technetwork/java/javase/tech/corba-135898.html provides an overview of CORBA and Java platform.
http://docs.oracle.com/javase/6/docs/technotes/guides/idl/index.html contains information using standard IDL (Object Management Group Interface Definition Language) and IIOP.
http://www.omg.org is the Object Management Group home page.
CORBA Language Mapping Specification at
In addition to this document, Oracle provides a variety of code samples and tutorials for developers. The examples and tutorials illustrate WebLogic Server in action, and provide practical instructions on how to perform key development tasks.
Oracle recommends that you run some or all of the RMI examples before developing your own applications.
MedRec is an end-to-end sample Java Platform, Enterprise Edition (Java EE) application shipped with WebLogic Server that simulates an independent, centralized medical record management system. The MedRec application provides a framework for patients, doctors, and administrators to manage patient data using a variety of different clients.
MedRec demonstrates WebLogic Server and Java EE features, and highlights Oracle-recommended best practices. MedRec is optionally installed in the WebLogic Server installation. You can start MedRec from the
\user_projects\domains\medrec directory, where
ORACLE_HOME is the directory you specified as Oracle Home when you installed Oracle WebLogic Server. For more information, see "Sample Applications and Code Examples" in Understanding Oracle WebLogic Server.
MedRec includes a service tier comprised primarily of Enterprise Java Beans (EJBs) that work together to process requests from web applications, web services, and workflow applications, and future client applications. The application includes message-driven, stateless session, stateful session, and entity EJBs.
WebLogic Server optionally installs API code examples in the
\wlserver\samples\server\examples\src\examples directory, where
ORACLE_HOME represents the directory in which you installed WebLogic Server. For more information about the WebLogic Server code examples, see "Sample Applications and Code Examples" in Understanding Oracle WebLogic Server.
This section includes new and changed features for recent patch sets of WebLogic Server:
New WebLogic RMI annotations that provide remote access to plain java objects. See Using WebLogic RMI Annotations.
A new connection attribute,
WLContext.CONNECT_TIMEOUT, to define the length of time a client waits for connections to the server to be bootstrapped or re-established.
WLContext.REQUEST_TIMEOUT is deprecated. See Using a Connect Timeout.
A new connection attribute,
WLContext.RESPONSE_READ_TIMEOUT, to define the length of time that a client waits to receive a response from a server.
WLContext.RMI_TIMEOUT is deprecated. See Using a Read Timeout.
For a comprehensive listing of the new WebLogic Server features introduced in this release, see What's New in Oracle WebLogic Server 12.2.1.