Developing Apama Applications > Developing Apama Applications in EPL > Defining Monitors > Adding a bundle to your project
Adding a bundle to your project
Depending on what your Apama application does, it might require one or more provided service monitors. Apama organizes service monitors into bundles. To use the service, you add the bundle to your Apama project in Apama Studio.
To add a bundle to your project:
1. In the Apama Developer perspective, open the project that you want to add the bundle to.
2. In the Developer Project View, right-click the project name and select Properties from the menu that appears.
3. In the Properties dialog, select MonitorScript Build Path.
4. Select the Bundles tab.
5. Click Add to display a list of Apama Studio bundles.
6. Select the bundle you want to add.
7. Click OK twice.
The bundle now appears in the Developer Project View panel. Expand the bundle directory to see the contents. To understand exactly what each service monitor provides, open the service’s EPL file in Apama Studio. The comments in the EPL file explain the purpose of each service monitor and how to use it.
You can also write your own service monitors. Best practices for doing this include:
*Follow good engineering practices for defining message exchange protocols
*Copy the conventions used in the Apama-provided service monitors as these monitors implement common patterns.
Copyright © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.