MDA:模型驱动架构 [英] MDA : Model Driven Architecture

查看:544
本文介绍了MDA:模型驱动架构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

需要一个开发非常简单的应用程序来展示MDA概念的想法。

Need a idea for developing very simple application demonstrating concepts of MDA.

推荐答案

好的,很难找到类似的东西MDA致力于解决更大问题的MDA世界中的一个问候世界。我认为开始的最好方法是通过思考meta- 模型来解决下面的问题

Alright, it is hard to find something analogous to a hello world in MDA world as MDA is geared on solving a bigger problem. The best way in my opinion to get started is to approach the below problem by "thinking in meta-model"

在任何实际的应用程序中,您需要保留任何业务实体所需的某些工件。挑选2个像Customer和Orders这样的简单实体,并在任何多层应用程序的所有层(如ui,持久性等)中生成所有相应的工件。以下是开始使用的工件

In any real world application, there are certain artifacts that you require for any business entity to be persisted. Pick 2 such simple entities like Customer and Orders and generate all the corresponding artifacts across all the layers of any multi-tiered application (like ui, persistence etc). Below are the artifacts to get you started


  1. UI(jsf表单,托管bean,
    faces-congig.xml) user to
    输入两个实体的数据

  2. Servie后来的工件,如
    交易分界码等

  3. 持久层工件如
    (DAO / Repository,JPA / Hibernate
    映射文件)

现在,您还将确定还有更多的东西需要建模,比如faces-config,jpa / hibernate config等。

Now in the process you will also identify that there are more things to model like faces-config, jpa/hibernate config etc..

EMF 是用于元模型的更普遍的工具包,并且 oAW 是您的生成/转换引擎。 本教程可以帮助您入门。

EMF is the more prevalent toolkit for meta-modling and oAW is your generation/transformation engine. This tutorial can get you started.

Spring Roo OpenXava 在我看来是两个众所周知的支持MDA的框架

Spring Roo and OpenXava are in my opinion two well know frameworks that supports MDA

准备好在元模型,元元模型,模型实例等的MDA术语中松开自己......

这篇关于MDA:模型驱动架构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆