Paulo; It seems a little peculiar that you can use MQSeries, but not JMS, since MQSeries *has* a JMS API which is allegedly completely compliant. This would then allow you to use MessageBeans.
At any rate, does this batch process just read messages from queues, or does it also need to interact with EJBs ? If it is the former, why do you need to do it in WebLogic at all ? If it is the later, I can think of 3 ways: 1. As you said, a WebLogic client process could read messages from the queue and invoke the respective EJB. 2. A WebLogic startup task could spawn some threads and periodically wake up and go to work, or simply wait on the queues. (See T3StartupDef) 3. Instead of the T3StartupDef, you could use JMX. If you need to invoke the batch process periodically, WebLogic has a Timer which can invoke tasks on a schedule. Your constraints sound a little peculiar. Perhaps you cpould challenge them. //Nicholas > > > > Hello All, > > > > I searched this topic on the past posts, but I > didn't find conclusive > > answers. I have a WebLogic 6.1 AppServer, where I > have my EJBs that handle > > the client requests. I also have to use a > messaging software (MQSeries) to > > communicate with other systems. Due to some > restrictions, I cannot use JMS > > API, neither Message Beans. Therefore I have to > use the MQSeries Classes for > > Java. I need to have a batch process that > periodically reads messages from > > several queues. But I do not know how can I > implement a batch process at the > > EJB level. The only solution that I see is to have > a "deamon" working as > > client, that periodically is activated, and > invokes a Session EJB that do > > the work of reading the queues. I think that this > solution is not very good. > > Can please someone help me? > > > > Thanks > > > > Paulo Moreira > > > > > =========================================================================== > > 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". > > -- > Tony Holderith | Interactive > Business Solutions > [EMAIL PROTECTED] | NetCentric > Solutions > http://www.interactivebusiness.com | Business > Objects > voice: 310.414.6760 x202 | fax: > 310.414.6759 > > "this note would have been shorter but I didn't have > time" - bp > > =========================================================================== > 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". > ===== Nicholas Whitehead Home: (973) 377 9335 Cell: (201) 615 2716 Work: (212) 235 5783 [EMAIL PROTECTED] __________________________________________________ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ =========================================================================== 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".
