Wouldn't this have to do with serialization?  An EJBObject has to
be marshalled and unmarshalled and compared with local classes and so on,
while a primitive is just bytes.  Well, not really, but much more
lightweight.

Aaron

On Wed, 14 Jun 2000, Rickard [iso-8859-1] �berg wrote:
> Hey
> 
> Fixing jBoss architecture (touching up mostly) and ran into some
> performance issues. If I call a method that takes or return an EJBObject
> it is superslow. It is vastly improved by removing the security manager
> but it still takes about 15 ms/call. Plain call with primitive arguments
> is about 2ms/call.
> 
> I'm trying to locate the problem, but it's not easy. Does anyone know of
> any good tools to check bottlenecks in a system?
> 
> Thanks,
>   Rickard
> 
> -- 
> Rickard �berg
> 
> @home: +46 13 177937
> Email: [EMAIL PROTECTED]
> http://www.telkel.com
> http://www.jboss.org
> http://www.dreambean.com
> 


Reply via email to