August 2001
Intermediate to advanced
480 pages
9h 14m
English
The parameter bundle provides a comprehensive example that illustrates the following features:
Service factory
Asynchronous event handling
Permission checking
Performing privileged actions
In a Java run-time environment that does not support permissions, comment out the security-related code.
package com.acme.service.param; /** * This service allows a caller to store and retrieve parameters * in the form of a key/value pair. */ public interface ParameterService { /** * Stores a parameter. * @param key the name of the parameter. * @param value the value of the parameter. */ public void set(String key, String value); ...Read now
Unlock full access