Developing Apama Applications > Developing Apama Applications in EPL > Defining Monitors > About monitor contents > Loading monitors into the correlator
Loading monitors into the correlator
During development, you use Apama Studio to load your project, including monitors, into the correlator. Apama Studio ensures that files are loaded in the required order.
At any time, you can use the correlator utility, engine_inject, to load EPL files into the correlator. See Injecting code into a correlator in Deploying and Managing Apama Applications.
In a deployment environment, you can load monitors into the correlator in any of the following ways:
*Use the engine_inject utility.
*Write a program in C, C++, Java, or .NET and use the corresponding Apama client API.
*Use the Apama Management & Monitoring tool.
If you try to inject a monitor whose name is the same as a monitor that was already injected, the correlator rejects the monitor. You can inject two monitors with the same name into the correlator only if they exist in different packages. To specify the package for a monitor or event type, add a package statement as the first line in the EPL file that contains the monitor/event definition. For example:
package com.mycompany.mypackage;
monitor Foo {

}
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.