A Techno Blog, mainly about Java



June 15, 2005 Posted by | Radio | Leave a comment

Business Methods

The web application I am working on has its execute method which go to the back end to perform a business object method if the action determines it is required.

However, prior going to the back end it will translate the form beans to a business bean.

Thus, after this is done, the container will set the applicable business method and begin the process of invoking it. 

Just to be clear, the high level flow starts by invoking the business process method specified by  the process. After it completes, it will check for various errors. If we get an excpetion back saying it failed some business process validation, we find out if we got warnings or errors which are then captured in the request. On a error an excption, we will throw the exception.

It is important to note that we can return without any business validation errors, but we can still get a warning back.

June 15, 2005 Posted by | Struts | Leave a comment