Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • 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.
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic