Two reasons : 1.EJB(cmp) makes code independent of the Database. 2. You dont have to code sql queries for inserting/updating etc.
If you already have Sps then you can completely avoid Entity EJBs and use DAO to call SPs. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cheers Ashwani Kalra http://www.geocities.com/ashwani_kalra/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ----- Original Message ----- From: "Vikram Naik" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 16, 2002 3:22 PM Subject: Why Ejb? > Hello All, > > Why should we opt of EjBs when stored procedures can give us better > performance? > > Your opinions will be highly appreciated. > > Thanks & Regards, > Vikram Naik > > =========================================================================== > 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".
