Problem
When a error occures, the error needs to be handled. Since more of the code is sent to the client for execution it's important to have good errorhandling.
Solution
Errorhandling on ordinary java code is usually to put a try/catch block around the code. If something's going wrong the catch block is executed, and the user can be notified if neccesary. In Web 2.0 all code placed on server (REST/Web Services) is java, so nothing changes there. In Javascript the same possibility as Java is available. Try/catch blocks is used in the samme manner as ordinary java.
Just as Java, the quality of errorhandling is tied to the developer to always do good errorhandling.
Businessbenefit
The user needs to get informed when a error occures, with reasonable information of what to do next.
Comparing to Web 1.0 Approach
There is no actually difference in errorhandling, the programmer need in both environment to actually write good code to achieve good errorhandling.
Success criteria
Every error condition is covered and beeing handled.
Result
<Under Construction>

Add Comment