Problem solve Get help with specific problems with your technologies, process and projects.

How do I go about obtaining and using JCo?

A reader inquires about how to obtain and use JCo for interacting with an SAP system.

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?

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.

Dig Deeper on SAP Java and J2EE

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.