The web container thread pool is seperate from the other J2EE components.
The EJB container is responsible for enforcing single threaded access to
the bean. The only problem a multi-threaded client has is trying to use a
stateful session bean in more than one thread which is not allowed and will
result in an exception being thrown by the EJB container.

There is no centralized thread pool service in 3.x. This may show up in 4.0.

xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx

----- Original Message ----- 
From: "Barlow, Dustin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 29, 2003 5:57 AM
Subject: [JBoss-user] Embedded Tomcat/Jetty Servlet threads and JBoss


> If I have threaded Servlet code running under the embedded Tomcat or Jetty
> service, how does this effect the thread pooling on the J2EE side of JBoss?
> 
> 
> I know that threading code in EJB's is a violation of the spec, but does
> this also apply to services deployed as MBeans (ie Tomcat or Jetty)?  
> 
> Is the thread pool that the J2EE services use also used by the MBeans?  
> 
> Is there a difference in how this is handled in the 2.4, 3.0, 3.2, or 4.0
> series of JBoss?  
> 
> What is the best practice?
> 
> Thanks,
> Dustin Barlow
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to