Java Metadata Interface

Given that metadata is a set of descriptive, structural and administrative data about a group of computer data (for example such as a database schema), Java Metadata Interface (or JMI) is a platform-neutral specification that defines the creation, storage, access, lookup and exchange of metadata in the Java programming language.

History

The JMI specification was developed under the Java Community Process and is defined by JSR 40 (a JSR is the formal document that describe proposed specifications and technologies for adding to the Java platform).

JMI is based on the Meta-Object Facility (or MOF) specification from the Object Management Group (or OMG). The MOF is a metamodel (a model of any kind of metadata) used notably to define the Unified Modeling Language (or UML).

It supports the exchange of metadata through XMI. XMI is a standard for exchanging metadata information via Extensible Markup Language (or XML). The MOF/XMI specifications are used for the exchange of UML models.

Usage

Essentially, JMI can be used to write tools in Java for manipulating UML models, which can be used in Model Driven Architecture and/or Model Driven Development. There are many implementations of JMI, including the Reference Implementation from Unisys, SAP NetWeaver and Sun Microsystems's open-source implementation from the NetBeans group. JMI is compatible with Java SE 1.3 and above through:

  • Standardized mappings from the MOF modeling constructs to Java;
  • Reflective APIs for generic discovery and navigation of metadata models and instances.
gollark: Well, it's dynamically typed, it has nice things like full text search (which is also apiaristic in a few ways...), it has "recursive common table expressions", I can't immediately think of anything else.
gollark: Unlike most, its databases are one file and it's a small C library you can embed in programs.
gollark: SQLite is an *implementation* of much of this standard, plus weird extra features.
gollark: SQL is merely a standard language for accessing databases.
gollark: I wrote a bad RSS reader for it at one point.

See also


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.