![]() ![]() ![]() ![]() ![]() ![]() ![]() |
The following sections describe the scope and organization of this document, Programming with the ALE and ALEPC APIs:
This programming guide describes how to use the BEA implementation of the ALE API specification to develop applications that create EPC tag-reading requests in the form of Event Cycle Specifications (ECSpecs). The guide also describes how to use the BEA ALEPC API to develop applications that create EPC tag-writing requests in the form of Programming Cycle Specifications (PCSpecs).
The ALE API is defined by The Application Level Events (ALE) Specification Version 1.0 and by the extensions to that specification provided by BEA. ECSpecs are defined by the EPCglobal ALE specification. The ALEPC API is a BEA-defined interface for writing tag data.
The guide documents the API defined by the specification and the value-added extensions provided by BEA. A prerequisite for using this programming guide is a thorough understanding of the ALE specification, which in addition to defining the API provides necessary background information.
Although the intended audience for this guide is primarily application programmers, administrators might find the general descriptions of the ALE interface useful.
This document is a part of the WebLogic RFID Edge Server documentation set. The other documents are:
WebLogic RFID Edge Server is compliant with all relevant EPCglobal standards:
If you install the RFID Sample Code component, the following programming samples are installed by default in the RFID_EDGE_HOME/samples
directory, where RFID_EDGE_HOME
represents the product installation directory. You can modify these sample applications and use them as a starting point for developing your own applications.
Sample Java Applications provides procedures for setting up your development environment, as well as instructions for compiling, running, and working with some of the sample applications.
ImmediateProgramSample
An example of how to use the ALEPC API to program an Electronic Product Code (EPC) value into a tag using a specified logical reader. The programming cycle specification is read from an XML file, and the programming cycle reports are printed as XML.
ImmediateSample
An example of how to use the ALE API to retrieve a list of Electronic Product Code (EPC) tags from a specified logical reader. The event cycle specification is read from an XML file, and the event cycle reports are printed as XML.
JMSSamples
Vendor-specific JMS examples for:
NonXMLSample
An example of how to use the ALE API to retrieve a list of EPC tags from a specified tag reader. The immediate()
method of the ALE client interface is used to perform the tag read operation.
PollingSample
An example of how to define an event cycle specification (ECSpec) and use it to poll() the Edge Server for tag updates.
ProgrammingSample
An example of how to define a programming cycle specification (PCSpec) by reading it from an XML-formatted file, how to administer an EPC cache in the Edge Server, and how to invoke tag programming operations.
SubscribeSample
An example of how to define an event cycle specification (ECSpec) by reading it from an XML-formatted file, and how to set up a handler that subscribes to event cycle completion notifications.
Workflow
XML samples for use with the examples provided in the Configuring and Using Workflows section of the RFID Workflow Reference manual.
![]() ![]() ![]() |