How do I go about obtaining and using JCo?

How do I go about obtaining and using JCo?

I need JCo for interacting with our SAP database. Will I be able to get JCo knowing the OSS ID and password? Also, what are the different ways for interacting with SAP database using JCo using Tomcat Server? Is there a way for Linux OS?


    Requires Free Membership to View

    When you register, you will start receiving targeted emails from my award-winning team of editorial writers. Our goal is to keep you informed on the hottest topics and biggest challenges faced by SAP professionals today.

    Hannah Smalltree, Editorial Director

    By submitting your registration information to SearchSAP.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchSAP.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

You will need an SAP OSS ID and password to download JCo from http://service.sap.com/connectors. At this site, you will find version for both Windows and Linux. The Java development on each platform is similar, but you will need to ensure that the Java Native Interface libraries can be found in your system path.

Using Tomcat (an open source Java app server) you can deploy Java servlets and JSPs that use the JCo libraries to make RFC and BAPI calls. This outside-in approach allows you to access SAP functionality outside of the system. You can also use JCo from within SAP to call external Java libraries. This does not require Tomcat, per se, unless you are developing high traffic Java applications that need to deal with a lot of traffic from SAP. In that case, you would likely encapsulate your Java functionality in Enterprise JavaBeans, to better manage traffic loads.


This was first published in November 2002