If you want to use business logic that runs on SAP NetWeaver 2004 Application Server (AS) Java or SAP NetWeaver 7.0 AS Java, you need to add an extra client JAR that ensures the proper communication between the systems. You have to add this JAR as a library reference to your application.
To use enterprise beans that reside on SAP NetWeaver 2004 AS Java or SAP NetWeaver 7.0 AS Java, you have to add a reference to the library tc~je~ejb~client~640 in the application-j2ee-engine.xml of your application:
<reference reference-type="hard"> <reference-target target-type="library" provider-name="sap.com">tc~je~ejb~client~640</reference-target> </reference>