Thanks a lot Dimitar.
It does clear out a bit for me now.
Thank you for you valuable input and time.
Regards,
Sameer
-----Original Message-----
From: Dimitar Stavrakov [mailto:dstavrakov@(protected)]
Sent: Wednesday, July 02, 2003 5:42 PM
To: J2EE-INTEREST@(protected)
Subject: Re: How many instance of Entity Bean
It should be up to the container provider to decide how many instances of
the bean to create. The transaction management would differ depending on how
you define your entity bean in the deployment descriptor. If you define it
as re-entrant then more than one client can execute operations on it at the
same time and transaction, or if defined as non-reentrant then if a client
makes a call on the bean, while its in a transaction, the bean will throw an
exception.
Regards,
Dimitar
-----Original Message-----
From: Sameer Sadanand Menon [mailto:SameerS@(protected)]
Sent: сряда 02.7.2003 г. 06:37
To: J2EE-INTEREST@(protected)
Cc:
Subject: How many instance of Entity Bean
Hey guys,
One thing has been intriguing me for a long time.
If 3 seperate clients had to fire a findbyprimarykey(PK) on the same Entity
Bean, then how many instances of Beans are created on the same primary Key.
And how does the Transaction Manager do the Transaction Mgmt on the same.
Thanking you.
Regards,
Sameer S Menon
Virtusa Corp
<mailto:sameers@(protected)> >
sameers@(protected)
===========================================================================
To unsubscribe, send email to listserv@(protected)
of the message "signoff J2EE-INTEREST". For general help, send email to
listserv@(protected)".
==========================================================================To unsubscribe, send email to listserv@(protected)
of the message "signoff J2EE-INTEREST". For general help, send email to
listserv@(protected)".