Hi,

It is possible to connect a client to a session bean SessionBeanFactory containing a pool of the overs session.

and giving this method:

private Hashmap map;

SessionBean getSession(String nameToLookup)

{

if(map.contains(nameToLookup)) return map.get(nameToLookup);

//crete new connection to the bean session using a service locator

map.put(nameToLookup,mynewsession)

return mynewsession;

}

Regards.

--- You are currently subscribed to jdjlist as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] http://www.sys-con.com/fusetalk To unsubscribe from all mailing lists, click: http://sys-con.com/[EMAIL PROTECTED]

Reply via email to