• 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

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.
 
What are you saying? I thought you said that Santa gave you that. And this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic