Sample ECSpec Schema Implementation
The following listing illustrates a sample of a static ECSpec that could be sent to the ALE Web service in a "define" interaction.
<ECSpec
includeSpecInReports="true"
creationDate="2005-02-07T13:42:40.790-05:00"
schemaVersion="1.0"
xmlns="urn:epcglobal:ale:xsd:1">
<logicalReaders xmlns="">
<logicalReader>PMLReader</logicalReader>
</logicalReaders>
<boundarySpec xmlns="">
<repeatPeriod>2000</repeatPeriod>
<duration>1000</duration>
</boundarySpec>
<reportSpecs xmlns="">
<reportSpec
reportIfEmpty="true"
reportName="ReporT"
reportOnlyOnChange="false">
<reportSet set="CURRENT"/>
<output
includeCount="true"
includeEPC="true"
includeRawDecimal="false"
includeRawHex="false"
includeTag="true"/>
</reportSpec>
</reportSpecs>
</ECSpec>
As you can see, much of the developer work involves configuration and (rightfully) determining actions to take when RFID events occur. Otherwise, Sun Java System RFID Software provides an RFID infrastructure framework for integrating data and RFID-enabled devices. The framework acts as middleware to bridge the gap between RFID devices and enterprise application systems. You can capitalize on the Sun Java System RFID Software system to build applications that can, among other things, facilitate asset tracking, enforce policy compliance, detect tampering, and prevent crime.