multithreading - Correct way to call XML-RPC service from an EJB -


i've got stateless ejb needs update website using xml-rpc. i've been using apache xml-rpc client (http://ws.apache.org/xmlrpc/). has been working fine, after method of called several times whole application server (glassfish v2.2) locks , need kill server respond again.

after extensive reading, believe caused thread manipulating in xml-rpc client, since thread manipulation not recommended in ejb.

i wondering, how 1 supposed call external services (such xml-rpc service) in ejb safe.

the problem not related apache xml-rpc client, memory allocation / garbage collection misconfiguration.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -