Resending
-----Original Message-----
From: Juan Pablo Lorandi
Sent: Monday, June 12, 2000 2:22 PM
To: [EMAIL PROTECTED]
Subject: Re: Threading and IO in EJBs






what about using a jdbc driver works with files??
also, I would not advise to use containers and daemon directly; use instead
some massaging system to communicate the EJBs and the daemon.... works for
me!

-----Original Message-----
From: parikshit [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 12, 2000 9:05 AM
To: [EMAIL PROTECTED]
Subject: Threading and IO in EJBs


Dear All,

  As per the EJB specifications threading is not allowed in EJBs. I believe
the reason for the same is, the Server does instance pooling of the EJBs.
But what if I want daemon thread which have to do some work in the
background?
Does it not allow creating threads from classes invoked from EJBs?

Also can I do IO operations in classes invoked from EJBs (EJB specs do not
allow even IO operations,as they are not transactional)

Thank you,
Parikshit




what about using a jdbc driver works with files??
also, I would not advise to use containers and daemon directly; use instead some massaging system to communicate the EJBs and the daemon.... works for me!
-----Original Message-----
From: parikshit [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 12, 2000 9:05 AM
To: [EMAIL PROTECTED]
Subject: Threading and IO in EJBs

Dear All,
  
  As per the EJB specifications threading is not allowed in EJBs. I believe the reason for the same is, the Server does instance pooling of the EJBs.
But what if I want daemon thread which have to do some work in the background?
Does it not allow creating threads from classes invoked from EJBs?
 
Also can I do IO operations in classes invoked from EJBs (EJB specs do not allow even IO operations,as they are not transactional)
 
Thank you,
Parikshit
 

Reply via email to