Appboard/old/custom data adapter

Revision as of 22:23, 12 April 2011 by imported>Jay.barr (Created page with '== Environment == # Java SDK (ver 1.6 or greater) - Recommend adding the SDK's bin directory to your PATH. # Eclipse (ver 3.6+ recommended) - Project works best with M2Eclipse p…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Environment

  1. Java SDK (ver 1.6 or greater) - Recommend adding the SDK's bin directory to your PATH.
  2. Eclipse (ver 3.6+ recommended) - Project works best with M2Eclipse plugin for Maven building, but it is not required.
  3. AppBoard release with license (ver 2.0.5 for this walkthrough)

Exercise Objective

This exercise walks though the creation of a Data Adapter for AppBoard and its installation and testing.

Verify Environment

Extract the contents of the AppBoard release into desired directory, referenced as <AB-Home> from here on. Run <AB-Home>/server/bin/startup.bat to start Tomcat, and then browse to http://localhost:8080/. You should see the following:

Da-login.png

Login with the default administrator credentials:

  1. User: administrator
  2. Password: administrator
  3. Domain: System

Once you have logged in, click on the AppBoard tab and you will be taken to the Visual Builder's main screen:

Da-initial-ab.png

Configuring Java Project

Data Adapters are implemented in Java and require the edge-apb-<version>.jar to be compiled, as well as any other JARs containing additional classes used in the adapter (e.g. log4j for logging). The AppBoard Java SDK includes a pre-configured Eclipse project that builds using the default Eclipse Java compiler and can have Maven support from the M2Eclipse plugin enabled via the project's content menu (Maven > Enable Dependency Management).

Extending Base CachingRecordAdapter Class