To create a new bean:
In the Repository of the Integration perspective, expand the Code folder.
Right-click the Beans node.
Select Create Bean from the contextual menu.
The [New Bean] wizard opens to help you define the main properties of the new Bean.
Enter the Bean properties as the following:
the name of the new Bean. A message comes up if you enter prohibited characters.
the purpose of the Bean or any useful information regarding the Bean use.
a read-only field that shows by default the current user login.
a read-only field that shows by default the login of the user who owns the lock on the current Bean. This field is empty when you are creating a Bean and has data only when you are editing the properties of an existing Bean.
a read-only field. You can manually increment the version using the M and m buttons. For more information, see Managing Job and Route versions.
a list to select from the status of the Bean you are creating.
a list to select from the folder in which the Bean will be created.
Click Finish to create the Bean. An example bean opens in the editor on the design workspace.
Type in the code of your Bean.