Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Messaging code without MDB

 
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I am working on a web based application I need to write code to consume off a queue. But we do NOT want to use any EJB's. MQSeries is the messaging product.

I have the following questions
[1] What are my options to write the message consumer without using EJB's?

[2] Has anyone used the Apache Commons messenger API?
http://jakarta.apache.org/commons/sandbox/messenger/
If so what is the review for the product?

Thanks in advance for the help.
 
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can use JMS APIs without EJB/MDB, or you can write straight to the MQ-Series client APIs. Code written to JMS should survive a change to another messaging product, while code written to MQ-Series would not. I use a vendor framework that generates MQ-Series client code from Rose models. It's pretty slick.
 
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by code poet:
[2] Has anyone used the Apache Commons messenger API?
http://jakarta.apache.org/commons/sandbox/messenger/
If so what is the review for the product?


I have used it. I think that it is not ready for production yet. We ran into unsolvable problems and ended up replacing all of that code.
 
reply
    Bookmark Topic Watch Topic
  • New Topic