Skip to Content
author's profile photo Former Member
Former Member

Access JCO Destinations from EJB

We are building application with WebDynpro on the front end and EJBs implementing business logic. Application will access R/3 system on the back end. We access R/3 system from EJB. What will be the best way to get JCO connections in this case? We'd like to get them from SystemLandscape but this doesn't work from EJBs only from WebDynpro component. Any thoughts. Thanks.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 27, 2004 at 05:58 AM

    Hi Andrei,

    you can retrieve the jco connections from sld even from EJBs. You have to implement a CIMOM client service (as stateless session bean for example) connecting to the SLD where the required connection definitions are stored. Documentation is available here:

    Additional hints:

    The SLD JCO connections maintained by the WebDynpro content admin don't have a valid password. The password is replaced on creation/update for the SLD definition and stored in the secure storage. The key to access the password in the storage is the name of the jco connection.

    I would suggest to define seperate JCO destinations for the EJBs in the SLD and leave the WD managed connections for the use of Web Dynpro apps. To avoid security holes, use HTTPS for the SLD access.

    Hope that helps.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.