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

Reply via email to