If you have other reasons for using entity beans (such as a planned future migration, or phased migration) then you might consider using BMP entity beans, and continue using the stored procedures. This would allow you to have 'entity clients' coded as if the entity logic was in entity beans, and then gradually move it across.
cheers dim ----- Original Message ----- From: "Binil Thomas" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 16, 2002 8:32 PM Subject: Re: Why Ejb? > ..... if rewriting them all into EB is going to a big pain. :) > > On Tue, 16 Jul 2002, Vikram Naik wrote: > > > SO to conclude... > > If we have SPs already defined we shouldn't go for ENTITY BEANS > > !!!!!!!!!!!!! > > > > > > > > Vikram Naik > > > > > > -----Original Message----- > > From: A mailing list for Enterprise JavaBeans development > > [mailto:[EMAIL PROTECTED]]On Behalf Of Ashwani Kalra > > Sent: Tuesday, July 16, 2002 3:37 PM > > To: [EMAIL PROTECTED] > > Subject: Re: Why Ejb? > > > > You will have to use wrapper/facade in SLSB/SFSB from which you can take > > advanatage of the transactions and security. You can manage the transaction > > in SPs also and propagate errors to the session bean methods. > > Scalability issue will then shift to session beans. > > > > ----- Original Message ----- > > From: "Vikram Naik" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Tuesday, July 16, 2002 3:46 PM > > Subject: Re: Why Ejb? > > > > > > > Hi, > > > Thanks for the quick reply... > > > Apart from getting generated SQL's what about the transactions > > and > > > scalability ???? > > > > > > Vikram Naik > > > > > > > > > -----Original Message----- > > > From: A mailing list for Enterprise JavaBeans development > > > [mailto:[EMAIL PROTECTED]]On Behalf Of Ashwani Kalra > > > Sent: Tuesday, July 16, 2002 3:19 PM > > > To: [EMAIL PROTECTED] > > > Subject: Re: Why Ejb? > > > > > > 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". > > > > > > > > =========================================================================== > > > 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". > > > > =========================================================================== > > 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". > > > > -- > And did they get you to trade your heroes for ghosts? Hot ashes for > trees? Hot air for a cool breeze? Cold comfort for change? And did you > exchange a walk on part in the war for a lead role in a cage? - PF > > =========================================================================== > 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".
