Tuesday, December 30, 2014

Data Presenter article in Top 10 OTN WebCenter Articles for 2014

Happy to know that my article about Data Presenter on OTN is in top 10 Webcenter articles on OTN. Below is the link for the listing of top 10 webcenter articles on OTN.


Congrats to all the persons whose article is there on the list.

Its Good to close 2014 on a Happy Note :)

Have loads of fun on New Year Eve and may you have an awesome 2015.

See you guys in 2015 with next post.


Monday, December 22, 2014

Custom Exception Handling in ADF - Model Layer Generic Framework Design

I have observed that there are lot of users who asks questions on OTN and have problem in designing the custom generic exception handling framework. So in this and next some of the posts I will be describing how we can lay down a generic way to report custom exceptions to the page. These custom exceptions may be mostly for Business Specific errors for which we need to display a custom user friendly message on the page to the user.

In this post we will be seeing how we can customize the error on Model layer and take error messages from a resource bundle defined in the application.

Lets get started. We will first create a generic framework project where we will add exception handling related classes. We give it a name as FrameworkUtil. Framework util project will be dependent on model project from where custom Exceptions will be thrown in the enterprise applications.

First lets set up FrameworkUtil project - ADF Model Project