cancel
Showing results for 
Search instead for 
Did you mean: 

Getting reference to JCO connection in a EJB session bean

Former Member
0 Kudos

Hello,

I am trying to connect to the CRM backend to retrieve some information. For this i need a JCO connection. What are my options? What i really want is a generic way by which i can create a system wide JCO connection in J2EE and then use it from an service / component that i create. I do already have a WebDynpro JCO destination that i have created. Not sure if i can use that as a generic JCO connection. I did read through some of the threads that have mentioned trying to use the JCO from the SLD - but i am still not clear on as to how to get the JCO connection.

Appreciate any help.

Thanks in advance.

Renchy Thomas

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi, Thomas!

For establishing a connection to R/3 you could either Enterprise Connector (as described in <a href="http://help.sap.com/saphelp_nw04/helpdata/de/ed/897483ea5011d6b2e800508b6b8a93/frameset.htm">Enterprise Connector</a>) or the SAP Resource Adapter (see <a href="http://help.sap.com/saphelp_nw04/helpdata/de/ed/897483ea5011d6b2e800508b6b8a93/frameset.htm">Java Resource Adapter</a>) - the JCA way.

Regards,

Thomas

Former Member
0 Kudos

Hi Thomas,

Thanks a lot for the info. I am going to go with the JRA approach.

rgds

Renchy