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

edit

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

edit

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.

See also

edit
edit


📚 Artikel Terkait di Wikipedia

Java annotation

In the Java computer programming language, an annotation is a form of syntactic metadata that can be added to Java source code, like an attribute. Classes

Marker interface pattern

metadata with a class where the language does not have explicit support for such metadata. To use this pattern, a class implements a marker interface

API

bugs. API documentation can be enriched with metadata information like Java annotations. This metadata can be used by the compiler, tools, and by the

Java (software platform)

and associated metadata prior to Java 8. Permanent generation was not part of the heap. The permanent generation was removed from Java 8. Originally there

Java version history

compatibility with CORBA. Java Naming and Directory Interface (JNDI) included in core libraries (previously available as an extension) Java Platform Debugger

Java Database Connectivity

Java Database Connectivity (JDBC) is an application programming interface (API) for the Java programming language which defines how a client may access

Jakarta XML Web Services

Services Metadata (JWS; formerly Web Services Metadata for Java platform and Java Web Services), as a part of Jakarta XML Web Services (JAX-WS), is a Java programming

Content repository API for Java

Content Repository API for Java (JCR) is a specification for a Java platform application programming interface (API) to access content repositories in