Since you are using EJB 2.0, you can/should be using Local interfaces to
access all your Entity Beans from inside your session beans (This is in
conjunction with the session facade pattern). This would reduce the network
overhead.

Also, in wls 6.1, you can even access your EJBs from the web tier using
local interfaces. This should solve the network issue to a great extent.

Regards
Sanjeev

-----Original Message-----
From: Sunder Rajan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 24, 2002 10:19 PM
To: [EMAIL PROTECTED]
Subject: Finders in EJB 2.0


Hi Everyone,
I have a general EJB question. We have finders that return a collection
of dataobjects from the entity bean. When we iterate through the
collection and execute dataobject.getValue a server call is being made
for each one of these getValue methods. This is resulting in slowdown
on weblogic 6.1. Is there a way to prevent this?

Thanks,
Sunder

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to