> 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".