Hi,
<EMELIO> Does it mind that, if I had a two millions records table, I'll
need a
lot of memory to support each instance of the entity bean ?
Answer:- Generally CTM's maintain a Pool of Entity Bean Instances and
Populate them with the data from
the Database on Demand,So Same Entity Bean Instance can Represent a
alotogether Different data set
When It Is freed By The earlier Client.
However this is what a General Implementation of a CTM could be
Like,However This is Stiil
Vendor Dependent and EJB Specfication Nowhere Specifies The Exact
Behaviour That Needs To Be
Achieved To Achieve The Above cause ,However This is I am Sure that
no CTM would maintain a Differnt
object For Each Data Set identified ,As This May Leed To A Suddend
Death of The CTM.
Emilio Gustavo
Orme�o To: [EMAIL PROTECTED]
<[EMAIL PROTECTED] cc:
SJ.EDU.AR> Subject: Re: Why we need entity
Sent by: A beans?????????
mailing list for
Enterprise
JavaBeans
development
<EJB-INTEREST@JAV
A.SUN.COM>
12/11/02 05:31 PM
Please respond to
Emilio Gustavo
Orme�o
Does it mind that, if I had a two millions records table, I'll need a
lot of memory to support each instance of the entity bean ?
Satyanarayana_Godavarti escribi�:
>Hi Murali,
>
>Session bean meant for your business process. It can do a simple thing
like
>tax calculation or connecting to another bean etc. The session beans are
>verbs of your application. You cannot handle transaction management
through
>session bean. At the best you can get the data from the database but you
>cannot do update existing record or adding a new record in the database.
>
>The entity beans are nouns of your application. These are your persistence
>objects. It represents your permanent data. Entity beans are capable of
>handling the transactions. Each table in your database represents one
entity
>bean and each instance of a bean represents a record in that table.
>
>You can use session beans for transaction but you have to go for
>Synchronized session beans.
>
>Regards,
>Murthy
>
>
>-----Original Message-----
>From: Murali Mohan [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, December 11, 2002 11:06 AM
>To: [EMAIL PROTECTED]
>Subject: Why we need entity beans?????????
>
>
>Hi all,
>
>I have a basic doubt about entity beans???
>Why we need it????From sessionBeans also we can connect to DB and do all
>the operations.
>
>Why we need entity beans?????????What are extra uses???????
>
>Thanks,
>Mohan
>
>
===========================================================================
>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".
>**************************************************************************
>This email (including any attachments) is intended for the sole use of the
>intended recipient/s and may contain material that is CONFIDENTIAL AND
>PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying
or
>distribution or forwarding of any or all of the contents in this message
is
>STRICTLY PROHIBITED. If you are not the intended recipient, please contact
>the sender by email and delete all copies; your cooperation in this regard
>is appreciated.
>**************************************************************************
>
>
===========================================================================
>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".
>
>
>
--
Emilio Gustavo Orme�o Sarmiento
Licenciado en Informatica
[EMAIL PROTECTED]
Julio A. Roca Norte 637
San Juan - Capital
Tel. Par. 054 0264 4201514
Tel. Lab. 054 0265 4234129 int 139
===========================================================================
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".
==========================================================================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".