Hi,

What you are asking is the implementation of the EJB which is different for
different container. But what you said in the email is what basically
supposed to happen but there are more than that as each vendor implement it
differently such as caching, etc.

Hope that help

Cheers
Nanik



>From: ejblist ejb <[EMAIL PROTECTED]>
>Reply-To: ejblist ejb <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: EJB - Primary Key
>Date: Wed, 6 Mar 2002 23:06:25 +0000
>
>Hi :
>
>I was just reading the EJB Specs and was just wondering about the primary
>key concept.Lemme Give you the scenario which i was thinking.
>
>1. Let's say we create an Entity bean do some business operations and log
>out of the system.
>2. Again we get a reference of the previously created bean using the
>home.findByPK() method which returns me the stub of the remote interface
>for
>further operations.
>
>Is it that the container goes to the pool (let's assume the ejb instance is
>returned back to the pool) picks up any arbitrary bean instance, queries
>the
>Datastore, get the data, initialize my bean instance,attach the instance
>with the remote object or is there any other flow of the process.
>I just want to know the internals as to what actually goes behind the
>scene.
>
>Thankx
>
>
>_________________________________________________________________
>MSN Photos is the easiest way to share and print your photos:
>http://photos.msn.com/support/worldwide.aspx
>
>===========================================================================
>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".
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.

===========================================================================
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".

Reply via email to