Hi,

Unfortunately I was moved to a different project some time ago and
couldn't really try what I wanted to do. My plan was to have a
Properties Object in every Entitiy Bean and the Session Bean gets ALL
the Entity Bean's information with just ONE method call, retrieving this
Properties Object. In the ejbStore and ejbLoad methods, the persistent
fields and the Properties Object are filled / given the same value.

I'm not really sure if this is a good way to do it, so I am more than
glad if someone had a better idea.

dirk



Eric Richardson wrote:
> 
> Hi,
> I have read most of  EJB book from O'Reilly but not the spec. I was
> wondering if the
> load and store methods have to be called with every method invocation.
> 
> Isn't there some way with Container Managed persistence to see if the
> container managed
> field have changed before these are called? I can see why with bean
> managed they have to be called because the bean can delegate to another
> object and a state change can't be known.
> 
> I'm getting pretty gross performance when a retrieve more than a couple
> of records. And once the
> beans are loaded, it isn't substancially faster.
> 
> Is this just the remote call latency? Can the server be optimized?
> 
> Thanks,
> Eric :-)
> 
> ----
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body of the message "unsubscribe jonas-users".
> For general help, send email to [EMAIL PROTECTED] and
> include in the body of the message "help".

--
Dirk Haase     mailto: [EMAIL PROTECTED]
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to