| Author |
exception handling framework/blocks
|
yogesh seth
Greenhorn
Joined: Jun 28, 2005
Posts: 17
|
|
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
Joined: Mar 26, 2002
Posts: 262
|
|
|
Have you looked at log4j?
|
Fun programming etcetera!
|
 |
yogesh seth
Greenhorn
Joined: Jun 28, 2005
Posts: 17
|
|
|
i understand that log4j is used for logging and not for exception handling, right?
|
 |
Dave Wingate
Ranch Hand
Joined: Mar 26, 2002
Posts: 262
|
|
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
Joined: Jun 28, 2005
Posts: 17
|
|
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
|
 |
 |
|
|
subject: exception handling framework/blocks
|
|
|