tchak
Sent: 28 March 2003 19:10
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Starting threads from session beans
I use a generic MDB as a Batch Treatment Service that calls back
stateless beans. It's not a big deal to do it and the JVM JMS
communication layer make it work very fast.
On Behalf Of Rodrigo
Chandía
Sent: 28 March 2003 15:23
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Starting threads from session beans
Actually, a MDB is rather easy to program. Give it a try. It might yust
fit
your need.
Of course you can do all that pooling with JMX.
Regards,
Rodrigo Chand
EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rodrigo
Chandía
Sent: 28 March 2003 15:23
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Starting threads from session beans
Actually, a MDB is rather easy to program. Give it a try. It might yust
fit
your need.
Of course you can do all that p
ows offhand?
>
> Cheers,
>
> Alex
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Rahul
> Ganjoo
> Sent: 28 March 2003 05:41
> To: [EMAIL PROTECTED]
> Subject: RE: [JBoss-user] Starting threads from session beans
>
OK, thanks!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Simone
Milani
Sent: 28 March 2003 13:18
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Starting threads from session beans
You can then invoke your MBean method from the EJB:
Object result
t;
Sent: Friday, March 28, 2003 12:33 PM
Subject: RE: [JBoss-user] Starting threads from session beans
> I can use an MBean, in that I can put my multi-threaded code that does
> the background work into an MBean easily enough. In fact, that's what I
> was planning to do.
>
> Bu
to make my MBean a
JCA resource?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Simone
Milani
Sent: 28 March 2003 11:37
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Starting threads from session beans
Why not use an MBean?
Simone
- Origin
-user] Starting threads from session beans
>
>
> Why not use an MBean?
>
> Simone
> - Original Message -
> From: "Igor Fedorenko" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, March 28, 2003 10:58 AM
> Subject: RE: [JBoss-
gt; Subject: RE: [JBoss-user] Starting threads from session beans
>
>
> Hey Igor,can you point me to more info on this???
>
> TIA,
> Rahul.
>
> -Original Message-
> From: Igor Fedorenko [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 28, 2003 4:29 PM
>
EMAIL PROTECTED]
Subject: RE: [JBoss-user] Starting threads from session beans
You can write JCA adapter and do (virtually) anything you want in it. It
much easier than it sounds...
> -Original Message-
> From: Alex Sumner [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 28, 200
Why not use an MBean?
Simone
- Original Message -
From: "Igor Fedorenko" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 28, 2003 10:58 AM
Subject: RE: [JBoss-user] Starting threads from session beans
You can write JCA adapter and do (virtually) a
Hey Igor,can you point me to more info on this???
TIA,
Rahul.
-Original Message-
From: Igor Fedorenko [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2003 4:29 PM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Starting threads from session beans
You can write JCA adapter and do
; MDBs and lots of messages, which is a big overhead for what I need.
>
> Cheers,
>
> Alex
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Alastair
> Rodgers
> Sent: 28 March 2003 09:30
> To: [EMAIL PROTECTED]
&g
d.
Cheers,
Alex
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alastair
Rodgers
Sent: 28 March 2003 09:30
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Starting threads from session beans
No, the EJB 2.0 Spec doesn't permit it. Section 24.1.2 (p
age-
> From: Alastair Rodgers
> Sent: 28 March 2003 09:30
> To: '[EMAIL PROTECTED]'
> Subject: RE: [JBoss-user] Starting threads from session beans
>
>
> No, the EJB 2.0 Spec doesn't permit it. Section 24.1.2 (page
> 495) states:
>
>
> The ente
No, the EJB 2.0 Spec doesn't permit it. Section 24.1.2 (page 495)
states:
The enterprise bean must not attempt to manage threads. The enterprise
bean must not attempt
to start, stop, suspend, or resume a thread; or to change a thread's
priority or name. The enterprise
bean must not attempt to ma
anyone knows offhand?
Cheers,
Alex
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rahul
Ganjoo
Sent: 28 March 2003 05:41
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Starting threads from session beans
J2EE spec doesnt allow u to start threads in EJBs...
J2EE spec doesnt allow u to start threads in EJBs...it gets too messy if
you try...
try MDBs...
-Original Message-
From: Alex Sumner [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2003 1:45 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] Starting threads from session beans
Hi,
Briefl
Alex,
It is not permissible. It is not in the j2ee spec; it is in the ejb spec.
ejb-2_0-fr2-spec.pdf: 24.1.2 Programming restrictions, page 495:
"The enterprise bean must not attempt to manage threads. The enterprise bean
must not attempt to start, stop, suspend, or resume a thread; or to chang
19 matches
Mail list logo