I would recommend reading the Entity Bean chapter of the EJB Specification. It explains it better than I do...
http://java.sun.com/products/ejb/docs.html --- JavaSoft <[EMAIL PROTECTED]> wrote: > well if you say containers handled all those stuff .. it might be > true, but > another question is : is the container treat the entity object > Unsynchronizely ? if yes ? what if i wanna make it Synchronizely ? > === > thx, > a Java Addicted > ----- Original Message ----- > From: "Mike Dunbar" <[EMAIL PROTECTED]> > To: "JavaSoft" <[EMAIL PROTECTED]> > Sent: Wednesday, March 20, 2002 2:12 AM > Subject: Re: Entity Bean > > > > The short answer is "the container handles all of that": > > > > -how many actual instances of the EJB to create > > -synchronizing updates from multiply clients to the same entity > > -when to call ejbLoad() and ejbStore() (though I think the spec > says > > ejbLoad must be called before every biz method and ejbStore after) > > > > How each container provider implements all this could certainly > vary, > > provided they meet the spec. > > > > Mike > > > > --- JavaSoft <[EMAIL PROTECTED]> wrote: > > > Hi guys .. i am wondering, how many object of entity bean that > will > > > be > > > created actually if 2 entity clients acessing a same row from the > > > same table > > > through the entity bean ?? > > > And how can you synchronized it if those 2 entity clients wanna > > > manipulate > > > the same row ??? > > > > > > And when ejbload() and ejbStore() methods invoked by container ? > who > > > will > > > trigger the container call those methods ?? > > > > > > === > > > thx, > > > a Java Addicted > > > > > > > > > =========================================================================== > > > 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". > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Sports - live college hoops coverage > > http://sports.yahoo.com/ > __________________________________________________ Do You Yahoo!? Yahoo! Sports - live college hoops coverage http://sports.yahoo.com/ =========================================================================== 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".
