yES



                    Anil Kumar Fanda
                    <[EMAIL PROTECTED]        Para:   [EMAIL PROTECTED]
                    HSPAN.COM>                   cc:
                    Enviado Por: A               Assunto:     Re: Entity Beans: Stored 
Procedure.
                    mailing list for             -400 Tables.
                    Enterprise JavaBeans
                    development
                    <[EMAIL PROTECTED]
                    n.com>


                    03/01/2001 09:24
                    Responder a A mailing
                    list for Enterprise
                    JavaBeans development





EJB specification straight way prohibits the use of threads in EJB.
Si this would not be a good idea to start a new thread from the session
bean.
if you want the replication of the data, use some inbuilt feature of the
database.


Anil

-----Original Message-----
From: Ramakrishna Srinivasa [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 03, 2001 5:00 PM
To: [EMAIL PROTECTED]
Subject: Entity Beans: Stored Procedure. -400 Tables.


hi,

I have a requirement wherein I need to replicate the Data of around 400
Tables. This
is being accomplished by means of a Stored Procedure
this will take some hours. I am calling this Entity Bean from a Session
Bean. What I
want is that I should come out of the loop.

Hence I am planning to start a separeate thread from Session Bean and call
the Ent
Bean. As it is the Session bean will be free and I will get the response
back to the
point from where I called SB. Is it advisable to do like this?? A new
Thread
from a
SB? Transaction is not imp to me here.

Any ideas/suggestion will be highly appreciated.

Thanks,
Ramki.

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