cancel
Showing results for 
Search instead for 
Did you mean: 

Connection reuse/sharing with Java web app and EP?

ChrisSolomon
Active Contributor
0 Kudos

Is it possible for a Java web application (not Webdynpro based) that is to be used in the portal to "poll" the open connections a user has to backend systems and then use an open connection if one is found that meets the need? If so, what APIs/Classes are exposed in the portal to allow this? Any short example code of doing this?

Thanks in advance!

Accepted Solutions (0)

Answers (4)

Answers (4)

mario_bisonti2
Participant
0 Kudos

Hallo.

In my NWDS I develop an application that I will deploy on EP 7.4 and I want to use a “JCO RFC Destination” that I define from the portal to an ABAP backend.

How could I do this in the java code?

I always find example on “Jco connector” standalone (sapjco 2.x and 3.x) but no example if I want to use a  “JCo RFC Provider: JCo RFC Destinations”

Could you help me?

Thanks a lot for your help.

Former Member
0 Kudos

How about the SAP System Connector, i am guessing this is pretty much what you need, see:

http://help.sap.com/saphelp_nw2004s/helpdata/en/89/8a185c148e4f6582560a8d809210b4/content.htm

ChrisSolomon
Active Contributor
0 Kudos

For clarification...this will NOT be a Webdynpro application. So then, will this still work? Is this something as simple as using the Pool Manager of the JCO? Would this have the same result?

Former Member
0 Kudos

Hi,

JCO Destinations can be used in webdynpro and java application because Destination service is a generic service hosted on the EP server.

In the approach suggested by Markova the SAP system will be created in System Administrator-> System Configuration -> Landscape configuration and the system can be used in the portal applications and j2ee applications.

Hope that helps.

Regards,

S.Divakar

Former Member
0 Kudos

Hi,

Destination service can be used to connect to the backend systems. The RFC destinations should be configured in the Webdynpro destination area.

refer: http://help.sap.com/saphelp_nw04/helpdata/en/17/d609b48ea5f748b47c0f32be265935/frameset.htm

The Data Sources can be directly accessed using the Context.

Hope that helps.

Regards,

S.Divakar