Previous Next JavaScript must be enabled to correctly display this content

## 3.4 Simple Publisher/Subscriber Event Service

This topic the systematic instructions to perform the basic process to generate simple publisher/subscriber event service.

To generate simple publisher/subscriber event service, follow the below steps:

1. Navigate to same extension_home folder using cmder.
2. Use the command obx event -c.
3. Once this command is fired, this will take you to next section where it will prompt other set of questions. Answer them accordingly to your setup and requirement.

   Figure 3-20 OBX event - c

   Description of "Figure 3-20 OBX event - c"
4. Once all the questions are answered and path of XDL is given, it will generate a folder inside the extension_home folder.

   Figure 3-21 Extension Home Folder

   Description of "Figure 3-21 Extension Home Folder"

   Figure 3-22 Extension Home Folder

   Description of "Figure 3-22 Extension Home Folder "
5. For building the service, go into the service folder from cmder and run the command gradle clean build.
6. This will build the service and we can find the war of the service getting created inside the build/libs directory.

   Figure 3-23 Libs Directory

   Description of "Figure 3-23 Libs Directory"
7. Use this service and deploy it in your environment.

Parent topic: Service Extensions