Hi!

Stephan Gruschke wrote:
> It's obvious that rmi communication must be done for client
> communication (even the session bean is an client to the entity
> beans). Is there any way to optimize the connection and bypassing rmi
> if both beans are in the same process environment?
> 
> After exhaustive testing i think that's one of the main performance
> problems. Anyone did the same experiences?

If the beans are deployed in the same jar then we can bypass RMI,
otherwise not. This is also done today. There is an optional flag which
lets you skip the copying of parameters for "same process" case, so that
no RMI and no copying overhead is added.

/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