• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JMS Question

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Ranchers
I am working on Part II, below is my concern on JMS

"My application's inventory system keeps track of all the products. Now the actual manufacturer of the products has a inventory system that uses industry standard interface based on JMS. My application has to get automatic updates on the availability of products"

Should my app be using MDB's to receive updates from the manufacturer?

Thank you
Rama Zha
 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
here are some of my understandings:

"My application's inventory system keeps track of all the products", this is about the local inventory , which manages all the products in stock. so this local inventory is used for "check availability of products".

we will only need to send JMS order message to Manufacturer's inventory system when number of the product in local inventory reach below certain threshold, which could be done either manually through separate jsp or automatically through some daemon or other mechanism. I don't think manufacturer's system will send update message to client's system .
 
Rama Ghanta
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The "Check Availability module" needs to send a message to the manufacturer about the availability of the product. The manufacturer responds with a number.

Now since the manufacturer uses JMS interface, should my local inventory use MDB's to consume the message from the manufacturer? can this MDB also send a message requesting the availability of the product?

Honestly, I am very confused!!


Thanks
Rama Zha

Originally posted by wang andrew:
here are some of my understandings:

"My application's inventory system keeps track of all the products", this is about the local inventory , which manages all the products in stock. so this local inventory is used for "check availability of products".

we will only need to send JMS order message to Manufacturer's inventory system when number of the product in local inventory reach below certain threshold, which could be done either manually through separate jsp or automatically through some daemon or other mechanism. I don't think manufacturer's system will send update message to client's system .

 
wang andrew
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
first I don't think Manufacturer will initiate a Jms message to client's system. To check the Manufacture's inventory, we need to send a jms message to Manufacture's jms server, and also create a temporary queue as a reponse queue, the response queue information could be contained in request message or "replyTo" header, then manufacturer's system could send the product availability into the response queue. we need to poll that temp queue to get reponse msg.
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Wang, Did you also work on this assignment.
 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As per my understanding I would like to propose following solution:
1) Our application needs to get the updates on the stock availability from the actual manufacturer. Hence if we are out of stock or reached the Minimum Ordering Level, we will generate a asynchronous JMS message to the manufacturer queue requesting the availability of the stock.

2) The manufacturer on receiving the message in-turn will send us the actual update on the stock.

Hope this helps.
 
reply
    Bookmark Topic Watch Topic
  • New Topic