Importing a Process Package
These steps show how to create a new process package.
- Procedure
- Open TIBCO Business Studio for BusinessWorks.
- Open the
Design perspective by clicking the
icon in the upper right.
- Click the File Explorer tab. If the tab is not visible, click and click OK.
- Click and select or open a clean new workspace.
- In the samples directory, select
tibco.bwce.sample.binding.rest.BookStore.zip.
and double-click
This opens the project in the Project Explorer.
- In the Project Explorer, expand the tibco.bwce.sample.binding.rest.BookStore project.
- You can also import the sample using the option.
- The project is displayed in the
Project Explorer panel on the left.
- Expand the folders in the project to see all the project processes and resources. Refer to the
Application Development guide for information about the folder structure.
- Expand
Processes and then expand
tibco.bwce.sample.binding.rest.bookstore.db.
The BooksDB.bwp process is displayed.Note: bwp is a BusinessWorks process.
- Double-click
BooksDB.bwp.
The BusinessWorks process comprises:Green chevron on the left indicates the service details.
addBooks
,getAllBooks
, and other operations implemented by this process.Each operation is implemented separately. - Double-click an operation to display the process for example,
.
- In the
addBooks
operation, a JDBC activity is seen. - The activity is repeated using a
ForEach
group. addBooksOut
represents the Reponse to the web service request.
- In the
- To add a new process package named
tibco.bwce.sample.rest, right-click on
Processes
in the Project Explorer and select
- In the BusinessWorks Package screen, specify tibco.bwce.sample.rest in the Name field.
- Click Finish and verify that the new package tibco.bwce.sample.rest has been added in the Project Explorer.