TechnoBuzz

A Techno Blog, mainly about Java

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.

Advertisements

June 15, 2005 - Posted by | Struts

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: