8.4. Writing DA Services

In this section we learn how to develop device services, driver services, and driver locator services for the serial port. These services are fully operational, which will help you understand DA in concrete terms.

The example we are about to develop consists of a serial service bundle and a driver bundle. Figure 8.4 shows how they are packaged.

Figure 8.4. The serial service bundle contains a serial device service, a driver locator that knows where to find the driver bundle—inside its own bundle. The blowup on the right shows that the driver bundle contains a modem device service and driver service.

The serial port is a ...

Get Programming Open Service Gateways with Java Embedded Server™ Technology now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.