Oracle® Fusion Middleware Programming Stand-alone Clients for Oracle WebLogic Server 11g Release 1 (10.3.1) Part Number E13717-01 |
|
|
View PDF |
In the context of this document, a stand-alone client is a client that has a runtime environment independent of WebLogic Server. (Managed clients, such as Web Services, rely on a server-side container to provide the runtime necessary to access a server.) Stand-alone clients that access WebLogic Server applications range from simple command line utilities that use standard I/O to highly interactive GUI applications built using the Java Swing/AWT classes. The following sections provide an overview:
For information on license requirements when using client JARs and other resources provided in Oracle WebLogic Server for creating stand-alone clients, see "Stand-Alone WebLogic Clients" in Oracle Fusion Middleware Licensing Information.
IIOP can be a transport protocol for distributed applications with interfaces written in Java RMI. For more information, see:
Chapter 4, "Developing a Java EE Application Client (Thin Client)"
Chapter 6, "Reliably Sending Messages Using the JMS SAF Client"
For more information, see "Using RMI over IIOP" in Oracle Fusion Middleware Programming RMI for Oracle WebLogic Server.
A WebLogic Full Client is a Java RMI client that uses Oracle's proprietary T3 protocol to communicate with WebLogic Server. The WebLogic Full Client requires the largest JAR file (wlfullclient.jar) among the various clients, but it has the most features and is the best overall performer. The wlfullclient.jar also provides IIOP support. See:
"Using WebLogic RMI with T3 Protocol" in Oracle Fusion Middleware Programming RMI for Oracle WebLogic Server
If you are not working in a Java-only environment, you can use IIOP to connect your Java programs with Common Object Request Broker Architecture (CORBA) clients and execute CORBA objects. IIOP can be a transport protocol for distributed applications with interfaces written in Interface Definition Language (IDL) or Java RMI. However, the two models are distinctly different approaches to creating an interoperable environment between heterogeneous systems. When you program, you must decide to use either IDL or RMI interfaces; you cannot mix them.WebLogic Server supports the following CORBA client models:
You can use a JMX client to access WebLogic Server MBeans. See "Accessing WebLogic Server MBeans With JMX" in Oracle Fusion Middleware Developing Custom Management Utilities With JMX for Oracle WebLogic Server.
WebLogic Server provides a number of JMS clients that provide Java EE and WebLogic JMS functionality using smaller client footprints than the WebLogic full client (wlfullclient.jar).
Tip:
The WebLogic Full Client requires the largest JAR file (wlfullclient.jar) among the various Java clients, but it has the most features and is the best overall performer.JMS thin client, see Chapter 5, "WebLogic JMS Thin Client."
JMS SAF client, see Chapter 6, "Reliably Sending Messages Using the JMS SAF Client."
JMS C client, see "WebLogic JMS C API" in Oracle Fusion Middleware Programming JMS for Oracle WebLogic Server
JMS .NET client, see Oracle Fusion Middleware Using the WebLogic JMS Client for Microsoft .NET for Oracle WebLogic Server
WebLogic AQ JMS client, see "Stand-alone WebLogic AQ JMS Clients" in Oracle Fusion Middleware Configuring and Managing JMS for Oracle WebLogic Server. The WebLogic AQ JMS client obtains destination information using WebLogic Server JNDI and provides direct access to Oracle data base AQ JMS destinations using an embedded JDBC driver. It does not provide access to WebLogic Server JMS destinations.
A stand-alone Web Services client (wseeclient.jar) uses WebLogic client classes to invoke a Web Service hosted on WebLogic Server or on other application servers. See "Invoking a Web Service from a Stand-alone Client" in Oracle Fusion Middleware Getting Started With JAX-WS Web Services for Oracle WebLogic Server.
WebLogic Tuxedo Connector provides inter-operability between WebLogic Server applications and Tuxedo services. See:
"Developing Oracle WebLogic Tuxedo Connector Client EJBs" in the Oracle Fusion Middleware Tuxedo Connector Programmer's Guide for Oracle WebLogic Server
"How to Develop RMI/IIOP Applications for the Oracle WebLogic Tuxedo Connector" in the Oracle Fusion Middleware Tuxedo Connector Programmer's Guide for Oracle WebLogic Server
"How to Develop Oracle WebLogic Tuxedo Connector Client Beans using the CORBA Java API" in the Oracle Fusion Middleware Tuxedo Connector Programmer's Guide for Oracle WebLogic Server
The following table lists the types of clients supported in a WebLogic Server environment, and their characteristics, features, and limitations.
Note:
In this release, client applications should use the wlfullclient.jar file to provide the WebLogic Server specific functionary previously provided in the weblogic.jar file. You can generate the wlfullclient.jar file for client applications using the JarBuilder tool. See Appendix B, "Using the WebLogic JarBuilder Tool."Table 2-1 WebLogic Server Client Types and Features
Client | Type | Language | Protocol | Client Class Requirements | Key Features |
---|---|---|---|---|---|
WL Full Client (T3) |
RMI |
Java |
T3 |
wlfullclient.jar |
|
WLS-IIOP (Introduced in WebLogic Server 7.0) |
RMI |
Java |
IIOP |
wlfullclient.jar |
|
Java EE Application Client (Thin Client) (Introduced in WebLogic Server 8.1) |
RMI |
Java |
IIOP |
wlclient.jar JDK 1.5 and higher |
|
CORBA/IDL |
CORBA |
Languages that OMG IDL maps to, such as C++, C, Smalltalk, COBOL |
IIOP |
no WebLogic classes |
|
J2SE (or JSE) |
RMI |
Java |
IIOP |
no WebLogic classes |
|
JMS Thin Client (Introduced in WebLogic Server 8.1) |
RMI |
Java |
IIOP |
wljmsclient.jar wlclient.jar JDK 1.5 and higher |
|
JMS SAF Client (Introduced in WebLogic Server 9.2) |
RMI |
Java |
IIOP |
|
|
JMS C Client (Introduced in WebLogic Server 9.0) |
JNI |
C |
Any |
or
|
|
JMS .NET Client (Introduced in WebLogic Server 10.3) |
T3 |
.NET |
T3 |
|
|
WebLogic AQ JMS Client (Introduced in WebLogic Server 10.3.1) |
JNDI/JDBC |
Java |
IIOP/T3 + JDBC |
|
See "Stand-alone WebLogic AQ JMS Clients" in Oracle Fusion Middleware Configuring and Managing JMS for Oracle WebLogic Server. |
JMX |
RMI |
Java |
IIOP |
wljmxclient.jar |
See "Accessing WebLogic Server MBeans with JMX" in Oracle Fusion Middleware Developing Custom Management Utilities With JMX for Oracle WebLogic Server. |
Web Services |
SOAP |
Java |
HTTP/S |
wseeclient.jar |
See "Invoking a Web Service from a Stand-alone Client" in Oracle Fusion Middleware Getting Started With JAX-WS Web Services for Oracle WebLogic Server. |
C++ Client |
CORBA |
C++ |
IIOP |
Tuxedo libraries |
|
Tuxedo Server and Native CORBA client |
CORBA or RMI |
C++ |
Tuxedo-General-Inter-Orb-Protocol (TGIOP) |
Tuxedo libraries |
|
The following sections provide information on how to use the weblogic.jar and wlfullclient.jar files:
Prior to WebLogic Server 10.0, the weblogic.jar file was required for T3 and WLS-IIOP client applications to provide WebLogic Server-specific value-added features. For WebLogic Server 10.x and later releases, client applications requiring these features should use the wlfullclient.jar file instead of the weblogic.jar. See WebLogic Tuxedo Connector Clients for more information on client types, features, and class requirements.
You can generate the wlfullclient.jar file for client applications using the JarBuilder tool. See Appendix B, "Using the WebLogic JarBuilder Tool."
Note:
Continuing to use weblogic.jar in client-side applications may result in aClassNotFoundException
.Server-side operations continue to require a complete WebLogic Server installation, which includes the weblogic.jar. Typical operations requiring a complete WebLogic Server installation are:
Operations necessary for development purposes, such as the ejbc compiler.
Administrative operations such as deployment.
WLST and client-side JSR 88 applications that invoke server-side operations.