This week's book giveaways are in the Scala and Android forums.
We're giving away four copies each of Machine Learning Systems: Designs that scale and Xamarin in Action: Creating native cross-platform mobile apps and have the authors on-line!
See this thread and this one for details.
Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Error handling in web application (servlet/plsql)  RSS feed

 
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?
 
Author and ninkuma
Marshal
Posts: 66684
167
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
 
Make yourself as serene as a flower, as a tree. And on wednesdays, as serene as this tiny ad:
free 1 hour java lesson
https://coderanch.com/t/695988/free-hour-java-lesson
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!