If the CMP beans can do it, why don't they provide a standard method which
can be used by BMP to do it?
-----Original Message-----
From: Jonathan K. Weedon [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 21, 2000 3:09 PM
To: [EMAIL PROTECTED]
Subject: Re: ejbFindBy & ejbLoad
> Now the doubt is how do I create new entity bean, I don't think I can do
new
> MyBean(), is there anyway using EJBHome or EntityContext I can achieve
this.
> If this is not possible, isn't the Entity Bean concept has some serious
> performance problem, where as the traditional jdbc program can do this is
in
> one query?
Ben,
I just wanted to point out that the problem is due to your trying to use
BMP to implement your entity beans. The optimization that you suggest
(loading all the beans with a single SQL statement) is provided by many
CMP engines. It just can't be done in a portable fashion using BMP.
Don't throw out the baby with the bath water: CMP Entity Beans can have
excellent performane. It is just BMP Entity Beans which have these
performance limitations.
-jkw
===========================================================================
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".
[INFO] -- Content Manager:
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and all
copies of it from your system, destroy any hard copies of it and notify the
sender. You must not, directly or indirectly, use, disclose, distribute,
print, or copy any part of this message if you are not the intended
recipient. CREDIT SUISSE GROUP and each of its subsidiaries each reserve
the right to monitor all e-mail communications through its networks. Any
views expressed in this message are those of the individual sender, except
where the message states otherwise and the sender is authorised to state
them to be the views of any such entity.
Unless otherwise stated, any pricing information given in this message is
indicative only, is subject to change and does not constitute an offer to
deal at any price quoted.
Any reference to the terms of executed transactions should be treated as
preliminary only and subject to our formal written confirmation.
===========================================================================
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".