• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

MDB -> Stateless Interrupting long running process (how to reference SSBs)

 
Ranch Hand
Posts: 153
3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hallo I have a design problem.
I have a MessageDrivenBean accpting large data chunks.
This MDB delegates the processing to a Stateless Session Bean (SSB) which can be a long running process.
I have a requirement that this processing can be stopped (and the Tx rolled backed)
So with an id for the data I must find out the SSB which processes the data and call some method stop().
I have no idea how to implement this. I cannot hold references to SSBs e.g. in a map (or can I).
Any ideas how to solve this?

Thanks, hans
 
reply
    Bookmark Topic Watch Topic
  • New Topic