• Post Reply Bookmark Topic Watch Topic
  • New Topic

Instance Pooling in Java  RSS feed

 
Gaurav Gupta
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can you tell me the strategies for creating Instance pools in Java. What are the different public methods to be created in the Pooling/controlling class. Should this class be a Singleton?
Thanks
 
Wayne L Johnson
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whether you are interested in using an existing pooling scheme or writing your own, you might want to start at: Apache Jakarta pools . You can download the pooling classes and use or extend them as necessary. Or you can read through their documentation and get an idea of what they define as a public interface.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!