15
Business objects
Posted by | Posted in WebSphere, Websphere Process Server / Integration Developer | Posted on 15-05-2008
Tagged Under : business objects, WebSphere, WebSphere Integration Developer, WebSphere Process Server, WID, WPS
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.
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.





Hi,
I am a constant reader of you blog.
I need one guidance – i need to add to BO and send back as a single BO to the output.
How can I do that?
Thanks & Regards
Rooman
@Rooman, I did not understand your question properly. Where you need to add the BO? Could you explain me the scenario.