RE: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Alex Sumner
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.

Re: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Gaetan Zoritchak
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

RE: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Alex Sumner
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

Re: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Rodrigo Chandía
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 >

RE: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Alex Sumner
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

Re: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Simone Milani
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

RE: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Alex Sumner
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

RE: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Igor Fedorenko
-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-

RE: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Igor Fedorenko
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 >

RE: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Alex Sumner
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

Re: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Simone Milani
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

RE: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Rahul Ganjoo
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

RE: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Igor Fedorenko
; 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

RE: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Alex Sumner
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

RE: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Alastair Rodgers
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

RE: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Alastair Rodgers
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

RE: [JBoss-user] Starting threads from session beans

2003-03-28 Thread Alex Sumner
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...

RE: [JBoss-user] Starting threads from session beans

2003-03-27 Thread Rahul Ganjoo
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

Re: [JBoss-user] Starting threads from session beans

2003-03-27 Thread David Ward
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