Java Card
v2.2.2

Package javacard.framework.service

Provides a service framework of classes and interfaces that allow a Java Card technology-based applet to be designed as an aggregation of service components.

See:
          Description

Interface Summary
RemoteService This interface defines the generic API for remote object access services, which allow remote processes to access the services present on a Java Card technology-enabled smart card.
SecurityService This interface describes the functions of a generic security service.
Service This is the base interface for the service framework on the Java Card platform.
 

Class Summary
BasicService This class should be used as the base class for implementing services.
CardRemoteObject A convenient base class for remote objects for the Java Card platform.
Dispatcher A Dispatcher is used to build an application by aggregating several services.
RMIService An implementation of a service that is used to process Java Card platform RMI requests for remotely accessible objects.
 

Exception Summary
ServiceException ServiceException represents a service framework-related exception.
 

Package javacard.framework.service Description

Provides a service framework of classes and interfaces that allow a Java Card technology-based applet to be designed as an aggregation of service components. The package contains an aggregator class called Dispatcher which includes methods to add services to its registry, dispatch APDU commands to registered services, and remove services from its registry.

The package also contains the Service interface which contains methods to process APDU commands, and allow the dispatcher to be aware of multiple services. Subinterfaces allow an implementation services with added functionality:

The class BasicService provides the basic functionality of a service, and all services are built as subclasses of this class. BasicService provides a default implementation for the methods defined in the Service interface, and defines a set of helper methods that allow the APDU buffer to enable cooperation among different services.

RMI Classes for the Java Card Platform

The CardRemoteObject and RMIService classes allow a Java programming language program running on a virtual machine on the client platform to invoke methods on remote objects in a Java Card technology-based applet. These classes contain the minimum required functionality to implement Remote Method Invocation for the Java Card platform (RMI for the Java Card  platform).

 


Java Card
v2.2.2

Copyright © 1993-2005 Sun Microsystems, Inc. 4150 Network Circle,
Santa Clara, CA, 95054, U.S.A. All Rights Reserved.