Skip to Content
avatar image
Former Member

Connection Pooling

Hi,

I have two doubts.

1) I am building a web application which hasan SAP system as backend .The web application basically delivers a web front end for some of the underlying SAP transactions. The web application utilises the SAP JCO to call the backend BAPIs. Can I create a pool of RFC connections by supplying only a single userid and password and use that pool for multiple users logged into the web application.

2)In another case I decide to log in to the web application with an SAP userid and password ,user validation done against SAP backend. I would like to use these individual userids and passwords to create pooled connections to backend. Would this mean that if there are N users N pools needs be created .

Kindly clarify

Regards

Pran

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jan 08, 2004 at 04:16 PM

    Hello Pran,

    Regarding your questions (I suppose it is regarding JCO outside of the Web Dynpro world, right?):

    1) Yes, this is possible, a pool is always bound to ONE userid and password meaning that all connections taken from this pool will also always use these credentials. It is a peculiarity of a SAP connection that it is always bound to a SAP User-ID and a SAP Client number.

    2) Yes, you are right, you have to create N pools for N different users. If you will need only one connection per user it would be easier not to create a pool but creating a JCO.Client directly.

    More documentation is available within the download files for the JCO. Please take a look at

    the Service Marketplace http://service.sap.com/connectors -> SAP Java Connector -> Tools & Services. FAQs are available here as well.

    But there is also some documentation available with a Web Dynpro based JCO Connection Service. If you are interested in that also, please let me know.

    Best regards,

    Karin

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks Karin...that was right to the point .

      Yes I would like to know how connection handling is done in the Web Dynpro world or please direct me to some documentation.

      Are there any license implications in sharing a single connection pool(based on single userid and password) for multiple web users

      Regards

      Pran