Hi,

one way we did it was pretty easy, you have a flag in the entity bean ,
let's say boolean bDirty = false;

In very method that writes you set this flag to true and in the ejbStore()
you set it back to false;

Is modified is implemented the following way:

public boolean isModified() {
        return bDirty;
}

This should work then.

Frank


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Hermann
RANGAMANA
Sent: Friday, July 06, 2001 4:50 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Re: Jboss Performance problems


Hi all,

could you post here some example of an entity beans implementing isModified
() ?

--hermann
----- Original Message -----
From: "Devraj Mukherjee" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 1:53 AM
Subject: Re: [JBoss-user] Re: Jboss Performance problems


> Hi Saul,
>
> I would like to know more about this, is it possible for you to email me
> one of your entity beans?
>
> Devraj
>
> At 16:00 5/07/01 -0400, you wrote:
> >Hello all,
> >
> >I implemented the isModified() method in each of the offending entity
> >beans, and the speed improvements are dramatic.  A page that used to
> >take around 30-45 seconds to load now takes around .75-1.25 seconds (the
> >hardware is pretty slow).  That is a HUGE performance increase.
> >
> >Thanks for your help!
> >
> >saul
> >
> >
> >_______________________________________________
> >JBoss-user mailing list
> >[EMAIL PROTECTED]
> >http://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to