go with stateless session bean, since there is just fetching records, and no
database inserts/updates.

-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED] Behalf Of SUBSCRIBE EJB-INTEREST
Mohan.Raj
Sent: Wednesday, June 25, 2003 9:44 AM
To: [EMAIL PROTECTED]
Subject: Regarding using of Entity Beans


Hi All,

I would to give some suggestions whether i have to use CMP or BMP or DAO to
get the data from the database:
My requirement is...multiple clients will access same table to get the
records and display the records at client 100 records at a time...There will
be lakhs of records in the database.As we cant show all the records , i am
showing only 100 records at a time and providing option for them to click on
NEXT and PREV buttons so that they can navigate the records.Multiple users
do the same one may be seeing 1 to 100 and other may be seeing 100 to 200
records from the table.
The data is fetched from only one table.
I am thinking of using DAO just to fire query and display the records using
JDBC.Through session bean i am calling DAO.
Getting the data and filling Value object and then sending it to the client.
We are doing project in J2EE...
So i need suggestions should i use CMP or BMP ?
No updations to the table....only retriving the data from the table.
Your suggestion are welcome.
Regards
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".

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