cancel
Showing results for 
Search instead for 
Did you mean: 

Are there application context variables on WebAS like in tomcat?

Former Member
0 Kudos

Hello @ all,

can anyone tell me if there is a possibility to store variables in an application context on WebAS like in tomcat.

I need this possibility to implement a connection pooling on a server wide basis. Where i thought of implementing a singleton to do the connection pooling and i wanted to store this in the application context of WebAS if there is one.

Any hint or link to documentation would be very welcome.

Thanks

Tobi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Since you are in the portal forum, I assume you have a portal installed.

You can then create a portal service, which will function as a singleton for the application server. Note however that if you run a cluster of many application servers, each of them will have an instance of it.

Dagfinn

Answers (0)