cancel
Showing results for 
Search instead for 
Did you mean: 

Java Usage in XI

Former Member
0 Kudos
75

Hi,

I am new to XI, moved from java. What are runtime environments are used in XI and How to acess these environments in XI. I need how java is useful in XI.

Thanks,

RamuV

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

it's very useful to know java in XI.

Some components run on java like Integration Repository and Integration Directory.

Most useful is java for writing mappings in java or you can write user defined functions in message mapping.

Here you will get a good overview about the components of XI:

http://help.sap.com/saphelp_nw04/helpdata/en/53/fe48b44c5e4bcab5c71fdcf3ee9bc7/frameset.htm

Regards

Patrick

Edited by: Patrick Koehnen on Jun 17, 2008 6:08 PM

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi kasi rajesh ,

>> I need how java is useful in XI.

If u r a java developer , u may be having sound knowledge on JDBC,XML,XSLT..etc which u come across in XI. The messages will be in XML format which r exchanged b/w systems.

JDBC is one method thru which we can Xchange messages.

And also an important thing , we need UPLOAD JAVA CODE into XI to achieve certain functionality.

So, it is advantageous 2 u.

Check the following websites which will answer u'r question.

SAPu2018s Exchange Infrastructure

http://www.omg.org/interop/presentations/2002/sinisa_zimek.pdf

SAP Exchange Infrastructure 3.0 Integrating Heterogeneous Systems with Ease

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1ebea490-0201-0010-faad-a32...

SAP NetWeaver Visual Composer

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/events/sdn-meets-l...

SAP Exchange Infrastructure for Developers ( This is an excellent website for free pdf book for XI)

http://www.sap-press.de/download/dateien/1191/sappress_exchange_infrastructure.pdf

Exchange Infrastructure : XI Transaction Codes

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/xiTransactionCodes&

A Beginner's Guide to SAP XI Settings part I

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/73527b2c-0501-0010-5398-c4a...

A Beginner's Guide to SAP XI Settings part II

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6bd6f69a-0701-0010-a88b-adb...

SAP XI AND SLD

http://www.sappro.com/downloads/nov06/XIandSLD.pdf

Exchange Infrastructure Learning Map

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/learning+map&;

SAP Exchange Infrastructure eLearning Catalog(U wil get all downloads regarding XI starting from basics to end)

https://www.sdn.sap.com/irj/sdn/xi-elearning

All Articles on SAP NetWeaver Exchange Infrastructure(This website gives al articles on XI)

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/f04b44aa-fe06-2a10-859e-82ad4... [original link is broken]

Mastering SAP Netweaver XI - Programming( PDF Book for XI)

http://www.sap-hefte.de/download/dateien/1241/140_leseprobe.pdf

SAP XI Learning Guide

http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci1008087,00.html

SAP Exchange Infrastructure 2.0

http://www.sun.com/third-party/global/sap/collateral/SunSAPWP_final.pdf

http://help.sap.com/bp_bpmv130/Documentation/Planning/TechnicalInfrasture.pdf

Process Integration with SAP Netweaver new features and functions

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4042611d-04e5-2910-bd9d-f97627b1...

SAP NetWeaver Process Integration 7.1 u2013Overview

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/706005a3-3bd6-2910-91ae-a2016239...

End To End Process Integration Features in SP15 and higher incl. SAP NetWeaver 2004s

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6a90d6aa-0b01-0010-8a83-cf0...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/54f20a2e-0801-0010-f787-876...

http://www.english.bcc.com.pl/index.php?s=504&p=2

https://www.sdn.sap.com/irj/sdn/xi

http://tsr.strain.at/space/SAP+XI

https://www.sdn.sap.com/irj/sdn/xi

http://www.sapag.co.in/How-To-Guides-on-Portal.htm(interview questions for XI , EP)

http://www.sap-hefte.de/download/dateien/964/074_lesesprobe.pdf

http://www.sap-press.com/downloads/h982_sample_chapter.pdf

/people/william.li/blog/2007/09/07/posting-and-testing-using-xipi-http-adapter(file 2 http)

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3d1ac590-0201-0010-4b90-f71... to netweaver)

http://www.english.bcc.com.pl/index.php?s=504&p=2#i2

[original link is broken](adapters)

http://nilkanthk.googlepages.com/XIQuestions.pdf

All Articles on Monitoring and Troubleshooting

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/0067dcfa-5f28-2a10-5094-cf72b... [original link is broken]

cheers!

gyanaraj

****Pls reward points if u find this helpful

Former Member
0 Kudos

Java is very useful in XI.

Since you are having a background or Java you will better do coding for Java Mapping, Java Proxy.

Even UDF during the mapping.

Even you can participate in Adapter and Module development area.

Gaurav Jain

Former Member
0 Kudos

Hi,

XI is majorly developed in the java language and few components developed in the ABAP.

We have some predefined functions in XI Graphical mapping, but some times it may not suit to our requirement on that time according to our requirement we can write the java code.

All the Converstion programs are written in Java Code.

JAVA PROXY

1. RFC/BAPI

2. IDoc

3. Proxy

By using these ways we can connect to the R/3

If there is no IDoc or RFC is suitable to our requirement then we go for Proxy,

Go to ABAP and execute the SPROXY T-code

select the msg interface --> right click --> java proxy generation.

Java proxy require 3 jar files that are

1. aii_proxy_xirt.jar

2. aii_utilxi_misc.jar

3. guidgenerator.jar

Mainly for writing the UDFs and in Proxies we can use the java,

Former Member
0 Kudos

Hi,

SAP XI is developed using both ABAP and Java.

Java is used in XI to work with User Defined Functions (UDF) and Java Mappings.

UDF is like a sub-routine which is used in mapping logic. Also Java Mapping is a kind of mapping used in XI, where the mapping logic is to be written in Java language.

Regards

Bhanu

Intelligroup.

GabrielSagaya
Active Contributor
0 Kudos

Integration Directory and Integration Repository, SLD are developed in JAVA.

Java is useful in UDF, java mapping, adapter module, java proxy development.

runtime environments

String headerField;

java.util.Map map;

// get runtime constant map

map = container.getTransformationParameters();

// get value of header field by using variable key

headerField = (String) map.get(key);

For example, to read the message ID from the message header, the variable key must have the value MessageId and not MESSAGE_ID.

http://help.sap.com/saphelp_nw04/helpdata/en/b3/9a2aeb24dc4ab6b1855c99157529e4/content.htm

Former Member
0 Kudos

HI Rajesh,

In XI Java is very useful. There is Adapter Engine is exist its

run on Java Runtime Environment. Adapter Engine convert Different formats into XML Adapters are used in both sender and receiver side.

Adapter Engine is in J2EE stack

Integration Engine is in ABAP stack.

Some inputs-

All the Converstion programs are written in Java Code.

Whenever you are mapping source and target values you have to use java code. If you use Graphical mapping it internally convert to java code.

Thanks,

RamuV