Two possibilities:

1) MDB

2) distribute tasks in a non-EJB controller JavaBean, where each
parallel worker in turn delegates to a Session Bean. Servlet ->
controller JavaBean -> Session Bean -> Entity Bean is a useful
architecture.

Fred Loney
Enterprise Java Consultant
Spirited Software, Inc.
[EMAIL PROTECTED]

----- Original Message -----
From: "ashish" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 27, 1999 12:50 AM
Subject: Parallel execution in a workflow


> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_0B06_01BEF08E.ED352D20
> Content-Type: text/plain;
>         charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> I am facing a very typical problem .I have a workflow in which
depending =
> on some conditons,2 or more methods need to be executed
parallely.Since =
> the EJB1.1 specs dont allow multithreading,my second method will not =
> execute until the previous one returns the control.
> Any ideas as to how to achieve this or else any workaround to this =
> problem?
> Thankx
> Ashish
>
> ------=_NextPart_000_0B06_01BEF08E.ED352D20
> Content-Type: text/html;
>         charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META content=3D"text/html; charset=3Diso-8859-1" =
> http-equiv=3DContent-Type>
> <META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=3D#ffffff>
> <DIV><FONT face=3DArial size=3D2>I am facing a very typical problem .I
=
> have a=20
> workflow in which depending on some conditons,2 or more methods need
to =
> be=20
> executed parallely.Since the EJB1.1 specs dont allow multithreading,my
=
> second=20
> method will not execute until the previous one returns the =
> control.</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>Any ideas as to how to achieve this
or =
> else any=20
> workaround to this problem?</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>Thankx</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>Ashish</FONT></DIV></BODY></HTML>
>
> ------=_NextPart_000_0B06_01BEF08E.ED352D20--
>
>
========================================================================
===
> 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