Regarding the lack of use of local interfaces, you're correct. This is
still an EJB 1.1 application being hosted by WebSphere Application Server 4.0.
"Cloning" here certainly isn't Java cloning. What I mean is that the workload
manager relays EJB remote method calls to the various "clones" (separate boxes
running the same collocated EAR) in a configurable manner -- for instance
"Round Robin" style where the first request is relayed to machine A, then the
next request is relayed to machine B, and requests alternate between A and B. If
either A or B goes down, then the workload manager relays all requests to the
remaining machine.
Regarding the lack of "one big" transaction wrapping the entire iteration
process: we had to move the iteration outside EJB transaction scope because the
"one big" transaction was timing out on us when there were many items to
process. Altering the transaction timeout value was not an option at the time
when we first encountered the problem (tightly controlled by another team). So
we made the transactions more granular, one per iterate. I realize this makes
the overall iteration take longer but at least it has a chance to finish.
Your suggested MDB approach sounds promising, but again realize we're still
using EJB 1.1.
The information contained in this e-mail may be confidential and is intended solely for the use of the named addressee. Access, copying or re-use of the e-mail or any information contained therein by any other person is not authorized. If you are not the intended recipient please notify us immediately by returning the e-mail to the originator.(B)=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
|
Title: Re: Multithreading batch processes/Session bean calls within cloned Application Server environment
- Multithreading batch processes/Session bean calls withi... May Charles N
- Re: Multithreading batch processes/Session bean ca... Juan Pablo Lorandi
- Re: Multithreading batch processes/Session bean ca... May Charles N
- Re: Multithreading batch processes/Session bea... Juan Pablo Lorandi
- Re: Multithreading batch processes/Session... Flávio Rodrigo