This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes JMS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMS" Watch "JMS" New topic
Author

JMS

boaz rubin
Greenhorn

Joined: Feb 02, 2004
Posts: 1
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.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
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.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JMS
 
Similar Threads
Unsupported feature
JDBC 3.0 api Connection pooling
Serializable problem
Making calls outside the container
MVC2 outside servlet for testing