Developing Apama Applications > Using Apama Studio > Debugging Apama Java Applications > Example debug session
Example debug session
This section provides a very simple example that highlights some of the basic debugging concepts. It shows the basic steps for creating an Apama Java JAR file and injecting it into a debug enabled correlator. Familiarity with how to develop Apama Java applications is assumed and some steps are omitted based on this assumption.
The steps for developing an Apama Java application are as follows:
1. Implement the Java code.
2. Annotate the Java code with required Apama Java information.
3. Generate the classes from the code.
4. Package the classes into a JAR file.
5. Create the Apama Java JAR manifest manually or by using the JarProcessor utility.
6. Inject the JAR file into a running correlator that is enabled with the JVM and with the proper Java options for remote debugging.
This section provides details as follows:
*Debug example of preparing code and JAR file
*Debug example of starting correlator and injecting application
*Example of debugging in Apama Studio
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.