The SAP Java Connector must be able to access the metadata of all Remote Function Modules (RFMs) that are to be used by a Java client. A JCoRepository object is created to do this. The current metadata for the RFMs is retrieved either dynamically from the SAP server at runtime (recommended) or hard-coded.
Note
You must only create the JCoRepository object in the case of hard-coded metadata. This step is automatically executed internally by JCo when retrieving metadata.
Fig.: SAP JCo Repository
For more detailed information on the SAP JCo Repository, see: