Chris,
After this mail, I read the EJB1.1 specification again.
It contains a section called Programming Restrictions (Section 18.1.2)
in the PDF document, page # 272 in the document.
This document does not say anything against creating processes.
If this is the case, then I think it is legal to create processes from
within an EJB.
Also, regarding doing socket programming, this is what the spec says.
"The EJB architecture allows an enterprise bean instance to be a network
socket client, but it does not allow it to be a network server. Allowing
the instance to become a network server would conflict with the basic
function of the enterprise bean-- to serve the EJB clients."
Then, it is legal for a EJB to open a socket and talk with a server.
- 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".