Hi,
  I would vote to leave all the SPs behind and move your Business-logic into
either EntityBean or SessionBean based on your requirements, performance
estimations and design-patterns that are being used.
  If not today tomorrow you will have to get-rid of SPs so the earlier the
best, if you want more flexibility at the middle-tier.
  Hope this helps.

Regards,
kris

-----Original Message-----
From: Swaminathan K.N. [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 01, 2002 2:15 AM
To: [EMAIL PROTECTED]
Subject: Calling a SP from Entity bean


Hello All,


        Can anyone tell me the reason for calling a Stored Procedure from a
Entity Bean ( CMP or BMP ) assuming some business logic is there in Stored
Procedure. Does it make sense??

        Assuming the existing business logic is available in a Stored
Procedure, What is the approach to be taken to move the business logic to
the Session bean as much as possible?. Should we leave some of the business
logic in SP itself?



Regards,
Swaminathan
****************************************************************************
This communication contains information, which is confidential and may also
be privileged. It is for the exclusive use of the intended recipient(s). If
you are not the intended recipient(s), please note that any distribution,
printing, copying or use of this communication or the information in it is
strictly prohibited. If you have received this communication in error,
please notify the sender immediately and then destroy any copies of it.
****************************************************************************

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