Re: BMP Entity Bean Performance Problem

2002-02-20 Thread Scott Farquhar
Tim, As I am not sure of the exact nature of your entity beans, I can't give you any detailed suggestions, but many people impement a 'dirty' flag in their code. eg: void setName(String name) { dirty=true; this.name = name; } ejbStore() { if (!dirty) return; else {

BMP Entity Bean Performance Problem

2002-02-20 Thread Tim Kang
Hi I am using JSP (client) and BMP Entity beans (for mysql db) in my application. I am having a few problems in terms of performance. 1. When I call homeObject.findAll() for the first time, ejbLoad() is invoked for every row in the database. I know this only happens once so I can tolerate this b