Hi, you can SLSB with min transaction attribute along with value list handler pattern for paging.
Regards Ramesh Kesavanarayanan [EMAIL PROTECTED] -----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".
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. Visit us at http://www.cognizant.com