Package com.sap.mdm.net

Provides classes and interfaces for creating and representing connections to the MDM server.

See:
          Description

Interface Summary
Connection This interface represents a generic connection to the MDM server.
ConnectionAccessor This interface represents an accessor to a connection.
ConnectionPool This interface defines the methods and properties for the connection pool.
ConnectionPoolListener This interface defines the listener for receiving connection pool changes.
SimpleConnection This interface defines methods and properties for a simple connection.
 

Class Summary
ConnectionPoolEvent An event for a connection pool, such as a connection reserved, a connection is created, etc.
ConnectionPoolFactory This class manages the creation and the access to all connection pools.
MdmSecureSocketFactory Wrapper class combining SUN and SAP secure socket factory implementations
SimpleConnectionFactory This class allows for creating a connection to the MDM server.
 

Exception Summary
ConnectionException A checked exception indicating a connection to the MDM server failed.
MdmSSLException This exception indicates problems that can occur while creating a SSL socket factory.
 

Package com.sap.mdm.net Description

Provides classes and interfaces for creating and representing connections to the MDM server.

Overview

For the MDM Java API to communicate with the MDM server, it needs a TCP/IP socket connection to the MDM server. The MDM Java API uses an internal MDM Network Protocol to communicate with the MDM server. In normal usage the MDM Java API sends a request to the MDM server. The MDM server processes the request. The MDM server sends the data back to the MDM Java API. Occasionally, the MDM Java API also receive asynchronous notifications from the MDM server.

Here is the diagram illustrating the relationship:

Connections

By default the MDM Java API opens a socket connection to the MDM server at port number 20005. If the MDM server is behind a firewall, the necessary permissions should be provided. A connection to the MDM server can also be a trusted connection. Trusted connections are configured through configuration files on the MDM server.

The MDM Java API provides connection pools as well as simple (dedicated) connections. A simple connection is obtained using the factory class SimpleConnectionFactory. Connection pools are created using the class ConnectionPoolFactory.

Related Documentation

See Also:
com.sap.mdm.commands


Copyright 2004-2007 by SAP AG. All Rights Reserved.

SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies (SAP Group) for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.