Step 1: Design the service interface. Step 2: Implement the service. Step 3: Write a bundle activator that usually registers the service in its start method and unregisters the service in its stop method. Step 4: Declare the packages exported by the bundle in the Export-Package manifest header; the service interface should belong to the exported packages. Step 5: Compile the classes and pack everything into a bundle JAR file.
đang được dịch, vui lòng đợi..
