ABSTRACT Aspects and Transformations to Support Evolution in(7)

发布时间:2021-06-07

A key benefit of system and software modeling is the ability to explore various design alternatives to reach a fixedpoint representation of a concrete system design. Among a diverse set of configuration possibilities, a model engineer must be able to explo

is available for download at http://www.dre.vanderbilt.edu/cosmic). The scalability issues in EQAL arise when a small federation of CORBA event services must be scaled from a base model to accommodate a larger number of publishers and subscribers. As can be seen in Figure 3, scaling an EQAL model from three sites (with two gateways per site) to a larger model containing 8 sites (with 7 gateways per site) requires the addition of many new modeling elements. Our experience has shown that model transformations serving as replicators can significantly automate this manual task.

Figure 3. Replication among a federation of CORBA gateways. At the outermost level, three federation sites are replicated to eight sites, with each internal site replicated from two to seven gateways.

The expandSite strategy in Listing 2 illustrates a transformation that replicates the internal CORBA gateways for a specific site. The site and number of desired gateways are passed as parameters in line 1 of the strategy, which then finds the specific site in line 3 and calls a recursive strategy. The addGateWay_r strategy ensures that the proper number of gateways is added. The addGateWay strategy performs the actual transformation on the model by creating a new gateway (line 19), locating the site’s core event channel (line 20) and connecting the new gateway to the existing channel (line 21).

The collection of interacting strategies in Listing 2 accomplishes the transformation that is shown in the upper-right of Figure 3 (i.e., the internal expansion of Site 2). These strategies are also reusable and can be utilized by a model engineer to flexibly explore a design by applying the transformation to several different sites. Although not shown here, a different set of transformations have been specified to scale the outermost number of sites (i.e., moving from three sites to eight sites, as shown in the bottom-right of Figure 3). The parameterization of expandSite is a key to defining the alternative designs. These strategies are not an “aspect” in the sense of Listing 1, but represent a different type of model evolution that can also be specified in a transformation language like ECL.

ABSTRACT Aspects and Transformations to Support Evolution in(7).doc 将本文的Word文档下载到电脑

精彩图片

热门精选

大家正在看

× 游客快捷下载通道(下载后可以自由复制和排版)

限时特价:7 元/份 原价:20元

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219