Hi Chris

I remember reading such a thing in the spec.  But I did try to run a
process from a stateless session bean, using J2EE reference
implementation and it worked!

I am not sure if i can trust this or not, though.

Similarly, I have even heard of people who have done some socket
programming from within an EJB.

Are we all violating the spec?

- anand

"Bono, Chris" wrote:
>
> Anand,
> I believe the spec disallows exec'ing a process from a bean. We had to do this so we 
>did it in a servlet.
> I am curious to hear replies on this.
>
> Chris
>
> -----Original Message-----
> From: Anand Sankaran [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 10, 2000 1:51 PM
> To: [EMAIL PROTECTED]
> Subject: Maintaining Non - DB transactions
>
> Hi all
>
> In my Session bean, I need to do the following things:
>
> *  Update DB
> *  Create a UNIX process that does a few things
> *  Update DB
> *  Create a UNIX process ....
>
> In such a case, what sort of Transaction Processing support does EJB /
> App Server provide me?
>
> Does it provide only the DB transaction processing help.  If this is the
> case, what sort of technology / approach should I be handling to do
> transaction processing for all the UNIX processes I create?  (For
> instance, kill them - rollback?)
>
> - anand
>
> ===========================================================================
> 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