Dec 18th, 2006, 06:13 AM
Multiple Threads Creation
When using Spring WebFlow with Websphere v5.1 Test Environment we've noticed that multiple threads (3-4) are created and used by our different JSPs as we run through the application.
So we would like to know if this is a characteristic of Spring Webflow or simply a design flaw in our application and if there's a way to make our application use 1 thread (this can be done with Websphere by configuring the Threadpool) through Spring Webflow?
Also we would like to know the risks associated with this multiple threads creation issue?
Dec 19th, 2006, 01:16 AM
Spring Web Flow does not currently create threads of it's own, so some other part of your system or environment (WebSphere) is creating those threads.
Google a bit and you'll find lots of great articles describing multithreaded programming in Java and the things to look out for when doing that.