Showing results for 
Search instead for 
Did you mean: 

Understanding message flow in XI

Former Member
0 Kudos


In Understanding message flow in XI /people/siva.maranani/blog/2005/05/25/understanding-message-flow-in-xi

1. What is API and SPI.

2. In return diagram What is the functionality of "servlet"

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hello Anil,

<b>An application programming interface (API)</b> is a source code interface that a computer system or program library provides to support requests for services to be made of it by a computer program. An API differs from an application binary interface in that it is specified in terms of a programming language that can be compiled when an application is built, rather than an explicit low level description of how data is laid out in memory.

The software that provides the functionality described by an API is said to be an implementation of the API. The API itself is abstract, in that it specifies an interface and does not get involved with implementation details.

Two well known APIs are the Single UNIX Specification and the Microsoft Windows API.

An API is often a part of a software development kit (SDK).

The term API is used in two related senses:

A coherent interface consisting of several classes or several sets of related functions or procedures.

A single entry point such as a method, function or procedure.

<b>SPI : Security Parameters Index</b>

Active Contributor
0 Kudos

1. The Adapter Framework communicates using JCA 1.0 (Java Connector Architecture 1.0) connections (2) and the JCA 1.0 Common Client Interface (CCI) with an adapter. The JCA 1.0 container of the SAP J2EE server uses the JCA 1.0 <b>Service Programming Interface</b> (SPI) to exchange server-relevant information with the adapter according to JCA 1.0 (1). Therefore, the adapter must be a JCA 1.0-compliant resource adapter.


API are application programming interfaces that are can be seen as group of functionalities to aceess some data.

2. Can u clarify which servlet r u talking about



Former Member
0 Kudos


API means application program interface

but there is nothing about SP1 might be it is something related support packages one or two etc.


Former Member
0 Kudos

It is SPI not SP1

Former Member
0 Kudos


servlet is a java class , i mean to say a *.class file,

servlet is a server side component, which is executed by the servlet conainer present in a j2ee architecture based web server or application server,

In a j2ee based server-client appliation, servlet is a server side component, which resides in the server, and a client application sending request to the server is handled by the servlet, which than performs various task by calling different other classes present in the server,

API(application program interface) means a set of classes, which performs a discrete function, which are generally provided as jar(java archive) files,

for example, if i write a class to add two numbers, that can also be called an API,

In XI there are several java API provided to perform differet functions like, calling an RFC enables Function Module , accessing a database,

so that when u write a code for example a java code in a UDF or a java archive in ur scenario in XI, u can use these API provided by SAP to do ur work on ur behalf,

sorry, i couldnt find the word SPI in the blog

thanks n regards