No need to wait for Bob to open source his Domino Session PoolManager

In response to “Lessons in Domino, Java, Eclipse and Tomcat” at wissel.net:

Take a look at BurnPC where there is an example of using Jakarta Commons Pool to manage the pool side of things. Jakarta Commons Pool is the base for all pools (incl. the database connection pool) used in Tomcat and is rock solid. The only thing to do is to write the code for the Domino Session part of things which the site also has an example of. You might consider going that way.

The session pool is probably only applicable for remote Corba sessions since there will be some threading issues (due to the use of NotesThread initialization/termination) with the local session which will be difficult (but not impossible) to handle. If you want to use local session I can recommend a servlet filter/ThreadLocal approach (as described here).

Published by

lekkim

Positive, competent, out-spoken, frank and customer focused architect and developer with a strong foundation in web, cloud and product development. I'm a strong advocate for API first and cloud based solutions and development. I have a knack for being able to communicate and present technically complicated matters in conference, customer and training settings. I've previously acted as team member and leader in a product organisation.

One thought on “No need to wait for Bob to open source his Domino Session PoolManager”

  1. Hi Mikkel,
    thanks for the vector. Now I only need to upgrade my thread skills. I’m not sure what is worse: my Chinese or my understanding of threads
    🙂 stw

Comments are closed.