NcML AIS: Build a BES Handler

From OPeNDAP Documentation
Revision as of 20:48, 17 April 2009 by Jimg (talk | contribs)
⧼opendap2-jumptonavigation⧽

Back: AIS Using NcML

A UML Class diagram for a Simple BES Handler

There are several ways to build a shell BES handler and then add specific functionality to it. One way is to use the besCreadeModule script that is included in the BES source code. A second way is to copy and modify the csv handler software that's also included in the BES source code. In each case it's important to know that the BES is an object-oriented framework and as such, you will be specializing classes that the framework defines and then adding new classes and/or functions that are specific to your handler. With that in mind a static class diagram can help show how the BES's classes are related to each other and to the software you must write. Shown to the left is a UML class diagram that includes the most important of the BES classes when writing a new data handler.

A high resolution version of the class diagram to the right.

Also, be sure to look over hte BES documentation files included on this design's main page and on in the Hyrax documentation. Especially useful is the BES Handler tutorial that covers building the Hello, World and CSV handlers. It's so useful I'll repeat it here: Extending the OLFS: Writing Custom Dispatch Handlers.

Explanation of the Classes in the Diagram