Jay best to keep reply-to to the list.
See below.
> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jay Walters
> Sent: Thursday, April 12, 2001 5:31 PM
> To: [EMAIL PROTECTED]
> Subject: Re: BMP with relationships
>
>
> I was a bit confused about his strategy as well because it felt
> like really
> eager load, but I suppose most containers execute ejbActivate()
> immediately
> followed by ejbLoad() only if a client is actually trying to execute a
> method on the bean in question?
>
In his approach though there's no way that his object references would have
been established upon calling ejbFind for this object.
> Near the end of the article he also tried to address this issue of people
> wanting to use eager fetch in their BMP finders saying that most people
> should let the container use lazy load and really only load them when they
> are accessed. My understanding about CMP is that this eager load is one
> area where CMP has a big advantage over BMP, but he seems to be saying not
> to bother.
>
Well didn't he say that the ejbFind method doesn't have to populate state
and that the container will do it when those objects are messaged? What does
it have to do? FindByPrimaryKey on any object presumably.
Also, he seemed to dodge "to-many" relationships. Calling relationships
static and dynamic doesn't make sense to to be. Just use "to-one" or
"to-many" relationships and assume they can change at run time.
===========================================================================
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".