views:

28

answers:

0

I've got a fairly boring stateful session bean called MyEJB, and I'm using Glassfish 2.1 and javaws. Everything works fine, except method calls which return a lot of data are taking an inordinately long time. Wireshark tells me the network communication is over pretty quickly, so the problem is on the client side...in the stub. Using a number of profilers I can see that the following classes are eating up all the time:

_MyEJB_Wrapper __MyEJB_Remote_DynamicStub

But I can't find them anywhere. I was going to decompile them with jad to look for clues. I've dumped the classpath and searched through it, I've looked through ~/.java/deployment/cache and I've come to a dead end.

  • Is there anywhere I can see the generated sub code?
  • How are these classes being found if they're not in the classpath?
  • Does anyone know why the stub might be taking so long to return?