• 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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I need advise on a project I'm working on:
I'm creating a new mechanism that tracks our API methods for statistics reasons. For example:
measures the time it takes, success/failure, market etc.
In order to implement it, I'm using an object (for example: Vector) that is holding the required information for each API method that is invoked.
When it gets to a specific size, I'm cloning it, resetting the original one,
opening a connection to the database and storing it in the data base.
1. should I implement this action (clone, open connection, store) by using MessageDrivenBean.
2. What is the way to call to the MessageDrivenBean from the server (weblogic)

I would be happy to hear advise.
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

1. should I implement this action (clone, open connection, store) by using MessageDrivenBean.
2. What is the way to call to the MessageDrivenBean from the server (weblogic)

MDB sounds good. You "call" message driven bean's by sending messages to the JMS queue to which the MDB is listening.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic