Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error handling in web application (servlet/plsql)

 
faisal ishaque
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My question is about the exception and error handling in web application.
If I use oracle procedures and functions for all business logic, then all the requests regarding select, update, delete and insertion of records using servlets, there might be a chance of run time errors and exceptions from oracle procedures.
What is the best way to handle these exceptions and errors? and on which layer i handled these exceptions regarding transactions etc?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64967
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think this is more of a question of how to structure web apps than of JDBC so I'm moving this to the Servlets Forum for you.
bear
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic