Q

JCo and multi-threaded BAPI applications

I want to write a multi-threaded BAPI application, and I am concerned about overhead. If I have a few threads that...

call different RFCs, can they share the same JCO.Client object or do they all need their own connection to R/3? What if I want to call the same RFC in R/3 using many threads? Is this possible, and does each thread need it's own connection? What about the repository object?


The JCo Repository is thread-safe, so you can share one. And yes, you need one connection for each concurrent access to SAP. Sharing connections between threads is not allowed.


This was last published in January 2003

Dig Deeper on SAP ABAP

PRO+

Content

Find more PRO+ content and other member only offers, here.

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.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close