Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

exception handling framework/blocks

 
yogesh seth
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am developing a web application in JAVA with spring framework on business and web layer and IBatis on data layer. are their any good opensource exception handling frameworks/blocks available on net?

cheers
yogesh
 
Dave Wingate
Ranch Hand
Posts: 262
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you looked at log4j?
 
yogesh seth
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i understand that log4j is used for logging and not for exception handling, right?
 
Dave Wingate
Ranch Hand
Posts: 262
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, I guess I tend to think of exception handling and logging as being so intimately related that you'd want to consider a strategy for loggin as part of your strategy forexception handling.

I don' tknow of any frameworks specific to exception handling, but you could consider using aspectj as a grammar for rolling your own exception handling framework. Exception strategies are generally cross-cutting concerns. Aspect oriented programming would lend it self well to solving this type of problem.
 
yogesh seth
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dave,
thanks a lot for ur time
that sounds to b a gud idea. for that matter, we r using spring on business and web layer. we can probably use spring aop implementation to implement exception handling. any thoughts/suggestions on that? any gud link/piece of code which might help us doing that?

cheers
yogesh
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic