Developing Apama Applications > Using Apama Studio > Creating Blocks > About blocks > Introduction to block definition files
Introduction to block definition files
A block is defined in a block definition file, which has a .bdf extension. This XML file describes the functionality of the block and includes its implementation in EPL. With Apama Studio, you graphically define the block’s interface, and Apama Studio automatically generates all the XML elements of the .bdf file. In addition, Apama Studio generates skeleton EPL code for the block’s behavior. Apama Studio provides a dedicated editor where you add your custom code and it validates the EPL code you add.
The block definition file actually defines an EPL template. The term “template” is used because the EPL in the .bdf is not complete EPL code. Instead of the actual block name, the .bdf code uses a specially encoded stand-in for the real block name. The real names are automatically generated when the combined scenario and block are converted into full EPL code when they are injected into the correlator.
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.