3.3. Service

A service does something useful and is implemented in the Java programming language. For example, a Web server is a service; so is the program that calculates taxes, the application that reports electricity consumption, and the security software that turns on the lights in an unoccupied home. In a business setting, a service may tell the temperature and merchandise quantity in vending machines; another may page the administrator when a critical connection to a customer's site goes down. The list of possible services can only be bound by one's imagination. It is important for us to demystify this much overloaded term and for you to understand its generality.

To develop a service, you usually define an interface that says what the ...

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.