Business objects

Business objects

Business objects are used for storing the data. In other words business objects represent business entities in WebSphere Integration Developer.

To create a business object, switch to business integration perspective and expand your module. Right click on Data Types and select New -> Business Object. Enter the folder where you want to store your business object. Enter a name for your business object. In my case I am using Employee as the name of my business object. Since I don’t have any parent business object for employee, I am keeping the ‘Inherit from’ field as blank. When you create a business object, try to use different namespaces for different modules and libraries. If you share the namespace for different modules or libraries, it may create some problems at runtime.

Click on next. If you have a business object which is already available and is similar to the business object we are creating, then we can derive our new business object from the old one. In the second screen of New Business Object creation wizard ie, ‘Derived Business Object’ screen, it would list all the available business objects. Select the business objects that we want to model. All the attributes of the selected business object will be displayed in the Right Hand Side (‘Attributes to include’). Select the attributes that we want to include in our new business object and click on finish. The business object will be opened up for editing in business object editor. If you don’t have a business object already available, you will not be taken to the second screen of New Business Object wizard; the finish button will be active in the business object screen itself and no next button will be active.

business object editor

The business object editor has different buttons for adding an attribute moving the attribute up or down and change the display style to table or diagram view. An attribute needs a name and data type. After adding the attribute, if you click on the data type, it would pop up the data type selection box. Select the data type we want for our attribute. Add all the attributes we want for our business object. We are done with the creation of business object in WebSphere Integration Developer.

Did you like this? If so, please
tell a friend
about it, and subscribe to the blog RSS feed.

Share/Save/Bookmark

If you enjoyed this post, make sure you subscribe to my RSS feed!