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: Interestingly, you can run your own applications on it with some work (I made a RSS reader) and its browser appears to be kind of broken in a variety of ways and not enforce CORS.
gollark: My Kindle (the e-ink kind, not the android tablets) actually runs Linux using X, the "awesome" window manager, and some sort of vaguely horrible GUI which seems to be made with HTML/CSS/JS.
gollark: There's probably some window manager thing for single-purpose systems.
gollark: That is a bizarrely long function, though.
gollark: You should make sure it doesn't rebel against humanity or something.

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.