Individual Software Development in Generative Programming

A. Speck, E. Pulvermüller
Wilhelm-Schickard-Institut für Informatik
Universität Tübingen
72076 Tübingen, Germany
{speck | pulvermu}@informatik.uni-tuebingen.de
  A. Rashid
Department of Computer Science
Lancaster University
Lancaster LA1 4YR, UK
marash@comp.lancs.ac.uk
  R. Chitchyan
Computing for Commerce and Industry
The Open University, UK
OCNW, Storey Institute, Meeting House Lane
Lancaster LA1 1TH, UK
r.chitchyan@lancaster.ac.uk

Introduction

The OO community has widely recognized that the object-oriented paradigm is not a universal solution in the field of software development. The reuse promise of object-oriented systems is hard to deliver in practice. Mechanisms such as inheritance and aggregation are limited to small pieces of software and do not scale up to large software products. The OO community has therefore taken the path of domain specific reuse. A promising approach in domain specific reuse is that of generative programming [CE99b]. Generative programming takes patterns from industrial manufacturing processes [CE99a]. A software development process is regarded as a special kind of industrial production where software is produced by automatically combining components via generators [BG97].

In this abstract we take a closer look at the term product line (which is crucial in generative programming), deduce that individual systems are also covered by this term and discuss how individual software production may be supported by generative programming (an area largely unexplored at present).

Product Lines

In [Bat98, Bat99] a product line architecture is defined as ``a design for families of related applications''. Other definitions can be found in marketing literature. According to [Kot97] a product line is a ``group of products that are closely related because they perform a similar function, are sold to the same customer groups, are marketed through the same channels, or fall within given price ranges''. Furthermore, according to [Kot97] a product line is a set of products and items that a particular seller offers for sale to buyers. From the above definitions two observations can be made:

  1. There is a slight difference between the two definitions of the term product line. The definition in [Bat98, Bat99] takes an architecture (the technical structure) to be the main determinant for considering a particular product as belonging to a particular product line. This definition is narrower than a marketing definition where a product line is explained as a group of closely related products that are considered a unit not only because of technical but also because of marketing, price or end user considerations.
  2. From the given definitions it may be deduced that a product line is limited to a particular vendor (but not vice versa). The advantage of an individual vendor is that s/he can unilaterally determine which components are used to compose a particular product. Thus, the vendor is able to control the combination of these components. At the moment, generative programming supports this type of vendor, i.e. a production process which is mainly concentrated on one company.
From the definition in [Kot97], a product line may contain individually produced goods, as well. Therefore, in this sense, an individual software system may be part of a product line even if not sharing the same architecture provided it shares some other (end user, marketing, etc.) commonalities with rest of the products in the product line. In the next section we describe how individual products belonging to a product line can benefit from generative programming techniques.

Individual Software Development

The product line software generation according to [Bat98, CE99b] is clearly very useful for the development of families of systems (e.g. SAP system family or today's office systems). However it does not provide a universal solution. Systems developed according to the individual requirements of a customer e.g. industrial control software or banking software are not in the focus of this approach. Since most of these systems can be built using more or less the same set of components and is tailored to the needs of a customer their development can be supported by generative programming.

One approach for the development of these customer-specific systems is to build individual generation rules for each piece of software. However, this does not considerably reduce the cost of development. The complexity of the system's architecture shifts into the grammar describing the generation rules.

We observe that besides the so-called product line and totally individual productions there can be a third approach to software production: the development of individual software composed of standard components. In this case although each software product is unique, the development process is not necessarily unique. Consequently generative programming can be of great use to achieve better results in this kind of software production.

In the automation industry a model for this kind of software development processes may be found. A typical problem in automation industry is the production of highly individual production units (usually production cells) from different devices (cf.  figure 1). Fortunately, most of these devices follow international standards which makes it easy to combine them. The important goals of this development are:

The production process of such individual systems has similarities to the one proposed in [Bat98, CE99b]. Therefore, such systems can benefit from generative programming. We, however, propose the use of standard components with a large number of well-defined interfaces.

On the basis of these standard components highly individual systems may be generated which can be modified and extended very easily. Moreover, a customer is able to combine these products even though they are not made with an intention to be combined and/or are from different vendors.

    image1

Figure 1: Building individual production units out of different devices which follow an agreed standard interface.

Summary and Outlook

In this abstract we have:

  1. investigated the term product line and found that there is a difference in the use of the term in the disciplines of marketing and generative programming. From the definition in marketing it is clear that individual software products not sharing the same architecture but other commonalities can form part of a product line. As a result product line architecture of [Bat98, Bat99] can be encapsulated within the product line definition of [Kot97] allowing individual software production to benefit from generative programming.
  2. stated that besides individual software and product line software development (which is supported by generative programming techniques) there is an additional approach to develop software: development of individual software composed of standard components (which may come from different component vendors). This is an area where generative programming techniques can be employed.

Our future work aims at investigating individual software production by combining highly independent, reusable (standard) components from different vendors.


References

Bat98
D. Batory. In Invited Presentation. Smalltalk and Java in Industry and Practical Training STJA98, October 1998.

Bat99
D. Batory. Home page of the Software Systems Generator Research Group. http://www.cs.utexas.edu/users/schwartz/ , 1999.

BG97
D. Batory and B.J. Geraci. Composition Validation and Subjectivity in GenVoca Generators. In IEEE Transactions on Software Engineering, pages 67 - 82, 1997.

CE99a
K. Czarnecki and U. W. Eisenecker. Vom Fliessband. iX, (7):142 - 147, July 1999.

CE99b
K. Czarnecki and U.W. Eisenecker. Synthesizing Objects. In Proceedings of ECOOP'99, European Conference on Object-Oriented Programming, Lecture Notes in Computer Science LNCS 1628, pages 18 - 42. Springer-Verlag, June 1999.

Kot97
P. Kotler. Marketing Management. Prentice Hall, New Jersey, ninth edition, 1997.

Luc99
H. Luczak. Produktionsplanung und -steuerung, Grundlagen, Gestaltung und Konzepte. VDI. Springer, Heidelberg, second edition, 1998 / 1999.



Back to the GCSE Young Researchers Workshop Abstracts Overview.


Andreas Speck
Awais Rashid
Elke Pulvermüller
Ruzanna Chitchyan
Last modified: Wed Sep 15 17:59:11 MEST 1999