Adapter Lifecycle Annotations OSGi Service Reference Annotations

J Oracle CEP IDE for Eclipse Tutorial J-1 J Oracle CEP IDE for Eclipse Tutorial This appendix provides a simple tutorial that illustrates the basics of creating, deploying, and debugging a simple Oracle CEP application. This tutorial includes the following steps: ■ Appendix J.1, Before You Begin ■ Appendix J.2, Step 1: Create an Oracle CEP Definition ■ Appendix J.3, Step 2: Create an Oracle CEP Application ■ Appendix J.4, Step 3: Start the Oracle CEP Server and Deploy the Project ■ Appendix J.5, Step 4: Change Code and Redeploy ■ Appendix J.6, Step 5: Debug the Deployed Application ■ Appendix J.7, Next Steps J.1 Before You Begin This tutorial assumes that you have installed an Oracle CEP server and Oracle CEP IDE for Eclipse on the local computer. For more information, see: http:www.oracle.comtechnologiessoacomplex-event-processing. html . Before beginning this tutorial it is a good idea to switch to the Java or the Java EE perspective: both of which are good starting points for using Oracle CEP IDE for Eclipse to develop Oracle CEP applications. Although Oracle CEP applications are not Java EE applications, many of the same views are useful between the two. To change the perspective, select Window Open Perspective menu, or use the perspective shortcut menu as shown in Figure J–1 . Figure J–1 Perspective Shortcut Menu J-2 Oracle Complex Event Processing Developers Guide If you are in the Java perspective, you will want to open the Servers view by selecting Window Show View Servers . Your Oracle CEP IDE for Eclipse should look like Figure J–2 . Figure J–2 Oracle CEP IDE for Eclipse J.2 Step 1: Create an Oracle CEP Definition The first step is to tell the Oracle CEP IDE for Eclipse where your Oracle CEP server is installed on the local machine. To do this, follow the steps in the Section 5.2.1, How to Create a Local Oracle CEP Server and Server Runtime . For this tutorial, enable automatic publishing on the server by selecting Use Workspace Default for the Automatic Publishing options on the second wizard page as Figure J–3 shows.