Hi,
did you find out what the probem is? Because I have a quite similar - maybe the same - problem.
I do a remote-call from a servlet to a stateless EJB which performs a query and returns a list of entity beans without any references, they contain 2x long and 2x string fields only. My only concern is that the amount of found results is about 35000. My performance lack is that the query takes about 700ms until it leaves the stateless EJB but the method call in the servlet takes about 5-7 minutes(!) without processing any further line but the call to the EJB.
I'm currently experimenting with finer logger settings but could not draw any conclusion yet :(
[Message sent by forum member 'achimheynen' (achimheynen)]
http://forums.java.net/jive/thread.jspa?messageID=339998