Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

asynchronous logging using jms  RSS feed

 
manoj rajkumar
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,
I searched through the net and could not find a good concrete solution for logging asynchronously.

Problem domain: Logging
Requirement :
1> We have an existing web application. Now, we need to track who entered the site, what transactions he has made etc.
2> This logging needs to be asynchronous. (so thought jms is a good idea)
3> Since our web application is part of a bigger portal, we might extend our logging mechanism so that other apps inside our portal would also be able to do auditing(Logs for other apps will be inserted into the same database that will be used by us).

We can not use omniture logging, since we the db structure we need is specific to our portal/app.

Could you suggest a solution to the problem on hand
(specifically : whether jms is a good idea for async. logging)
[ April 10, 2007: Message edited by: manoj rajkumar ]
 
Nitesh Kant
Bartender
Posts: 1638
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IMHO, JMS is one of the best solutions for asynchronous logging. It provides you asynchronous processing as well as reliability.
In fact, many people do the same in the industry.
Having said that I think, your logging framework should abstract the actual technology used i.e. it can be extended tomorrow for using other technologies
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!