Subtasks or chained tasks

  2 posts   Feedicon  
Replies: 1 - Last Post: December 29, 2011 12:43
by: jekkos
showing 1 - 2 of 2
 
Posted: December 20, 2011 12:51 by tburk
Hello guys,

I have the requirement to execute Tasks in some kind of a hierarchy, either in a chain one after the other or subtasks within a surrounding task. Subtasks must also be usable standalone. Is there a good approach for a common input blocking in BSAF?

Thanks, tburk
 
Posted: December 29, 2011 12:43 by jekkos
HI there,

I have been facing this same requirement some time ago. I solved it by using TaskListeners on the running task launching a new task upon completion of the observed one. Still, I found that this approach produced too much convolution when I applied it on more than 2 tasks. Some kind of abstraction to handle this situation would therefore be quite nice.

Would be interested to learn how others solved this problem.
Replies: 1 - Last Post: December 29, 2011 12:43
by: jekkos
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close