cancel
Showing results for 
Search instead for 
Did you mean: 

RFC proxy generation in EJBs

former_member190457
Contributor
0 Kudos

Hi all,

I would like to create RFC proxies (just like WD models) in my EJB.

I have found the "import R/3 module" in NWDS.

Does this procedure generate SOAP proxies or RFC proxies?

Moreover it does not compile


package com.sap.mw.jco does not exist

Which dependency is missing?

Any pointer to related resources would be greatly appreciated.

Thanks, regards

Vincenzo

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

This is RFC proxies. Are you using NWDI? If yes include the dependency for JCO on you Application. If no, try to create a External Library with JCO libraries and put it as dependency on your application.

Best regards

former_member190457
Contributor
0 Kudos

Hi Isaias,

thanks for your reply, did you use this proxies in practice?

Could you please specify which the required DCs are? I'd rather not add extra dependencies.

In addition, I assume you must add runtime dependencies to the EAR, which are these?

Thanks, regards

Vincenzo

Former Member
0 Kudos

Hi Vincenzo,

How RFC proxy is deprecated on newer NetWeaver versions, I've prefered don't use this. I've some projects with EJB 3 that consume RFCs as Web Services and using JRA.

But, you can try to add ENGFACADE-> tc/bl/jrfc/api

Best regards

former_member190457
Contributor
0 Kudos

Hi, thanks again

Does JRA allow you to generate proxy classes?

I recall you must do time-consuming low-level coding.

Do you know a way to emulate Web Dynpro models in EJB?

thanks, again

Regards, Vincenzo

Former Member
0 Kudos

Hi Vincenzo,

JRA doens't have option to generate proxies, In this case we need to write the access code, but isn't too hard.

Currently I'm using JRA mainly on scenarios where I need ACID on SAP and JDBC transactions.

In others projects I've generated Web Services Proxies, its more closer to RFC proxies (Performance isn't the most important on this)

You can see about ARFC2 (https://cw.sdn.sap.com/cw/docs/DOC-100879) this link shows how to user ARFC2 without Web Dynpro

Best regards

Answers (0)