Hi,
I would like to know whether threading can be done by a normal class in a
EJB server which will be called by a bean.

For eg: I have to retrieve around 2000 rows each from 10 different tables
and aggregate them and send it to the client.
So instead of sequentially accessing each table, can i write a class A which
implements Runnable and spawns ten threads for acessing each table and
aggregating the values(to be passed to the bean which will pass it to the
client)?

Does this violate the EJB specs or is an acceptable workaround?


 Regards,
Ramkumar

This e-mail and any files transmitted with it are for the sole use of the intended 
recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or 
copying of this email or any action taken in reliance on this e-mail is strictly
prohibited and may be unlawful.

                Visit us at http://www.cognizant.com

===========================================================================
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