Dont go for CMP or BMP.  It will slow down and complicate. What you are
doing seems to be ok.

Cheers
Ashwani
http://www.geocities.com/ashwani_kalra/







                    "SUBSCRIBE
                    EJB-INTEREST             To:     [EMAIL PROTECTED]
                    Mohan.Raj"               cc:     (bcc: ashwani.kalra/Polaris)
                    <[EMAIL PROTECTED]        Subject:     Regarding using of Entity 
Beans
                    COM>
                    Sent by: A
                    mailing list for
                    Enterprise
                    JavaBeans
                    development
                    <[EMAIL PROTECTED]
                    A.SUN.COM>


                    06/25/2003 09:43
                    AM
                    Please respond to
                    "SUBSCRIBE
                    EJB-INTEREST
                    Mohan.Raj"







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





This e-Mail may contain proprietary and confidential information and is sent for the 
intended recipient(s) only.
If by an addressing or transmission error this mail has been misdirected to you, you 
are requested to delete this mail immediately.
You are also hereby notified that any use, any form of reproduction, dissemination, 
copying, disclosure, modification,
distribution and/or publication of this e-mail message, contents or its attachment 
other than by its intended recipient/s is strictly prohibited.

Visit Us at http://www.polaris.co.in

Reply via email to