Driver Development

     Previous  Next    Open TOC in new window  Open Index in new window  View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Sample Driver

This section describes how to compile and deploy the sample driver provided when you install the WebLogic RFID Edge Server software. The sample includes java files that demonstrate how to write custom reader drivers. The sample provided is for the ThingMagic Mercury 4.

 


Deploying the Sample Driver

The custom module and any other classes that it uses must be compiled into a jar file. You can deploy the module in to the Edge Server by adding this jar file to the custom modules directory in the Edge Server installation and restarting the server.

To build and deploy the sample reader, use the following steps:

  1. Run the build script (C:\bea\rfid_edge30\samples\Drivers\build.bat). This compiles the java files and creates the custom-drivers.jar file.
  2. Copy the JAR file to the RFID_EDGE_HOME/plugin/driver directory.
  3. Restart the Edge Server
  4. The Edge Server loads the driver and makes the device available on the Administration Server device list. The Reader Type

    You may create subdirectories in the driver directories. When the Edge Server starts, it searches recursively through the directories and loads the JAR files that it finds.

 



  Back to Top       Previous  Next