cancel
Showing results for 
Search instead for 
Did you mean: 

SAP CE 7.1: SAP Enterprise Connector, JCo deprecated

Former Member
0 Kudos

Hello,

Anyone have any ideas as to why even in NWDS 7.1 creating a "SAP Connectivity" > "SAP Enterprise Connector" still generates proxy objects containing MessageSpecifier objects which require a JCO.Client?

And why in SAP NetWeaver CE Library there is still suggested JCO.Client http://help.sap.com/saphelp_nwce10/helpdata/en/17/d609b48ea5f748b47c0f32be265935/frameset.htm

If I want to execute this:

JCO.Client client = JCO.createClient (<SAP client>, <userid>, <password>, <language>, <hostname>, <system number>)

I get this exception:

java.lang.NoClassDefFoundError: com/sap/mw/jco/JCoClient

(fyi: I added the DC com.sap.mw.jco)

Why do I get this exception? Which DC do I have to add?

My third quetsion:

How can I work with SAP Enterprise Connector without the usage of JCO.Client?

Regards,

Armin

Accepted Solutions (0)

Answers (2)

Answers (2)

Benny
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Armin,

where did you hear that JCo is deprecated?

And why are you not using JPA for this connection?

Regards,

Benny

Former Member
0 Kudos

Hi,

you can see this here http://help.sap.com/saphelp_nw2004s/helpdata/en/40/003c41325fa831e10000000a1550b0/frameset.htm and as I write above the DC com.sap.mw.jco is depricated.

But the sapjco.jar is not depricated if you don't work with DCs.

JPA? I think you mean J2EE Connector Architecture (JCA). I don't use JCA beause I use the SAP Enterprise Connector which is really comfortable to access RFCs. Do you or anybody else know a howto for JCA 1.5 to access RFCs?

One other question:

Does SAP Connector Framework (based on JCA) still exist in SAP NW CE 7.1?

Regards,

Armin

Benny
Product and Topic Expert
Product and Topic Expert
0 Kudos

Well, I'm not sure if this is well formulated, as JCo is the base of JCA (You're correct, that was what I meant). However, JCA must be used for new development.

A simple search for JCA on articles discovers a lot of literature. Didn't you want to use this with EP? There is a nice one from Jithin Radhakrishnan in <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90fc8a14-a02c-2a10-5a91-821561099192">this Article</a>.

For sure future versions carry JCA, as this is to my knowledge part of the EE standard...

Regards,

Benny

Former Member
0 Kudos

What do you mean with EP?

Benny
Product and Topic Expert
Product and Topic Expert
0 Kudos

EP = Enterprise Portal, SAP's Portal solution.

Sorry for this!

Regards,

Benny

Former Member
0 Kudos

At the moment I'm implementing a Business Connectivity Layer (BCL) with SAP NW CE where I use several BAPIs/RFCs of a R/3 backend. I want to use this in a Web Dynpro application which will run in the CE Portal. I realize the BCL with the SAP Enterprise Connector which generates proxy objects based on JCo.

So <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90fc8a14-a02c-2a10-5a91-821561099192">this</a> article doesn't help me.

I need a howto which describes how I can implement the access to RFCs with JCA 1.5.

Former Member
0 Kudos

I have a similar question about the deprecation ...

... but for me the deprecated JCo-API worked...

I think you should set a "Runtime" Dependency for the "com.sap.mw.jco"-DC in the DC-Properties.

Kind Regards,

Otto