cancel
Showing results for 
Search instead for 
Did you mean: 

How many connection opened for webdynpro java

Former Member
0 Kudos

Hi,

I have 2 webdynpro java application.The applications sharing the same backend function module.Could anyone tell me

How many connection will be established when the same user wants to open 2 different application but these 2 application shares the same function module.

Thanks

Kanai

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos
Former Member
0 Kudos

Kanai,

A connection is unique for the combination of User Session -> Model -> Backend.

If one of these change a new connection will be used.

In your example if the function module used is in the same model in both application one connection otherwise two.

Hope this helps,

Regards,

Ashok

Former Member
0 Kudos

Hi,

In webdybnpro ,each Model in an Application utilizes a seperate Connection.If u create JCO connection pool for the User then while connecting to backend

1)The JCO connection pool Manager will open a new connection pool and opens the first connection.

The next available connection from the pool is allocated to the model object.

2)The model object is now able to invoke the required functionality in the ABAP system.

3) When the connection is no longer required by the application, it is returned to the pool.

4) The connection remains logged on to the backend system until either the next application

request is received, or the connection timeout is reached.

5) If no application requests arrive before the timeout is reached, the connection is flagged

for closure.

Note:-If an Application contains 2 models which are connecting to same ABAP system then second Model can be told to share the same JCo connection used by First model This is done by calling its setConnectionProvider() method.

Regards,

Sunaina Reddy T

Former Member
0 Kudos

Hi,

Two connections will open.

Regards,

Sunaina Reddy T

Former Member
0 Kudos

Hi,

Could you tell me how 2 connection will be opened??

thanks

Kanai

Former Member
0 Kudos

hi

when you are developing your application and you would be providing the jco parameters

and with respect to the number of application you and open and corresponding application connected to the

functional module is same , with same JCOs , so with respect to the number of application , so number of

users get created.

Thanks

former_member192434
Active Contributor
0 Kudos

Hi

Most probably its depends on how many session you allowed to open, while creating JCO(Model/Metada) .

As per user is conceren, user can open multiple session of application as long as it meets the above line

Hope will hlep u

Thanks