Working with Java Interfaces and Classes 1/2

Home - About » Computer Science - Industry Work - Publications
Computer Science
Research, Industry Work,
Programming
Community Service
Hillside Group, CHOOSE,
Stanford GSA
The Serious Side
Business School,
Learning Chinese
Humorous Takes
Switzerland, United States,
Software, Fun Photos
Travel Stories
Europe, United States, Asia
  
Living Places
Berlin (+ Gallery), Zürich
Boston, S.F. + Bay Area

Software engineering has been using interfaces for over 25 years. Java, in contrast to other object-oriented programming languages like C++ and Smalltalk, provides a clean separation between interfaces and classes that implement the interfaces. For new Java developers, this requires some adjustment in thinking. This article shows not only how to distinguish between interfaces and classes, but also how to use them effectively to model and implement Java-based systems. We illustrate the concepts using the implemen-tation of a simple CORBA-based naming service.


Dirk Riehle and Erica Dubach. "Working with Java Interfaces and Classes: How to Separate Interfaces from Implementations." Java Report 4, 7 (July 1999). Page 35pp.

The paper is available as a PDF file.

Copyright (©) 1999 Dirk Riehle, Erica Dubach, and SIGS Publications. All Rights Reserved.

Copyright (©) 2007 Dirk Riehle. Some rights reserved. (Creative Commons License BY-NC-SA.) Original Web Location: http://www.riehle.org