Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Are there application context variables on WebAS like in tomcat?

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.



Former Member
Former Member replied


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.


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question