goal
Spring was to facilitate programming complexity in the java world. As a JAVA programmer, your desire is not surprising :)
Spring provides a wrapper around standard JAVA specifications such as JTA, JDO, JDBC, etc. While JCo is just a connector API provided by SAP to interact with internal SAP objects and interfaces. As far as I know, Spring currently does not support JCo.
JCo3 supports JCoContext for state connections, which helps a little, but not as much as you might need.
In fact, you may need to implement JCoServerTIDHandler and another interface from the same package (I donβt remember exactly) for effective control over transaction management. Ultimately, this will mean an implementation of the Java Connector Architecture (JCA). This will be the right solution for your problem.
Hope this helps.
source share