Sun Logo


Sun Java System RFID Software 3.0 Developer's Guide

819-4686-10



Contents

Before You Begin

Before You Read This Book

Documentation Formatting Conventions

General Conventions

Typographic Conventions

Related Documentation

Sun Welcomes Your Comments

1. Introduction to Sun Java System RFID Software Programming Platform

RFID Software Architecture Overview

Structure of a Configuration Object

RFID Event Processing Basics

Identifier Objects

Event Objects

Processing RFID Event Manager Information

Managing RFID Event Manager Devices

2. Creating Custom Filters and Connectors

Setting Up Your NetBeans Environment

procedure iconsmall spaceTo Download and Install NetBeans

procedure iconsmall spaceTo Download and Install the RFID Software Toolkit

procedure iconsmall spaceTo Set Up the Example Filter Project

procedure iconsmall spaceTo Create the RFID Library for the Custom Component Examples

procedure iconsmall spaceTo Build and Test the Sample Filter Project

Creating a Custom Filter

Understanding the Sample EPCTypeFilter

procedure iconsmall spaceTo Customize the Sample Filter

procedure iconsmall space To Compile the Customized Filter

Using the Filter Template JUnit Test

procedure iconsmall spaceTo Modify and Run the JUnit Test

Integrating Custom Components With the RFID Event Manager

procedure iconsmall spaceTo Add the EPCTypeFilter Custom Filter to the Demo Configuration Object

Creating a Custom Connector

procedure iconsmall spaceTo Create a Sample Connector Project

3. Using RFID Device Client APIs

Implementation of the ReaderClient API

Reader Client Constructor Parameters

EMSEventListener

ReaderClient API Reference

Building a Sample Reader Client Program

procedure iconsmall spaceTo Set Up the Sample Reader Client Environment

procedure iconsmall spaceTo Run the Sample Reader Client Program

Explaining the Sample Reader Client

Implementation of the PrinterClient API

PrinterClient API Reference

Building a Sample Printer Client

procedure iconsmall spaceTo Set Up the Sample Printer Client Environment

procedure iconsmall spaceTo Run the Sample Printer Client Program

Explaining the Sample Printer Client

4. Using Web Services for Device Access

Overview of Web Services for Device Access

Web Services Interface Reference

Web Services for Reader Access Java Interface

Web Services for Printer Access Java Interface

Creating and Running the Web Services for a Device Access Client

Prerequisites for Running the Web Services Client Examples

procedure iconsmall space(Optional) To Access the NetBeans IDE 4.1 Quick Start Guide for Web Services

procedure iconsmall spaceTo Configure the Environment for the Web Services Client Examples

Writing the Static Web Services Client

procedure iconsmall spaceTo Run the Static Web Services Client Example

Writing the Dynamic Web Services Client Example

procedure iconsmall spaceTo Run the Dynamic Web Services Client

5. ALE Web Services

Broad Architecture

ALE Service Architecture

Other Considerations

Using ALE Web Services Client (ALEClient) API

Client Checklist

procedure iconsmall spaceTo Set Up the ALE Client Environment

procedure iconsmall spaceTo Run the ALE Web Services Client

Troubleshooting for ALE Client

6. Using RFID Information Server Client API

Architecture

Database Tables

Connecting to RFID Information Server

Exchanging Data With RFID Information Server

Modifying RFID Information Server Tables

Using Table Request Objects

Using the Update/Delete/Query Request Object

Querying RFID Information Server Database Tables

Processing RFID Information Server Responses

Handling Exceptions

How to Catch an EPCISException Error

How to Throw an EPCISException Error

7. PML Utilities

Introduction

Capturing Tag Observations Using PML Core

PML Utilities Packages

PML Core Package

PML Parser Package

Class Path Requirements

UML Class Diagram For PML Package