Hi,

I think that these 2 alternatives have their own set of merits and
de-merits.  And your decision to choose one over another would typically
depend upon the following factors:

1. BUDGET / Time to GO Live:

If you are a little short on budget  then I would highly recommend you to
re-use the existing SPs as development efforts for re-developing the entire
functionality presently residing in SPs will be greatly reduced. You can
probably wrap these SPs with JDBC constructs in very short time and built
an application in very short time.

2. Scalability / Security / Transaction Management / ETC:

If these issues concern you more then the obvious choice would be to
re-write the entire application in EJBs.

Regards,
Milind




                    Vikram Naik
                    <vikram.naik@PATN        To:     [EMAIL PROTECTED]
                    I.COM>                   cc:
                    Sent by: A               Subject:     Re: Why Ejb?
                    mailing list for
                    Enterprise
                    JavaBeans
                    development
                    <EJB-INTEREST@JAV
                    A.SUN.COM>


                    16/07/2002 04:21
                    PM
                    Please respond to
                    vikram.naik






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

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