cancel
Showing results for 
Search instead for 
Did you mean: 

Java in XI

Former Member
0 Kudos

I now realize the Important of having Java. As I see more user defined functions are written in Java. I have the fundamental concepts of Java but not written any volumness program.

Would some one can show the correct path, what should I study in Java that will be really helpful in XI and also any Weblogs would help me to learn more.

Thanks again.

Accepted Solutions (0)

Answers (4)

Answers (4)

bhavesh_kantilal
Active Contributor
0 Kudos

Hi Jenni,

A very important place where you will use JAVA in XI is while doing your Mapping. There will be cases when JAVA MAPPING is the best solution to go for.

There are 2 types of Parsers available for JAVA Mapping. DOM Parser and SAX parser. Just got through the following links to understand more on Java Mapping and the APIs available.

http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/parsers/package-summary.html

http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Document.html

http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/package-frame.html

Hope this helps,

Regards,

Bhavesh

MichalKrawczyk
Active Contributor
0 Kudos

Hi Jenni,

you can also try attending:

<b>JA100 Java Start-up Kit</b>

https://websmp101.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=JA100&COL...

and later on:

<b>JA300 SAP J2EE Start-Up Kit</b>

https://websmp101.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=JA300&COL...

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>

Former Member
0 Kudos

Hi,

The best way to start is getting geared up with all the function of the predefined functions available in the mapping tool,and if you think somewhere in your sceanrio you need to go for user defined functions try to build the logic in a way where you can combine both of these.

and to acheive this and workaround the mappings i think your knowledge in java should work.if you want to work deeper in pitching up modules for adapters,you should have J2ee knowledge.

Cheers!

venkat

Former Member
0 Kudos

Jenni,

Java can be applied at different levels in SAP XI. Within the mapping tool you can for instance write your own Java routines/methods (better known as user-defined functions) to perform from very simple String manipulation to more complex algorithms. For these first two you will need to know at least the very basics of this programming language.

Additionally you also would need to have some knowledge of the most important API's in JAVA (http://java.sun.com/j2se/1.4.2/docs/api/) e.g. the java.util; java.io etc..

If you want to get the max. from your Java skills in XI then you might want to look at other areas for example, develop your own adapter modules (to give more functionality to the std. adapters or build your adapters). You can also perform more complex message mappings totally in Java. For these two areas you will need e very good understanding of Java and the related API's.

Look at these links for more info:

http://javaalmanac.com/

http://java.sun.com/docs/books/tutorial/

Cheers,

Roberto