Quick Start |
|---|
| Getting Started |
| Core FAQ |
| Comparison FAQ |
| Licensing FAQ |
Frequently Asked Questions
- What is Metawidget?
- Who makes Metawidget?
- What are the goals of Metawidget?
- What are Metawidget's system requirements?
- Why is it called Metawidget?
- Why is (some feature) of Metawidget implemented the way it is?
- Who uses Metawidget?
- Is Metawidget (yet) another Web application framework?
- How does Metawidget compare to Swing/Java Server Faces/Hibernate/(some other framework)?
- Who are Metawidget's competitors?
- Is an OIM like an ORM?
- Why does Metawidget support so many different technologies?
- Is Metawidget mature?
What is Metawidget?
Metawidget is an object/user interface mapping tool. The term object/user interface mapping (OIM) refers to the technique of inspecting objects, at runtime, and creating User Interface (UI) widgets.
As much as possible, Metawidget does this without introducing new technologies. Metawidget inspects an application's existing back-end architecture and creates widgets native to its existing front-end framework.
Who makes Metawidget?
Metawidget is an Open Source project licensed under the LGPL. It is developed by the community. It was started by Richard Kennard of Kennard Consulting.
What are the goals of Metawidget?
Metawidget continues the trend in recent years toward more POJO-centric development. This trend allows developers to rely on 'sensible defaults', writing as little 'boilerplate code' as possible. The Goals Of Metawidget are:
- to create UI widgets by inspecting existing back-end architectures
- not to try to 'own' the entire UI, but to focus on creating native sub-widgets for slotting into existing UIs
- to perform inspection at runtime, detecting types and subtypes dynamically
Note it is not a goal of Metawidget that the widgets look the same on every UI framework: every UI has different features, and Metawidget takes advantage of this.
What are Metawidget's system requirements?
Metawidget requires at least J2SE 1.4, and varies depending on which optional modules you use.
Its annotation support requires at least Java SE 5. Its javax.swing.GroupLayout support requires at least Java SE 6.
Why is it called Metawidget?
The name has two meanings:
- a 'widget' is the technical term for a Graphical User Interface component (such as a text box). A 'meta' widget is a widget composed of other widgets.
- Metawidget is a widget built by metadata gathered from the back-end
Why is (some feature) of Metawidget implemented the way it is?
See the developer blogs for insights into, and to provide feedback on, Metawidget's development.
Who uses Metawidget?
As of v0.75, the GWT Metawidget, Java Server Faces Metawidget, Spring Metawidget and Swing Metawidget are deployed in production systems.
Is Metawidget (yet) another Web application framework?
No. Metawidget uses existing Web application frameworks, it does not compete with them.
How does Metawidget compare to Swing/Hibernate/(some other framework)?
Metawidget uses other frameworks, it does not compete with them.
Who are Metawidget's competitors?
Please see the comparison FAQ.
Is an OIM like an ORM?
Object Relational Mapping (ORM) technologies, such as Hibernate, are concerned with the back-end: mapping an Object (the O in ORM) to a Relational Database (the R in ORM). Object Interface Mapping (OIM) technologies, such as Metawidget, are concerned with the front-end: mapping an Object (the O in OIM) to a User Interface framework (the I in OIM).
OIMs and ORMs are complementary and meet in the middle: they share the same O. By using an OIM in conjunction with an ORM, developers can significantly reduce the amount of code required for an application.
Why does Metawidget support so many different technologies?
Supporting so many different front-end and back-end technologies carries with it the risk of spreading Metawidget too thin. However, it's important because:
- The more technologies Metawidget supports, the more useful it is to more developers - increasing its potential user base.
- Metawidget is designed to be extensible, and the best way to validate extensibility is to extend it! Integrating lots of different technologies helps mature the architecture and make it as flexibile as possible.
- Metawidget is pluggable in many different dimensions, allowing a large amount of shared code between the supported technologies. Often, adding a new technology is less code than it may seem.
Is Metawidget mature?
As of v0.75, Metawidget has good test coverage, but is not mature. Please help us as we work towards a v1.0 release!
Template by Free CSS Templates
Additional artwork by Visual Pharm