Hello Karthi,
HttpClient does create sockets. And it creates threads
in some situations, for example when using timeouts
while creating sockets. It's definitely not EJB friendly.
cheers,
Roland
Karthikeyani K <[EMAIL PROTECTED]>
04.08.2004 17:20
Please respond to
"Commons HttpClient Project"
To
[EMAIL PROTECTED]
cc
Subject
Invoke a httpclient in a EJB
Hi,
We have all requests posted to a servlet which delegates the
request to a Stateless Session Bean. Does creatring and invoking a
Httpclient postmethod in a helper class invoked by the Stateless Session
Bean violate any of the EJB specifications. (EJB spec says sockets are not
to be created in EJB code etc. ). Please suggest.
Thanks,
Karthi
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com