-
1. Re: Spawning a thread from a seam component
stu2 May 11, 2007 11:31 AM (in response to c_eric_ray)Have you looked into the async support built into seam? Take a look at chapter 17 in the docs. It's a much simpler pattern for threading, and seam manages the threads for you.
-
2. Re: Spawning a thread from a seam component
stu2 May 11, 2007 11:33 AM (in response to c_eric_ray)Btw I don't believe there is anything special regarding user-created threads in seam. Just normal JEE restrictions (disallowed though possible in the EJB container). If the async support in seam fits your needs, you'll find that's a clean option.
-
3. Re: Spawning a thread from a seam component
c_eric_ray May 11, 2007 11:43 AM (in response to c_eric_ray)Please explain what you mean by "disallowed though possible in the EJB container". I've only been developing EJBs for about a year and I'm still learning.
Where's a good place to look for information about threading inside an EJB container?
Thanks. -
4. Re: Spawning a thread from a seam component
stu2 May 11, 2007 11:55 AM (in response to c_eric_ray)The spec is _the_ place to look for this stuff. Regarding restrictions, here's an overview: http://java.sun.com/blueprints/qanda/ejb_tier/restrictions.html