10.3. Persistifying Services

In the last section, we discussed how service references can be stored in folders so that others can use them. In that example, the AmEs service used the hotel references created by BigCo. This provided an elegant way to persistify the references to the found services. But how can the services themselves be persistified?

A persistified service is more desirable than a nonpersistified service. By definition, nonpersistified services lose the data and resources they create when shut down (on purpose or accidentally). This means that if, for some reason, a service crashes while interacting with a client, the client loses the transactional data along with the connection. When the service resumes again and the client ...

Get Web Services: A Java™ Developer’s Guide Using E-Speak 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.