on 10-29-2009 1:11 PM
Hi ,
I wanted to know what are the major differences between JCO3 and JCO2.
Does JCO3 suffers from any drawback.
I am asking this ,as i did not see any api used to terminate the current session like in case of JCO2.
Any document providing on this would be helpful.
Best Regards
Manoj
That answers my question
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Advantages of JC03
1.JCo 3.0 to connect to SAP Systems
2.Improved connection management
3.Faster performance
4.Lower memory consumption
5.SystemLandscape API is no longer needed
6.Compatible to ARFC1 to allow easy migration
Thanks,
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manoj,
The problem with JCo 2.x was that the client model was kind of inconsistent (i.e. clients acquired directly versus clients retrieved from a connection pool). In general I don't think that you want to terminate sessions manually, instead this should be handled via the connection pool (i.e. automated disconnect after a configured amount of idle time). You can find some explanations of the differences between JCo 2.x and 3.x in the [SAP JCo Migration Guide|https://service.sap.com/~sapidb/011000358700000730362009D/SAPJCo_MigrationGuide_2.x_3.0_EN.pdf|Requires access to SAP service market place].
Note that JCo3 is not backwards compatible to JCo 2.x, but I think that's the only major drawback. Apart from that the API has been cleaned up and I personally benefited a lot from the improved memory management (less marshalling/unmarshalling of data from/to JNI layer, which allows for much higher data volume before getting memory errors in JVM). I remember having read some document that described all those changes, but couldn't find it. Closest one was the Migration Guide.
Best wishes, harald
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.