Client Socket Pooling

As per the EJB Spec FAQ listed below I am allowed to create a client socket in an EJB ( I will be using stateless session beans).

Why can an enterprise bean not listen to or accept connections on a socket?

...Enterprise beans can be network socket clients, and so they can

use other network resources (including other

enterprise bean servers) todo their jobs. .....

My question is if i can pool them in similar fashion as Database Connections. I have to perform a look up across the network and I really don't have any idea how often this will occur and I would like to save the over head of creating a new connection each time.

[704 byte] By [joshholla] at [2007-11-26 18:44:05]
# 1
I don't know any facility as such but see if you can taake the help of Java Cache System by which you can cache the Socketjakarta.apache.org/jcs/www.java-source.net/open-source/cache-solutionsBye for nowCSJakharia
CSJakhariaa at 2007-7-9 6:18:00 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...